I just wanted to be able to cut and paste from documentation to setup test build VM.
On Wed, Nov 05, 2025 at 04:13:39PM +0100, Thomas Monjalon wrote:
> 03/11/2025 20:57, Bruce Richardson:
> > On Mon, Nov 03, 2025 at 11:30:38AM -0800, Stephen Hemminger wrote:
> > > The version python used in current FreeBSD stable release 14.3
> > > is now 3.11. Update documentation accordingly.
> > >
> > > Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> > > ---
> > > doc/guides/freebsd_gsg/build_dpdk.rst | 6 +++---
> > > 1 file changed, 3 insertions(+), 3 deletions(-)
> > >
> > > diff --git a/doc/guides/freebsd_gsg/build_dpdk.rst b/doc/guides/freebsd_gsg/build_dpdk.rst
> > > index f98292bf41..c8b2964a4b 100644
> > > --- a/doc/guides/freebsd_gsg/build_dpdk.rst
> > > +++ b/doc/guides/freebsd_gsg/build_dpdk.rst
> > > @@ -16,16 +16,16 @@ The following FreeBSD packages are required to build DPDK:
> > > * meson
> > > * ninja
> > > * pkgconf
> > > -* py38-pyelftools
> > > +* py311-pyelftools
> > >
> > > .. note:
> > >
> > > The specific package for pyelftools is dependent on the version of python in use,
> > > - Python 3.8 being the version at type of writing, hence the ``py38`` prefix.
> > > + Python 3.11 being the version at type of writing, hence the ``py311`` prefix.
> > >
> > > These can be installed using (as root)::
> > >
> > > - pkg install meson pkgconf py38-pyelftools
> > > + pkg install meson pkgconf py311-pyelftools
> > >
> > Acked-by: Bruce Richardson <bruce.richardson@intel.com>
> >
> > I always find the python version included in the packages annoying, but I
> > don't think there is anything we can do about this. Thanks for the update.
>
> Do we really want to update the doc after each upgrade?
> This version is not the truth, it depends on which FreeBSD version is installed.
>
Python comes from the ports collection, not the base system, so it's
independent of the BSD version. Therefore the commands here should work on
all supported BSD versions.
/Bruce