Skip to contentSkip to conversation

package/python-tornado: only available for Python 3

PATCH Superseded Arnout Vandecappelle (Essensium/Mind) 2 participants 2 messages Oct 5, 2019

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/python-tornado: only available for Python 3

Since the bump to 6.0.1, python-tornado has dropped support for Python 2 and now needs Python >= 3.5 (cfr. setup.cfg).

Apparently this is not checked by setuptools, and apparently byte-compile is not done in the autobuilders, so there's not autobuild failure.

---
 package/python-tornado/Config.in | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)
package/python-tornado/Config.in +3 -7
index 1afbdc5729..e1bf8343f0 100644
@@ -1,12 +1,8 @@
 config BR2_PACKAGE_PYTHON_TORNADO
 	bool "python-tornado"
-	select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON
-	select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3
-	select BR2_PACKAGE_PYTHON_SSL if BR2_PACKAGE_PYTHON
-	select BR2_PACKAGE_PYTHON3_SSL if BR2_PACKAGE_PYTHON3
-	select BR2_PACKAGE_PYTHON_SINGLEDISPATCH if BR2_PACKAGE_PYTHON # runtime
-	select BR2_PACKAGE_PYTHON_BACKPORTS_ABC	if BR2_PACKAGE_PYTHON # runtime
-	select BR2_PACKAGE_PYTHON_CERTIFI if BR2_PACKAGE_PYTHON # runtime
+	depends on BR2_PACKAGE_PYTHON3
+	select BR2_PACKAGE_PYTHON3_ZLIB
+	select BR2_PACKAGE_PYTHON3_SSL
 	help
 	  Tornado is a Python web framework and asynchronous networking
 	  library, originally developed at FriendFeed.
Signature · 1 line
2.21.0
#1 lore raw

PATCH 1/1 package/python-tornado: only available for Python 3

Quoted 11 lines · On Sat, 5 Oct 2019 17:42:22 +0200 "Arnout Vandecappelle (Essensium/Mind)"…

Since the bump to 6.0.1, python-tornado has dropped support for Python 2 and now needs Python >= 3.5 (cfr. setup.cfg).

Apparently this is not checked by setuptools, and apparently byte-compile is not done in the autobuilders, so there's not autobuild failure.

You forgot the reverse dependencies of BR2_PACKAGE_PYTHON_TORNADO:
circus and python-tomako, both of which are available for both python2 and python3.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com