Skip to contentSkip to conversation

package/python-iwlib: remove package

PATCH New Yegor Yefremov via buildroot 1 participant 1 message Nov 6

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/python-iwlib: remove package

python-iwlib is unmaintained upstream: the last commit dates back to December 2019 [1] and the last release (1.7.0) has not been followed by any other.

It also fails to cross-compile: it uses the deprecated cffi verify() mode, which builds the C extension with the target compiler and then imports it into the host Python, which fails as soon as the target differs from the host:

ImportError: .../build/python-iwlib-1.7.0/iwlib/__pycache__/_cffi__x89ce3654x8235dda6.cpython-314-x86_64-linux-gnu.so: wrong ELF class: ELFCLASS32

So drop the package and add a legacy entry.

[1] https://github.com/nhoad/python-iwlib/commits/master/

Fixes:
https://autobuild.buildroot.org/results/c5553cd71935d29fd8ca52e1392b1ec9a540ed56

Assisted-by Claude:claude-opus-5-5
---
 Config.in.legacy                       |  7 +++++++
 package/Config.in                      |  1 -
 package/python-iwlib/Config.in         |  9 ---------
 package/python-iwlib/python-iwlib.hash |  5 -----
 package/python-iwlib/python-iwlib.mk   | 15 ---------------
 5 files changed, 7 insertions(+), 30 deletions(-)
 delete mode 100644 package/python-iwlib/Config.in
 delete mode 100644 package/python-iwlib/python-iwlib.hash
 delete mode 100644 package/python-iwlib/python-iwlib.mk
Config.in.legacy +7 -0
index 0ee4d04751..d2e31fb82a 100644
@@ -146,6 +146,13 @@ endif
 
 comment "Legacy options removed in 2026.11"
 
+config BR2_PACKAGE_PYTHON_IWLIB
+	bool "python-iwlib has been removed"
+	select BR2_LEGACY
+	help
+	  python-iwlib is unmaintained upstream (no commit since 2019)
+	  and was not cross-compilation friendly.
+
 config BR2_KERNEL_HEADERS_7_2
 	bool "kernel headers version 7.2.x are no longer supported"
 	select BR2_LEGACY
package/Config.in +0 -1
index a24c73c2ca..dfeb73113b 100644
@@ -1205,7 +1205,6 @@ menu "External python modules"
 	source "package/python-isodate/Config.in"
 	source "package/python-iterable-io/Config.in"
 	source "package/python-itsdangerous/Config.in"
-	source "package/python-iwlib/Config.in"
 	source "package/python-janus/Config.in"
 	source "package/python-jaraco-classes/Config.in"
 	source "package/python-jaraco-collections/Config.in"
package/python-iwlib/Config.in deleted +0 -9
deleted file mode 100644
index e15ae38025..0000000000
@@ -1,9 +0,0 @@
-config BR2_PACKAGE_PYTHON_IWLIB
-	bool "python-iwlib"
-	depends on BR2_PACKAGE_WIRELESS_TOOLS_LIB
-	select BR2_PACKAGE_PYTHON_CFFI # runtime
-	help
-	  python-iwlib is a package for interfacing with iwlib,
-	  providing an implementation to the wireless tools in Linux.
-
-	  https://github.com/nhoad/python-iwlib
package/python-iwlib/python-iwlib.hash deleted +0 -5
deleted file mode 100644
index d1848e0bd7..0000000000
@@ -1,5 +0,0 @@
-# md5, sha256 from https://pypi.org/pypi/iwlib/json
-md5  66016f4f7f53128525d1f9d9de7a6fed  iwlib-1.7.0.tar.gz
-sha256  a805f6597a70ee3001aba8f039fb7b2dcb75dc15c4e7852f5594fd6379196da1  iwlib-1.7.0.tar.gz
-# Locally computed sha256 checksums
-sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  COPYING
package/python-iwlib/python-iwlib.mk deleted +0 -15
deleted file mode 100644
index 7a4fee7fc9..0000000000
@@ -1,15 +0,0 @@
-################################################################################
-#
-# python-iwlib
-#
-################################################################################
-
-PYTHON_IWLIB_VERSION = 1.7.0
-PYTHON_IWLIB_SOURCE = iwlib-$(PYTHON_IWLIB_VERSION).tar.gz
-PYTHON_IWLIB_SITE = https://files.pythonhosted.org/packages/59/44/fd72c0a7094baeb448dc9e87b3d579da98e2b8593c3fe05c5f9dd20dc6bc
-PYTHON_IWLIB_LICENSE = GPL-2.0
-PYTHON_IWLIB_LICENSE_FILES = COPYING
-PYTHON_IWLIB_SETUP_TYPE = setuptools
-PYTHON_IWLIB_DEPENDENCIES = host-python-cffi wireless_tools
-
-$(eval $(python-package))
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot