Skip to contentSkip to conversation

doc: update FreeBSD python version

PATCH Applied Stephen Hemminger 3 participants 6 messages Nov 3, 2025 – Nov 25, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: update FreeBSD python version

The version python used in current FreeBSD stable release 14.3 is now 3.11. Update documentation accordingly.

---
 doc/guides/freebsd_gsg/build_dpdk.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
doc/guides/freebsd_gsg/build_dpdk.rst +3 -3
index f98292bf41..c8b2964a4b 100644
@@ -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
Signature · 1 line
2.51.0
Acked-by on v1 1/1
#1 lore raw
Quoted 20 lines · Stephen Hemminger

The version python used in current FreeBSD stable release 14.3 is now 3.11. Update documentation accordingly.

---
 doc/guides/freebsd_gsg/build_dpdk.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
doc/guides/freebsd_gsg/build_dpdk.rst +1 -1
index f98292bf41..c8b2964a4b 100644
@@ -16,16 +16,16 @@ The following FreeBSD packages are required to build DPDK:
 * meson
 * ninja
 * pkgconf
-* py38-pyelftools
+* py311-pyelftools
 
 .. note:

doc/guides/freebsd_gsg/build_dpdk.rst The following FreeBSD packages are required to build DPDK: · line 29

Quoted 10 lines
doc/guides/freebsd_gsg/build_dpdk.rst +2 -2
 
   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
 

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.

#2 lore raw

03/11/2025 20:57, Bruce Richardson:

Quoted 28 lines · Stephen Hemminger
Quoted 27 lines

The version python used in current FreeBSD stable release 14.3 is now 3.11. Update documentation accordingly.

---
 doc/guides/freebsd_gsg/build_dpdk.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
doc/guides/freebsd_gsg/build_dpdk.rst +2 -2
index f98292bf41..c8b2964a4b 100644
@@ -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)::
 
Quoted 7 lines

doc/guides/freebsd_gsg/build_dpdk.rst The following FreeBSD packages are required to build DPDK: · line 29

Quoted 3 lines
doc/guides/freebsd_gsg/build_dpdk.rst +1 -1
-  pkg install meson pkgconf py38-pyelftools
+  pkg install meson pkgconf py311-pyelftools
 

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.

#3 lore raw
Quoted 34 lines · Thomas Monjalon

03/11/2025 20:57, Bruce Richardson:

Quoted 33 lines · Stephen Hemminger
Quoted 20 lines

The version python used in current FreeBSD stable release 14.3 is now 3.11. Update documentation accordingly.

---
 doc/guides/freebsd_gsg/build_dpdk.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
doc/guides/freebsd_gsg/build_dpdk.rst +1 -1
index f98292bf41..c8b2964a4b 100644
@@ -16,16 +16,16 @@ The following FreeBSD packages are required to build DPDK:
 * meson
 * ninja
 * pkgconf
-* py38-pyelftools
+* py311-pyelftools
 
 .. note:

doc/guides/freebsd_gsg/build_dpdk.rst The following FreeBSD packages are required to build DPDK: · line 29

Quoted 10 lines
doc/guides/freebsd_gsg/build_dpdk.rst +2 -2
 
   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
 
Quoted 6 lines
Quoted 2 lines

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

#4 lore raw

I just wanted to be able to cut and paste from documentation to setup test build VM.

Quoted 55 lines · On Wed, Nov 5, 2025, 08:42 Bruce Richardson <[email protected]> wrote:
Quoted 11 lines · Thomas Monjalon

03/11/2025 20:57, Bruce Richardson:

Quoted 10 lines · Stephen Hemminger

Review

Quoted 9 lines

The version python used in current FreeBSD stable release 14.3 is now 3.11. Update documentation accordingly.

---
 doc/guides/freebsd_gsg/build_dpdk.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
(quoted diff) +0 -0

b/doc/guides/freebsd_gsg/build_dpdk.rst

Quoted 4 lines
Quoted 4 lines

doc/guides/freebsd_gsg/build_dpdk.rst The following FreeBSD packages are required to

Quoted 4 lines

index f98292bf41..c8b2964a4b 100644

doc/guides/freebsd_gsg/build_dpdk.rst +0 -0
@@ -16,16 +16,16 @@ The following FreeBSD packages are required to

build DPDK:

Quoted 9 lines
Quoted 9 lines

doc/guides/freebsd_gsg/build_dpdk.rst The following FreeBSD packages are required to build DPDK:

