doc: update FreeBSD python version

Message ID 20251103193038.135022-1-stephen@networkplumber.org (mailing list archive)
State New
Delegated to: Thomas Monjalon
Headers
Series doc: update FreeBSD python version |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/loongarch-compilation success Compilation OK
ci/loongarch-unit-testing success Unit Testing PASS
ci/Intel-compilation success Compilation OK
ci/intel-Testing success Testing PASS
ci/github-robot: build success github build: passed
ci/github-robot-post success github post: success
ci/intel-Functional success Functional PASS
ci/aws-unit-testing success Unit Testing PASS

Commit Message

Stephen Hemminger Nov. 3, 2025, 7:30 p.m. UTC
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(-)
  

Comments

Bruce Richardson Nov. 3, 2025, 7:57 p.m. UTC | #1
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.
  
Thomas Monjalon Nov. 5, 2025, 3:13 p.m. UTC | #2
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.
  
Bruce Richardson Nov. 5, 2025, 4:42 p.m. UTC | #3
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
  
Stephen Hemminger Nov. 5, 2025, 4:46 p.m. UTC | #4
I just wanted to be able to cut and paste from documentation to setup test
build VM.

On Wed, Nov 5, 2025, 08:42 Bruce Richardson <bruce.richardson@intel.com>
wrote:

> 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
>
  

Patch

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
 
 To compile the required kernel modules for memory management and working
 with physical NIC devices, the kernel sources for FreeBSD also