package/libdnet: drop support for Python module
PATCH 1/1 package/libdnet: drop support for Python module
The libdnet Python module no longer builds with Python >= 3.13. The issue has been reported upstream on August 17, 2025, and there has been no feedback:
https://github.com/ofalk/libdnet/issues/114
Until this gets resolved, we have no choice but to drop support for the Python module of this package.
Fixes:
https://autobuild.buildroot.net/results/4df6bcaa66d79efac3619a47b08f3cb02c13e276/
--- Config.in.legacy | 7 +++++++ package/libdnet/Config.in | 24 ------------------------ package/libdnet/libdnet.mk | 11 ++--------- 3 files changed, 9 insertions(+), 33 deletions(-)
Config.in.legacy +7 -0
@@ -146,6 +146,13 @@ endif comment "Legacy options removed in 2026.02" +config BR2_PACKAGE_LIBDNET_PYTHON + bool "libdnet python module removed" + select BR2_LEGACY + help + The libdnet Python module is no longer compatible with + Python >= 3.13, so it had to be removed. + config BR2_PACKAGE_CVS bool "cvs has been removed" select BR2_LEGACY
package/libdnet/Config.in +0 -24
@@ -5,27 +5,3 @@ config BR2_PACKAGE_LIBDNET routines. http://libdnet.sourceforge.net/ - -if BR2_PACKAGE_LIBDNET - -config BR2_PACKAGE_LIBDNET_PYTHON - bool "libdnet python module" - depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS - depends on BR2_PACKAGE_PYTHON3 - depends on !BR2_STATIC_LIBS # libbsd - depends on BR2_TOOLCHAIN_HAS_THREADS # libbsd - depends on BR2_USE_WCHAR # libbsd - select BR2_PACKAGE_LIBBSD - help - dnet module for python - -comment "dnet module for python requires python3 package" - depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS - depends on !BR2_PACKAGE_PYTHON3 - -comment "dnet module for python needs a toolchain w/ dynamic library, threads, wchar" - depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS - depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || \ - !BR2_USE_WCHAR - -endif
package/libdnet/libdnet.mk +2 -9
@@ -12,18 +12,11 @@ LIBDNET_INSTALL_STAGING = YES LIBDNET_AUTORECONF = YES LIBDNET_CONF_OPTS = \ --with-gnu-ld \ - --with-check=no + --with-check=no \ + --without-python LIBDNET_CONFIG_SCRIPTS = dnet-config LIBDNET_DEPENDENCIES = host-pkgconf -ifeq ($(BR2_PACKAGE_LIBDNET_PYTHON),y) -LIBDNET_DEPENDENCIES += libbsd host-python-cython python3 -LIBDNET_CONF_OPTS += --with-python=$(HOST_DIR)/bin -LIBDNET_MAKE_ENV += $(PKG_PYTHON_SETUPTOOLS_ENV) -LIBDNET_INSTALL_TARGET_OPTS = $(LIBDNET_MAKE_OPTS) DESTDIR=$(TARGET_DIR) INSTALL_STRIP_FLAG=-s install-exec -LIBDNET_INSTALL_STAGING_OPTS = $(LIBDNET_MAKE_OPTS) DESTDIR=$(STAGING_DIR) install -endif - # Needed for autoreconf to work properly define LIBDNET_FIXUP_ACINCLUDE_M4 ln -sf config/acinclude.m4 $(@D)
Signature · 6 lines
2.52.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 9 lines · Thomas Petazzoni via buildroot
The libdnet Python module no longer builds with Python >= 3.13. The issue has been reported upstream on August 17, 2025, and there has been no feedback:
https://github.com/ofalk/libdnet/issues/114
Until this gets resolved, we have no choice but to drop support for the Python module of this package.
Quoted 6 lines
Fixes:
https://autobuild.buildroot.net/results/4df6bcaa66d79efac3619a47b08f3cb02c13e276/
Signed-off-by Thomas Petazzoni <[email protected]>
Applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
In reply of:
Quoted 6 lines
The libdnet Python module no longer builds with Python >= 3.13. The issue has been reported upstream on August 17, 2025, and there has been no feedback:
Quoted 8 lines
Until this gets resolved, we have no choice but to drop support for the Python module of this package.
Fixes:
https://autobuild.buildroot.net/results/4df6bcaa66d79efac3619a47b08f3cb02c13e276/
Signed-off-by Thomas Petazzoni <[email protected]>
Applied to 2025.11.x. Thanks
Quoted 88 lines
--- Config.in.legacy | 7 +++++++ package/libdnet/Config.in | 24 ------------------------ package/libdnet/libdnet.mk | 11 ++--------- 3 files changed, 9 insertions(+), 33 deletions(-)Config.in.legacy +7
-0@@ -146,6 +146,13 @@ endif comment "Legacy options removed in 2026.02" +config BR2_PACKAGE_LIBDNET_PYTHON + bool "libdnet python module removed" + select BR2_LEGACY + help + The libdnet Python module is no longer compatible with + Python >= 3.13, so it had to be removed. + config BR2_PACKAGE_CVS bool "cvs has been removed" select BR2_LEGACYpackage/libdnet/Config.in +0
-24@@ -5,27 +5,3 @@ config BR2_PACKAGE_LIBDNET routines. http://libdnet.sourceforge.net/ - -if BR2_PACKAGE_LIBDNET - -config BR2_PACKAGE_LIBDNET_PYTHON - bool "libdnet python module" - depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS - depends on BR2_PACKAGE_PYTHON3 - depends on !BR2_STATIC_LIBS # libbsd - depends on BR2_TOOLCHAIN_HAS_THREADS # libbsd - depends on BR2_USE_WCHAR # libbsd - select BR2_PACKAGE_LIBBSD - help - dnet module for python - -comment "dnet module for python requires python3 package" - depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS - depends on !BR2_PACKAGE_PYTHON3 - -comment "dnet module for python needs a toolchain w/ dynamic library, threads, wchar" - depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS - depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || \ - !BR2_USE_WCHAR - -endifpackage/libdnet/libdnet.mk +2
-9@@ -12,18 +12,11 @@ LIBDNET_INSTALL_STAGING = YES LIBDNET_AUTORECONF = YES LIBDNET_CONF_OPTS = \ --with-gnu-ld \ - --with-check=no + --with-check=no \ + --without-python LIBDNET_CONFIG_SCRIPTS = dnet-config LIBDNET_DEPENDENCIES = host-pkgconf -ifeq ($(BR2_PACKAGE_LIBDNET_PYTHON),y) -LIBDNET_DEPENDENCIES += libbsd host-python-cython python3 -LIBDNET_CONF_OPTS += --with-python=$(HOST_DIR)/bin -LIBDNET_MAKE_ENV += $(PKG_PYTHON_SETUPTOOLS_ENV) -LIBDNET_INSTALL_TARGET_OPTS = $(LIBDNET_MAKE_OPTS) DESTDIR=$(TARGET_DIR) INSTALL_STRIP_FLAG=-s install-exec -LIBDNET_INSTALL_STAGING_OPTS = $(LIBDNET_MAKE_OPTS) DESTDIR=$(STAGING_DIR) install -endif - # Needed for autoreconf to work properly define LIBDNET_FIXUP_ACINCLUDE_M4 ln -sf config/acinclude.m4 $(@D)Signature · 6 lines
2.52.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot