Skip to contentSkip to conversation

package/python-bunch: remove package

PATCH In review James Hilliard 3 participants 3 messages Dec 12, 2022 – Feb 7, 2023

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 package/python-bunch: remove package

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

---
Changes v1 -> v2:
- add comment about python-munch replacement

---
 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(-)
 delete mode 100644 package/python-bunch/Config.in
 delete mode 100644 package/python-bunch/python-bunch.hash
 delete mode 100644 package/python-bunch/python-bunch.mk
Config.in.legacy +7 -0
index 28c6822689..6c2961c4f9 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_PACKAGE_PYTHON_M2R
 	bool "python-m2r removed"
 	select BR2_LEGACY
DEVELOPERS +0 -1
index f0dcc42de7..0c3773695a 100644
@@ -2017,7 +2017,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 914c3584e9..7f0c34519a 100644
@@ -979,7 +979,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))
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Reviewed-by Yegor Yefremov on v2 1/1
#1 lore raw
Quoted 11 lines · James Hilliard

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.

Quoted 7 lines

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

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

Quoted 103 lines

---
Changes v1 -> v2:
- add comment about python-munch replacement

---
 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(-)
 delete mode 100644 package/python-bunch/Config.in
 delete mode 100644 package/python-bunch/python-bunch.hash
 delete mode 100644 package/python-bunch/python-bunch.mk
Config.in.legacy +7 -0
index 28c6822689..6c2961c4f9 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_PACKAGE_PYTHON_M2R
        bool "python-m2r removed"
        select BR2_LEGACY
DEVELOPERS +0 -1
index f0dcc42de7..0c3773695a 100644
@@ -2017,7 +2017,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 914c3584e9..7f0c34519a 100644
@@ -979,7 +979,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 -15
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))
--

2.34.1

Quoted 4 lines

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

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

#2 lore raw
In reply to James Hilliard
Quoted 15 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"James" == James Hilliard <[email protected]> writes:

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

Quoted 7 lines

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

---
Changes v1 -> v2:
- add comment about python-munch replacement

Committed, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot