Skip to contentSkip to conversation

package/python-bunch: remove package

PATCH Superseded James Hilliard 2 participants 7 messages Dec 11, 2022 – Dec 12, 2022

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 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

---
 Config.in.legacy                       |  6 ++++++
 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, 6 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 +6 -0
index 28c6822689..5c1e162f56 100644
@@ -146,6 +146,12 @@ 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.
+
 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
#1 lore raw

Hi James, all,

Quoted 35 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.

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                       |  6 ++++++
 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, 6 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 +0 -0
index 28c6822689..5c1e162f56 100644

Config.in.legacy endif · line 151

Quoted 6 lines
Config.in.legacy +3 -0
@@ -146,6 +146,12 @@ endif
 
 comment "Legacy options removed in 2023.02"
 
+config BR2_PACKAGE_PYTHON_BUNCH
+       bool "python-bunch removed"
+       select BR2_LEGACY

Should we add "select BR2_PYTHON_MUNCH"?

This package is a maintained fork: https://github.com/Infinidat/munch

Regards,
Yegor

Quoted 76 lines
Config.in.legacy +3 -0
+       help
+         The python-bunch package is unmaintained.
+
 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
Quoted 43 lines · Yegor Yefremov

Hi James, all,

Quoted 38 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.

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                       |  6 ++++++
 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, 6 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 +0 -0
index 28c6822689..5c1e162f56 100644
@@ -146,6 +146,12 @@ endif
 
 comment "Legacy options removed in 2023.02"
 
Quoted 7 lines

Config.in.legacy endif · line 151

Quoted 3 lines
Config.in.legacy +3 -0
+config BR2_PACKAGE_PYTHON_BUNCH
+       bool "python-bunch removed"
+       select BR2_LEGACY

Should we add "select BR2_PYTHON_MUNCH"?

This package is a maintained fork: https://github.com/Infinidat/munch

Well the import namespace is different so it probably doesn't make sense to have it as a drop in replacement.

Quoted 80 lines

Regards,
Yegor

Quoted 76 lines
Config.in.legacy +3 -0
+       help
+         The python-bunch package is unmaintained.
+
 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
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

#3 lore raw
Quoted 52 lines · James Hilliard
Quoted 49 lines · Yegor Yefremov

Hi James, all,

Quoted 35 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.

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                       |  6 ++++++
 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, 6 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 +0 -0
index 28c6822689..5c1e162f56 100644

Config.in.legacy endif · line 151

Quoted 6 lines
Config.in.legacy +3 -0
@@ -146,6 +146,12 @@ endif
 
 comment "Legacy options removed in 2023.02"
 
+config BR2_PACKAGE_PYTHON_BUNCH
+       bool "python-bunch removed"
+       select BR2_LEGACY

Should we add "select BR2_PYTHON_MUNCH"?

Quoted 4 lines
Quoted 1 line

This package is a maintained fork: https://github.com/Infinidat/munch

Well the import namespace is different so it probably doesn't make sense to have it as a drop in replacement.

OK. But should it be at least mentioned in the help text?

Quoted 81 lines
Quoted 81 lines

Regards,
Yegor

Quoted 76 lines
Config.in.legacy +3 -0
+       help
+         The python-bunch package is unmaintained.
+
 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
Quoted 4 lines
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

#4 lore raw
Quoted 55 lines · Yegor Yefremov
Quoted 52 lines · James Hilliard
Quoted 49 lines · Yegor Yefremov

Hi James, all,

Quoted 35 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.

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                       |  6 ++++++
 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, 6 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 +0 -0
index 28c6822689..5c1e162f56 100644

Config.in.legacy endif · line 151

Quoted 6 lines
Config.in.legacy +3 -0
@@ -146,6 +146,12 @@ endif
 
 comment "Legacy options removed in 2023.02"
 
+config BR2_PACKAGE_PYTHON_BUNCH
+       bool "python-bunch removed"
+       select BR2_LEGACY

Should we add "select BR2_PYTHON_MUNCH"?

Quoted 6 lines
Quoted 4 lines
Quoted 1 line

This package is a maintained fork: https://github.com/Infinidat/munch

Well the import namespace is different so it probably doesn't make sense to have it as a drop in replacement.

OK. But should it be at least mentioned in the help text?

Well we don't have munch packaged right now so not sure.

Quoted 82 lines
Quoted 82 lines
Quoted 82 lines

Regards,
Yegor

Quoted 76 lines
Config.in.legacy +3 -0
+       help
+         The python-bunch package is unmaintained.
+
 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
Quoted 4 lines
Quoted 4 lines
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

#5 lore raw
Quoted 58 lines · James Hilliard
Quoted 55 lines · Yegor Yefremov
Quoted 52 lines · James Hilliard
Quoted 49 lines · Yegor Yefremov

Hi James, all,

Quoted 35 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.

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                       |  6 ++++++
 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, 6 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 +0 -0
index 28c6822689..5c1e162f56 100644

Config.in.legacy endif · line 151

Quoted 6 lines
Config.in.legacy +3 -0
@@ -146,6 +146,12 @@ endif
 
 comment "Legacy options removed in 2023.02"
 
+config BR2_PACKAGE_PYTHON_BUNCH
+       bool "python-bunch removed"
+       select BR2_LEGACY

Should we add "select BR2_PYTHON_MUNCH"?

Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
Quoted 1 line

This package is a maintained fork: https://github.com/Infinidat/munch

Well the import namespace is different so it probably doesn't make sense to have it as a drop in replacement.

OK. But should it be at least mentioned in the help text?

Well we don't have munch packaged right now so not sure.

Do you mean this one
https://git.busybox.net/buildroot/tree/package/python-munch?

Quoted 82 lines
Quoted 82 lines
Quoted 82 lines
Quoted 82 lines

Regards,
Yegor

Quoted 76 lines
Config.in.legacy +3 -0
+       help
+         The python-bunch package is unmaintained.
+
 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
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
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

#6 lore raw
Quoted 66 lines · Yegor Yefremov
Quoted 63 lines · James Hilliard
Quoted 60 lines · Yegor Yefremov
Quoted 56 lines · James Hilliard
Quoted 43 lines · Yegor Yefremov

Hi James, all,

Quoted 38 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.

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                       |  6 ++++++
 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, 6 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 +0 -0
index 28c6822689..5c1e162f56 100644
@@ -146,6 +146,12 @@ endif
 
 comment "Legacy options removed in 2023.02"
 
Quoted 7 lines

Config.in.legacy endif · line 151

Quoted 3 lines
Config.in.legacy +3 -0
+config BR2_PACKAGE_PYTHON_BUNCH
+       bool "python-bunch removed"
+       select BR2_LEGACY

Should we add "select BR2_PYTHON_MUNCH"?

This package is a maintained fork: https://github.com/Infinidat/munch

Well the import namespace is different so it probably doesn't make sense to have it as a drop in replacement.

Quoted 6 lines
Quoted 3 lines
Quoted 1 line

OK. But should it be at least mentioned in the help text?

Well we don't have munch packaged right now so not sure.

Do you mean this one
https://git.busybox.net/buildroot/tree/package/python-munch?

Oh, nevermind, I must have searched for it wrong.

Quoted 83 lines
Quoted 83 lines
Quoted 83 lines
Quoted 83 lines
Quoted 83 lines

Regards,
Yegor

Quoted 76 lines
Config.in.legacy +3 -0
+       help
+         The python-bunch package is unmaintained.
+
 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
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
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