Skip to contentSkip to conversation

package/python-bunch: remove package

Buildroot Peter Korsgaard 1 participant 1 message Feb 7, 2023

lore
Share & tools
lore
#0 lore raw

commit: https://git.buildroot.net/buildroot/commit/?id=29fd8481e22fd7e8ac00e0bc47614ff06be33706
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Since the python3 bump to version 3.11 in commit 738500c296c8b1206f20e94ca3e7c5932a6a0486 python-bunch has failed to build.

This is due to open() which no longer accepts 'U' (“universal newline”) in the file mode.

Remove this package as it has not had a release since 2011 and is unmaintained upstream.

Details:
https://docs.python.org/3.11/whatsnew/3.11.html#porting-to-python-3-11

Fixes:
- http://autobuild.buildroot.net/results/2ba/2ba72fc9837605a36ea63bbd3e6e181a40cdf360

---
 Config.in.legacy                       |  7 +++++++
 DEVELOPERS                             |  1 -
 package/Config.in                      |  1 -
 package/python-bunch/Config.in         |  6 ------
 package/python-bunch/python-bunch.hash |  5 -----
 package/python-bunch/python-bunch.mk   | 14 --------------
 6 files changed, 7 insertions(+), 27 deletions(-)
Config.in.legacy +7 -0
index 61686fdd11..ad80522451 100644
@@ -146,6 +146,13 @@ endif
 
 comment "Legacy options removed in 2023.02"
 
+config BR2_PACKAGE_PYTHON_BUNCH
+	bool "python-bunch removed"
+	select BR2_LEGACY
+	help
+	  The python-bunch package is unmaintained and is replaced
+	  by the python-munch package.
+
 config BR2_TARGET_GUMMIBOOT
 	bool "gummiboot removed"
 	select BR2_LEGACY
DEVELOPERS +0 -1
index f8acf8776c..cad8d6affa 100644
@@ -2040,7 +2040,6 @@ F:	package/policycoreutils/
 F:	package/proftpd/
 F:	package/protobuf-c/
 F:	package/protobuf/
-F:	package/python-bunch/
 F:	package/python-colorama/
 F:	package/python-filelock/
 F:	package/python-flask-cors/
package/Config.in +0 -1
index b6211f1102..8b9570c447 100644
@@ -985,7 +985,6 @@ menu "External python modules"
 	source "package/python-bottle/Config.in"
 	source "package/python-brotli/Config.in"
 	source "package/python-bsdiff4/Config.in"
-	source "package/python-bunch/Config.in"
 	source "package/python-cached-property/Config.in"
 	source "package/python-can/Config.in"
 	source "package/python-canopen/Config.in"
package/python-bunch/Config.in deleted +0 -6
deleted file mode 100644
index 89eae742b8..0000000000
@@ -1,6 +0,0 @@
-config BR2_PACKAGE_PYTHON_BUNCH
-	bool "python-bunch"
-	help
-	  A dot-accessible dictionary (a la JavaScript objects).
-
-	  http://github.com/dsc/bunch
package/python-bunch/python-bunch.hash deleted +0 -5
deleted file mode 100644
index cfde2db603..0000000000
@@ -1,5 +0,0 @@
-# md5, sha256 from https://pypi.org/pypi/bunch/json
-md5  0a829d64e95ed96defbcae2bf9061bb0  bunch-1.0.1.tar.gz
-sha256  50c77a0fc0cb372dfe48b5e11937d5f70e743adbf42683f3a6d2857645a76aaa  bunch-1.0.1.tar.gz
-# Locally computed sha256 checksums
-sha256  57ca95c92059c8380625192462979bd32994aae3fcdf902ff6eb1e467eeb0469  LICENSE.txt
package/python-bunch/python-bunch.mk deleted +0 -14
deleted file mode 100644
index 18fdc223bb..0000000000
@@ -1,14 +0,0 @@
-################################################################################
-#
-# python-bunch
-#
-################################################################################
-
-PYTHON_BUNCH_VERSION = 1.0.1
-PYTHON_BUNCH_SOURCE = bunch-$(PYTHON_BUNCH_VERSION).tar.gz
-PYTHON_BUNCH_SITE = https://files.pythonhosted.org/packages/ef/bf/a4cf1779a4ffb4f610903fa08e15d1f4a8a2f4e3353a02afbe097c5bf4a8
-PYTHON_BUNCH_SETUP_TYPE = setuptools
-PYTHON_BUNCH_LICENSE = MIT
-PYTHON_BUNCH_LICENSE_FILES = LICENSE.txt
-
-$(eval $(python-package))

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