Skip to contentSkip to conversation

package/python-brotli: drop C++ depends

PATCH In review James Hilliard 3 participants 4 messages Jan 7, 2024 – Jan 13, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 package/python-brotli: drop C++ depends

C++ is no longer required for python-brotli as of version 1.1.0:
https://github.com/google/brotli/commit/c8df4b3049ff1283fc4525defbcd003188f88963

Drop python-brotli C++ depends comment from python-weasyprint reverse dependency.

---
 package/python-brotli/Config.in     | 4 ----
 package/python-weasyprint/Config.in | 2 +-
 2 files changed, 1 insertion(+), 5 deletions(-)
package/python-brotli/Config.in +0 -4
index c31315392b..ca493bfeff 100644
@@ -1,10 +1,6 @@
 config BR2_PACKAGE_PYTHON_BROTLI
 	bool "python-brotli"
-	depends on BR2_INSTALL_LIBSTDCPP
 	help
 	  Python bindings for the Brotli compression library.
 
 	  https://github.com/google/brotli
-
-comment "python-brotli needs a toolchain w/ C++"
-	depends on !BR2_INSTALL_LIBSTDCPP
package/python-weasyprint/Config.in +1 -1
index 18d72d742e..65210fb1eb 100644
@@ -1,6 +1,6 @@
 config BR2_PACKAGE_PYTHON_WEASYPRINT
 	bool "python-weasyprint"
-	depends on BR2_INSTALL_LIBSTDCPP # python-brotli, python-zopfli
+	depends on BR2_INSTALL_LIBSTDCPP # python-zopfli
 	select BR2_PACKAGE_PYTHON_BROTLI # runtime
 	select BR2_PACKAGE_PYTHON_CFFI # runtime
 	select BR2_PACKAGE_PYTHON_CSSSELECT2 # runtime
Signature · 6 lines
2.34.1

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

PATCH 2/2 package/python-aiohttp: bump to version 3.9.1

Drop python-chardet/python-cchardet runtime dependencies.

Drop python-typing-extensions runtime dependencies.

Add new python-brotli runtime dependency.

Add new python-frozenlist runtime dependency.

---
 package/python-aiohttp/Config.in           | 5 ++---
 package/python-aiohttp/python-aiohttp.hash | 4 ++--
 package/python-aiohttp/python-aiohttp.mk   | 4 ++--
 3 files changed, 6 insertions(+), 7 deletions(-)
package/python-aiohttp/Config.in +2 -3
index 35c162b948..0507106fe7 100644
@@ -4,10 +4,9 @@ config BR2_PACKAGE_PYTHON_AIOHTTP
 	select BR2_PACKAGE_PYTHON_AIOSIGNAL # runtime
 	select BR2_PACKAGE_PYTHON_ASYNC_TIMEOUT # runtime
 	select BR2_PACKAGE_PYTHON_ATTRS # runtime
-	select BR2_PACKAGE_PYTHON_CCHARDET if BR2_INSTALL_LIBSTDCPP # runtime
-	select BR2_PACKAGE_PYTHON_CHARDET if !BR2_INSTALL_LIBSTDCPP # runtime
+	select BR2_PACKAGE_PYTHON_BROTLI # runtime
+	select BR2_PACKAGE_PYTHON_FROZENLIST # runtime
 	select BR2_PACKAGE_PYTHON_MULTIDICT # runtime
-	select BR2_PACKAGE_PYTHON_TYPING_EXTENSIONS # runtime
 	select BR2_PACKAGE_PYTHON_YARL # runtime
 	select BR2_PACKAGE_PYTHON3_ZLIB # runtime
 	help
package/python-aiohttp/python-aiohttp.hash +2 -2
index 35c899cb0f..374e66ae8d 100644
@@ -1,5 +1,5 @@
 # md5, sha256 from https://pypi.org/pypi/aiohttp/json
-md5  bdf57b82c0d1804f458e10320bb0dcd5  aiohttp-3.8.6.tar.gz
-sha256  b0cf2a4501bff9330a8a5248b4ce951851e415bdcce9dc158e76cfd55e15085c  aiohttp-3.8.6.tar.gz
+md5  264e1b4fbe9f09050523c03f4d9b5ee2  aiohttp-3.9.1.tar.gz
+sha256  8fc49a87ac269d4529da45871e2ffb6874e87779c3d0e2ccd813c0899221239d  aiohttp-3.9.1.tar.gz
 # Locally computed sha256 checksums
 sha256  9f80d0db7d755a941db4572172c270ecbd8f082ba215ddd095985942ed94a9eb  LICENSE.txt
package/python-aiohttp/python-aiohttp.mk +2 -2
index e814fc9224..2cb9058b97 100644
@@ -4,9 +4,9 @@
 #
 ################################################################################
 
-PYTHON_AIOHTTP_VERSION = 3.8.6
+PYTHON_AIOHTTP_VERSION = 3.9.1
 PYTHON_AIOHTTP_SOURCE = aiohttp-$(PYTHON_AIOHTTP_VERSION).tar.gz
-PYTHON_AIOHTTP_SITE = https://files.pythonhosted.org/packages/fd/01/f180d31923751fd20185c96938994823f00918ee5ac7b058edc005382406
+PYTHON_AIOHTTP_SITE = https://files.pythonhosted.org/packages/54/07/9467d3f8dae29b14f423b414d9e67512a76743c5bb7686fb05fe10c9cc3e
 PYTHON_AIOHTTP_SETUP_TYPE = setuptools
 PYTHON_AIOHTTP_LICENSE = Apache-2.0
 PYTHON_AIOHTTP_LICENSE_FILES = LICENSE.txt
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
In reply to James Hilliard
Quoted 11 lines · On Sun, 7 Jan 2024 14:42:54 -0700 James Hilliard <[email protected]>…

C++ is no longer required for python-brotli as of version 1.1.0:
https://github.com/google/brotli/commit/c8df4b3049ff1283fc4525defbcd003188f88963

Drop python-brotli C++ depends comment from python-weasyprint reverse dependency.

---
 package/python-brotli/Config.in     | 4 ----
 package/python-weasyprint/Config.in | 2 +-
 2 files changed, 1 insertion(+), 5 deletions(-)

Both patches applied to master, thanks!

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#3 lore raw
In reply to James Hilliard
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

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

C++ is no longer required for python-brotli as of version 1.1.0:
https://github.com/google/brotli/commit/c8df4b3049ff1283fc4525defbcd003188f88963

Drop python-brotli C++ depends comment from python-weasyprint reverse dependency.

Committed to 2023.11.x, thanks.

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