Quoted 9 lines
doc/guides/freebsd_gsg/build_dpdk.rst +1 -1
 * meson
 * ninja
 * pkgconf
-* py38-pyelftools
+* py311-pyelftools
 
 .. note:
 
   The specific package for pyelftools is dependent on the version

of python in use,

Quoted 1 line
Quoted 1 line

doc/guides/freebsd_gsg/build_dpdk.rst The following FreeBSD packages are required to · line 24

Quoted 1 line
doc/guides/freebsd_gsg/build_dpdk.rst +0 -1
-  Python 3.8 being the version at type of writing, hence the

``py38`` prefix.

Quoted 1 line
Quoted 1 line

doc/guides/freebsd_gsg/build_dpdk.rst The following FreeBSD packages are required to · line 24

Quoted 1 line
doc/guides/freebsd_gsg/build_dpdk.rst +1 -0
+  Python 3.11 being the version at type of writing, hence the

``py311`` prefix.

Quoted 9 lines
Quoted 9 lines

doc/guides/freebsd_gsg/build_dpdk.rst The following FreeBSD packages are required to build DPDK: · line 29

Quoted 6 lines
doc/guides/freebsd_gsg/build_dpdk.rst +1 -1
 These can be installed using (as root)::
 
-  pkg install meson pkgconf py38-pyelftools
+  pkg install meson pkgconf py311-pyelftools
 

I always find the python version included in the packages annoying,

but I

Quoted 1 line
Quoted 1 line

don't think there is anything we can do about this. Thanks for the

update.

Quoted 3 lines

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.

Quoted 1 line

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

#5 lore raw

05/11/2025 17:46, Stephen Hemminger:

Quoted 58 lines

I just wanted to be able to cut and paste from documentation to setup test build VM.

Quoted 52 lines · On Wed, Nov 5, 2025, 08:42 Bruce Richardson <[email protected]> wrote:
Quoted 11 lines · Thomas Monjalon

03/11/2025 20:57, Bruce Richardson:

Quoted 10 lines · Stephen Hemminger

Review

Quoted 9 lines

The version python used in current FreeBSD stable release 14.3 is now 3.11. Update documentation accordingly.

---
 doc/guides/freebsd_gsg/build_dpdk.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
(quoted diff) +0 -0

b/doc/guides/freebsd_gsg/build_dpdk.rst

Quoted 4 lines
Quoted 4 lines

doc/guides/freebsd_gsg/build_dpdk.rst The following FreeBSD packages are required to

Quoted 4 lines

index f98292bf41..c8b2964a4b 100644

doc/guides/freebsd_gsg/build_dpdk.rst +0 -0
@@ -16,16 +16,16 @@ The following FreeBSD packages are required to

build DPDK:

Quoted 9 lines
Quoted 9 lines

doc/guides/freebsd_gsg/build_dpdk.rst The following FreeBSD packages are required to build DPDK:

Quoted 9 lines
doc/guides/freebsd_gsg/build_dpdk.rst +1 -1
 * meson
 * ninja
 * pkgconf
-* py38-pyelftools
+* py311-pyelftools
 
 .. note:
 
   The specific package for pyelftools is dependent on the version

of python in use,

Quoted 1 line
Quoted 1 line

doc/guides/freebsd_gsg/build_dpdk.rst The following FreeBSD packages are required to · line 24

Quoted 1 line
doc/guides/freebsd_gsg/build_dpdk.rst +0 -1
-  Python 3.8 being the version at type of writing, hence the

``py38`` prefix.

Quoted 1 line
Quoted 1 line

doc/guides/freebsd_gsg/build_dpdk.rst The following FreeBSD packages are required to · line 24

Quoted 1 line
doc/guides/freebsd_gsg/build_dpdk.rst +1 -0
+  Python 3.11 being the version at type of writing, hence the

``py311`` prefix.

Quoted 9 lines
Quoted 9 lines

doc/guides/freebsd_gsg/build_dpdk.rst The following FreeBSD packages are required to build DPDK: · line 29

Quoted 6 lines
doc/guides/freebsd_gsg/build_dpdk.rst +1 -1
 These can be installed using (as root)::
 
-  pkg install meson pkgconf py38-pyelftools
+  pkg install meson pkgconf py311-pyelftools
 

I always find the python version included in the packages annoying,

but I

Quoted 1 line
Quoted 1 line

don't think there is anything we can do about this. Thanks for the

update.

Quoted 3 lines

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.

Quoted 1 line

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.

Applied, thanks.