Skip to contentSkip to conversation

package/python-treq: fix dependencies

PATCH Applied Fabrice Fontaine 3 participants 3 messages Feb 21, 2022 – Mar 7, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 package/python-treq: fix dependencies

python-treq needs TLS support in twisted so select BR2_PACKAGE_PYTHON_TWISTED_TLS moreover it doesn't depend directly on service_identity and pyOpenSSL since version 17.3.0 and
https://github.com/twisted/treq/commit/ef2ac7ea2b74774adb9fef7675facc6017bfda89

Finally, python-idna was never a direct dependency of python-treq

---
 package/python-treq/Config.in | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
package/python-treq/Config.in +2 -5
index f781b37305..7c02a35638 100644
@@ -1,16 +1,13 @@
 config BR2_PACKAGE_PYTHON_TREQ
 	bool "python-treq"
-	# python-pyopenssl -> python-cryptography
+	# twisted TLS -> python-{pyopenssl,service-identity}
 	depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
-	# python-idna, python-pyopenssl -> python-cryptography
 	select BR2_PACKAGE_PYTHON_ATTRS # runtime
-	select BR2_PACKAGE_PYTHON_IDNA # runtime
 	select BR2_PACKAGE_PYTHON_INCREMENTAL # runtime
-	select BR2_PACKAGE_PYTHON_PYOPENSSL # runtime
 	select BR2_PACKAGE_PYTHON_REQUESTS # runtime
-	select BR2_PACKAGE_PYTHON_SERVICE_IDENTITY # runtime
 	select BR2_PACKAGE_PYTHON_SIX # runtime
 	select BR2_PACKAGE_PYTHON_TWISTED # runtime
+	select BR2_PACKAGE_PYTHON_TWISTED_TLS # runtime
 	help
 	  treq is an HTTP library inspired by requests but written on
 	  top of Twisted's Agents. It provides a simple, higher level
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Reviewed-by on v1 1/2
#1 lore raw

Hello Fabrice,

Le 22/02/2022 à 00:06, Fabrice Fontaine a écrit :

Quoted 8 lines

python-treq needs TLS support in twisted so select BR2_PACKAGE_PYTHON_TWISTED_TLS moreover it doesn't depend directly on service_identity and pyOpenSSL since version 17.3.0 and
https://github.com/twisted/treq/commit/ef2ac7ea2b74774adb9fef7675facc6017bfda89

Finally, python-idna was never a direct dependency of python-treq

Best regards,
Romain

Quoted 17 lines
---
 package/python-treq/Config.in | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
package/python-treq/Config.in +1 -3
index f781b37305..7c02a35638 100644
@@ -1,16 +1,13 @@
 config BR2_PACKAGE_PYTHON_TREQ
 	bool "python-treq"
-	# python-pyopenssl -> python-cryptography
+	# twisted TLS -> python-{pyopenssl,service-identity}
 	depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
-	# python-idna, python-pyopenssl -> python-cryptography
 	select BR2_PACKAGE_PYTHON_ATTRS # runtime
-	select BR2_PACKAGE_PYTHON_IDNA # runtime

package/python-treq/Config.in line 13

Quoted 10 lines
package/python-treq/Config.in +1 -2
 	select BR2_PACKAGE_PYTHON_INCREMENTAL # runtime
-	select BR2_PACKAGE_PYTHON_PYOPENSSL # runtime
 	select BR2_PACKAGE_PYTHON_REQUESTS # runtime
-	select BR2_PACKAGE_PYTHON_SERVICE_IDENTITY # runtime
 	select BR2_PACKAGE_PYTHON_SIX # runtime
 	select BR2_PACKAGE_PYTHON_TWISTED # runtime
+	select BR2_PACKAGE_PYTHON_TWISTED_TLS # runtime
 	help
 	  treq is an HTTP library inspired by requests but written on
 	  top of Twisted's Agents. It provides a simple, higher level

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

#2 lore raw
In reply to Fabrice Fontaine
Quoted 8 lines · Fabrice Fontaine

python-treq needs TLS support in twisted so select BR2_PACKAGE_PYTHON_TWISTED_TLS moreover it doesn't depend directly on service_identity and pyOpenSSL since version 17.3.0 and
https://github.com/twisted/treq/commit/ef2ac7ea2b74774adb9fef7675facc6017bfda89

Finally, python-idna was never a direct dependency of python-treq

 Applied to master, thanks.

 Regards,
 Arnout

Quoted 17 lines
---
  package/python-treq/Config.in | 7 ++-----
  1 file changed, 2 insertions(+), 5 deletions(-)
package/python-treq/Config.in +1 -3
index f781b37305..7c02a35638 100644
@@ -1,16 +1,13 @@
  config BR2_PACKAGE_PYTHON_TREQ
  	bool "python-treq"
-	# python-pyopenssl -> python-cryptography
+	# twisted TLS -> python-{pyopenssl,service-identity}
  	depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
-	# python-idna, python-pyopenssl -> python-cryptography
  	select BR2_PACKAGE_PYTHON_ATTRS # runtime
-	select BR2_PACKAGE_PYTHON_IDNA # runtime

package/python-treq/Config.in line 13

Quoted 10 lines
package/python-treq/Config.in +1 -2
  	select BR2_PACKAGE_PYTHON_INCREMENTAL # runtime
-	select BR2_PACKAGE_PYTHON_PYOPENSSL # runtime
  	select BR2_PACKAGE_PYTHON_REQUESTS # runtime
-	select BR2_PACKAGE_PYTHON_SERVICE_IDENTITY # runtime
  	select BR2_PACKAGE_PYTHON_SIX # runtime
  	select BR2_PACKAGE_PYTHON_TWISTED # runtime
+	select BR2_PACKAGE_PYTHON_TWISTED_TLS # runtime
  	help
  	  treq is an HTTP library inspired by requests but written on
  	  top of Twisted's Agents. It provides a simple, higher level

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