Fix python-crossbar to work with python 3.7
cover Fix python-crossbar to work with python 3.7
The following series of patches contains version bumps and new packages that are needed for bumping python-crossbar to 18.9.2 and make it work with Python 3.7.
Asaf Kahlon (23):
python-attrs: bump to version 18.2.0
python-autobahn: bump to version 18.9.2
python-automat: bump to version 0.7.0
python-hyperlink: bump to version 18.0.0
python-incremental: bump to version 17.5.0
python-jinja2: bump to version 2.10
python-lmdb: bump to version 0.94
python-psutil: bump to version 5.4.7
python-pycparser: bump to version 2.19
python-pynacl: bump to version 1.2.1
python-pyopenssl: bump to version 18.0.0
python-sdnotify: bump to version 0.3.2
python-sortedcontainers: bump to version 2.0.5
python-txaio: bump to version 18.8.1
python-txtorcon: bump to version 18.0.2
python-u-msgpack: bump to version 2.5.0
python-zope-interface: bump to version 4.5.0
python-pytrie: bump to version 0.3.1
python-passlib: new package
python-pyasn1-modules: new package
python-pyhamcrest: new package
python-twisted: bump to version 18.7.0
python-crossbar: bump to version 18.9.2
DEVELOPERS | 3 + package/Config.in | 3 + package/python-attrs/python-attrs.hash | 8 +- package/python-attrs/python-attrs.mk | 4 +- package/python-autobahn/python-autobahn.hash | 8 +- package/python-autobahn/python-autobahn.mk | 4 +- package/python-automat/python-automat.hash | 8 +- package/python-automat/python-automat.mk | 4 +- .../0002-Remove-idna-requirement.patch | 26 +++ .../0002-Rework-runtime-dependencies.patch | 37 ---- package/python-crossbar/Config.in | 19 +-- package/python-crossbar/python-crossbar.hash | 7 +- package/python-crossbar/python-crossbar.mk | 4 +- package/python-hyperlink/Config.in | 1 + .../python-hyperlink/python-hyperlink.hash | 8 +- package/python-hyperlink/python-hyperlink.mk | 4 +- .../python-incremental.hash | 8 +- .../python-incremental/python-incremental.mk | 4 +- package/python-jinja2/python-jinja2.hash | 8 +- package/python-jinja2/python-jinja2.mk | 4 +- package/python-lmdb/python-lmdb.hash | 7 +- package/python-lmdb/python-lmdb.mk | 5 +- package/python-passlib/Config.in | 7 + package/python-passlib/python-passlib.hash | 5 + package/python-passlib/python-passlib.mk | 14 ++ package/python-psutil/python-psutil.hash | 8 +- package/python-psutil/python-psutil.mk | 4 +- package/python-pyasn1-modules/Config.in | 7 + .../python-pyasn1-modules.hash | 5 + .../python-pyasn1-modules.mk | 14 ++ .../python-pycparser/python-pycparser.hash | 8 +- package/python-pycparser/python-pycparser.mk | 4 +- package/python-pyhamcrest/Config.in | 8 + .../python-pyhamcrest/python-pyhamcrest.hash | 5 + .../python-pyhamcrest/python-pyhamcrest.mk | 14 ++ package/python-pynacl/python-pynacl.hash | 8 +- package/python-pynacl/python-pynacl.mk | 4 +- .../python-pyopenssl/python-pyopenssl.hash | 8 +- package/python-pyopenssl/python-pyopenssl.mk | 4 +- package/python-pytrie/Config.in | 1 + package/python-pytrie/python-pytrie.hash | 8 +- package/python-pytrie/python-pytrie.mk | 8 +- package/python-sdnotify/python-sdnotify.hash | 9 +- package/python-sdnotify/python-sdnotify.mk | 4 +- .../python-sortedcontainers.hash | 8 +- .../python-sortedcontainers.mk | 4 +- .../0001-Fix-syntax-for-python3.7.patch | 160 ++++++++++++++++++ package/python-twisted/Config.in | 2 + package/python-twisted/python-twisted.hash | 8 +- package/python-twisted/python-twisted.mk | 4 +- package/python-txaio/python-txaio.hash | 9 +- package/python-txaio/python-txaio.mk | 4 +- package/python-txtorcon/python-txtorcon.hash | 9 +- package/python-txtorcon/python-txtorcon.mk | 4 +- .../python-u-msgpack/python-u-msgpack.hash | 8 +- package/python-u-msgpack/python-u-msgpack.mk | 4 +- .../python-zope-interface.hash | 9 +- .../python-zope-interface.mk | 4 +- 58 files changed, 425 insertions(+), 153 deletions(-) create mode 100644 package/python-crossbar/0002-Remove-idna-requirement.patch delete mode 100644 package/python-crossbar/0002-Rework-runtime-dependencies.patch create mode 100644 package/python-passlib/Config.in create mode 100644 package/python-passlib/python-passlib.hash create mode 100644 package/python-passlib/python-passlib.mk create mode 100644 package/python-pyasn1-modules/Config.in create mode 100644 package/python-pyasn1-modules/python-pyasn1-modules.hash create mode 100644 package/python-pyasn1-modules/python-pyasn1-modules.mk create mode 100644 package/python-pyhamcrest/Config.in create mode 100644 package/python-pyhamcrest/python-pyhamcrest.hash create mode 100644 package/python-pyhamcrest/python-pyhamcrest.mk create mode 100644 package/python-twisted/0001-Fix-syntax-for-python3.7.patch
Signature · 1 line
2.17.1
PATCH 1/23 python-attrs: bump to version 18.2.0
Also add license hash.
--- package/python-attrs/python-attrs.hash | 8 +++++--- package/python-attrs/python-attrs.mk | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-)
package/python-attrs/python-attrs.hash +5 -3
@@ -1,3 +1,5 @@ -# md5 from https://pypi.python.org/pypi/attrs/json, sha256 locally computed -md5 3b7136a570f3ff8a4ff42e7360073f9f attrs-17.2.0.tar.gz -sha256 5d4d1b99f94d69338f485984127e4473b3ab9e20f43821b0e546cc3b2302fd11 attrs-17.2.0.tar.gz +# md5, sha256 from https://pypi.org/pypi/attrs/json +md5 44700294787c8018858777fc150e5d40 attrs-18.2.0.tar.gz +sha256 10cbf6e27dbce8c30807caf056c8eb50917e0eaafe86347671b57254006c3e69 attrs-18.2.0.tar.gz +# Locally computer sha256 +sha256 bf659a28b49240602f56bbdf490cbe2ec509b15b98f99d7b19a52c740e327863 LICENSE
package/python-attrs/python-attrs.mk +2 -2
@@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_ATTRS_VERSION = 17.2.0 +PYTHON_ATTRS_VERSION = 18.2.0 PYTHON_ATTRS_SOURCE = attrs-$(PYTHON_ATTRS_VERSION).tar.gz -PYTHON_ATTRS_SITE = https://pypi.python.org/packages/be/41/e909cb6d901e9689da947419505cc7fb7d242a08a62ee221fce6a009a523 +PYTHON_ATTRS_SITE = https://files.pythonhosted.org/packages/0f/9e/26b1d194aab960063b266170e53c39f73ea0d0d3f5ce23313e0ec8ee9bdf PYTHON_ATTRS_SETUP_TYPE = setuptools PYTHON_ATTRS_LICENSE = MIT PYTHON_ATTRS_LICENSE_FILES = LICENSE
Signature · 1 line
2.17.1
Thomas Petazzoni
AppliedPATCH 1/23 python-attrs: bump to version 18.2.0
Hello,
Quoted 7 lines · Asaf Kahlon
Also add license hash.
Signed-off-by Asaf Kahlon <[email protected]>--- package/python-attrs/python-attrs.hash | 8 +++++--- package/python-attrs/python-attrs.mk | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 2/23 python-autobahn: bump to version 18.9.2
In reply to Asaf KahlonAlso add license hash.
--- package/python-autobahn/python-autobahn.hash | 8 ++++---- package/python-autobahn/python-autobahn.mk | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-)
package/python-autobahn/python-autobahn.hash +4 -4
@@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/autobahn/json -md5 efddc3394c4e11f85bfa108c12a9346c autobahn-18.9.1.tar.gz -sha256 829fbeb08b7e0f7e8cd14d9d169043a861075c3f6e5e2739d564dc985b5e7015 autobahn-18.9.1.tar.gz -# Locally computed -sha256 0387eefce570453daaa60633f28676003731eeca28b2d0a0071c628e3a0004ef LICENSE +md5 e8192e3a4bb7dc59db2a82234b13b080 autobahn-18.9.2.tar.gz +sha256 d98b924f06865700116ee616027e4a6d678004a7b44e0d01cb262eab333112d6 autobahn-18.9.2.tar.gz +# Locally computed sha256 checksums +sha256 0387eefce570453daaa60633f28676003731eeca28b2d0a0071c628e3a0004ef LICENSE
package/python-autobahn/python-autobahn.mk +2 -2
@@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_AUTOBAHN_VERSION = 18.9.1 +PYTHON_AUTOBAHN_VERSION = 18.9.2 PYTHON_AUTOBAHN_SOURCE = autobahn-$(PYTHON_AUTOBAHN_VERSION).tar.gz -PYTHON_AUTOBAHN_SITE = https://files.pythonhosted.org/packages/3e/21/2074cfca5addf4f0c7e422798c50c85255ee5963889ee8b32edb06e47221 +PYTHON_AUTOBAHN_SITE = https://files.pythonhosted.org/packages/68/f8/43ef6e614f27a97a88a6e91768d3917adff630936ec71665fcc3bec48e53 PYTHON_AUTOBAHN_LICENSE = MIT PYTHON_AUTOBAHN_LICENSE_FILES = LICENSE PYTHON_AUTOBAHN_SETUP_TYPE = setuptools
Signature · 1 line
2.17.1
PATCH 2/23 python-autobahn: bump to version 18.9.2
Hello,
Quoted 1 line · Asaf Kahlon
Also add license hash.
In fact, the license file hash was already there.
Applied after tweaking the commit log. Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 3/23 python-automat: bump to version 0.7.0
In reply to Asaf KahlonAlso add license hash.
--- package/python-automat/python-automat.hash | 8 +++++--- package/python-automat/python-automat.mk | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-)
package/python-automat/python-automat.hash +5 -3
@@ -1,3 +1,5 @@ -# md5 from https://pypi.python.org/pypi/automat/json, sha256 locally computed -md5 ad7bba58d262d8956d732330cb5ef53d Automat-0.6.0.tar.gz -sha256 3c1fd04ecf08ac87b4dd3feae409542e9bf7827257097b2b6ed5692f69d6f6a8 Automat-0.6.0.tar.gz +# md5, sha256 from https://pypi.org/pypi/automat/json +md5 b72d5b7a83c2b1bd6e9ec3614a69f9ea Automat-0.7.0.tar.gz +sha256 cbd78b83fa2d81fe2a4d23d258e1661dd7493c9a50ee2f1a5b2cac61c1793b0e Automat-0.7.0.tar.gz +# Locally computed sha256 checksums +sha256 b2201301678d0a937d938543827ca1360712eb34e23de8ee3f3bfffbd4c0e376 LICENSE
package/python-automat/python-automat.mk +2 -2
@@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_AUTOMAT_VERSION = 0.6.0 +PYTHON_AUTOMAT_VERSION = 0.7.0 PYTHON_AUTOMAT_SOURCE = Automat-$(PYTHON_AUTOMAT_VERSION).tar.gz -PYTHON_AUTOMAT_SITE = https://pypi.python.org/packages/de/05/b8e453085cf8a7f27bb1226596f4ccf5cc9e758377d60284f990bbdc592c +PYTHON_AUTOMAT_SITE = https://files.pythonhosted.org/packages/4a/4f/64db3ffda8828cb0541fe949354615f39d02f596b4c33fb74863756fc565 PYTHON_AUTOMAT_SETUP_TYPE = setuptools PYTHON_AUTOMAT_LICENSE = MIT PYTHON_AUTOMAT_LICENSE_FILES = LICENSE
Signature · 1 line
2.17.1
Thomas Petazzoni
AppliedPATCH 3/23 python-automat: bump to version 0.7.0
Hello,
Quoted 7 lines · Asaf Kahlon
Also add license hash.
Signed-off-by Asaf Kahlon <[email protected]>--- package/python-automat/python-automat.hash | 8 +++++--- package/python-automat/python-automat.mk | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-)
Applied to master after adding Yegor's Reviewed-by.
Thanks,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 4/23 python-hyperlink: bump to version 18.0.0
In reply to Asaf KahlonAlso add license hash.
--- package/python-hyperlink/Config.in | 1 + package/python-hyperlink/python-hyperlink.hash | 8 +++++--- package/python-hyperlink/python-hyperlink.mk | 4 ++-- 3 files changed, 8 insertions(+), 5 deletions(-)
package/python-hyperlink/Config.in +1 -0
@@ -1,5 +1,6 @@ config BR2_PACKAGE_PYTHON_HYPERLINK bool "python-hyperlink" + select BR2_PACKAGE_PYTHON_IDNA # runtime help A featureful, correct URL for Python.
package/python-hyperlink/python-hyperlink.hash +5 -3
@@ -1,3 +1,5 @@ -# md5 from https://pypi.python.org/pypi/hyperlink/json, sha256 locally computed -md5 7a86b09d80b8f0c89f6b61efa0ebaab9 hyperlink-17.3.0.tar.gz -sha256 ddadbbdda2b94182da14be1b5d26ec3188dfdf9687b9b8c8d810f52f79b7af1a hyperlink-17.3.0.tar.gz +# md5, sha256 from https://pypi.org/pypi/hyperlink/json +md5 f41a96779b324d824864696a94b24823 hyperlink-18.0.0.tar.gz +sha256 f01b4ff744f14bc5d0a22a6b9f1525ab7d6312cb0ff967f59414bbac52f0a306 hyperlink-18.0.0.tar.gz +# Locally computed sha256 checksums +sha256 9577b66fb599aa5700b4981078ab0a319416a086beee646cd282aa9f33c8c74c LICENSE
package/python-hyperlink/python-hyperlink.mk +2 -2
@@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_HYPERLINK_VERSION = 17.3.0 +PYTHON_HYPERLINK_VERSION = 18.0.0 PYTHON_HYPERLINK_SOURCE = hyperlink-$(PYTHON_HYPERLINK_VERSION).tar.gz -PYTHON_HYPERLINK_SITE = https://pypi.python.org/packages/61/9c/69aa5d6942271961ad1fff910db77706623423d054ecb647da963efdf49a +PYTHON_HYPERLINK_SITE = https://files.pythonhosted.org/packages/41/e1/0abd4b480ec04892b1db714560f8c855d43df81895c98506442babf3652f PYTHON_HYPERLINK_SETUP_TYPE = setuptools PYTHON_HYPERLINK_LICENSE = MIT PYTHON_HYPERLINK_LICENSE_FILES = LICENSE
Signature · 1 line
2.17.1
Thomas Petazzoni
AppliedPATCH 4/23 python-hyperlink: bump to version 18.0.0
Hello,
Quoted 8 lines · Asaf Kahlon
Also add license hash.
Signed-off-by Asaf Kahlon <[email protected]>--- package/python-hyperlink/Config.in | 1 + package/python-hyperlink/python-hyperlink.hash | 8 +++++--- package/python-hyperlink/python-hyperlink.mk | 4 ++-- 3 files changed, 8 insertions(+), 5 deletions(-)
Applied to master after adding Yegor Reviewed-by, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 5/23 python-incremental: bump to version 17.5.0
In reply to Asaf KahlonAlso add license hash.
--- package/python-incremental/python-incremental.hash | 8 +++++--- package/python-incremental/python-incremental.mk | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-)
package/python-incremental/python-incremental.hash +5 -3
@@ -1,3 +1,5 @@ -# md5 from https://pypi.python.org/pypi/incremental/json, sha256 locally computed -md5 3fe6b3b1da1d26a48187fb27e969f072 incremental-16.10.1.tar.gz -sha256 14ad6b720ec47aad6c9caa83e47db1843e2b9b98742da5dda08e16a99f400342 incremental-16.10.1.tar.gz +# md5, sha256 from https://pypi.org/pypi/incremental/json +md5 602746e0d438e075a5a9e0678140bba2 incremental-17.5.0.tar.gz +sha256 7b751696aaf36eebfab537e458929e194460051ccad279c72b755a167eebd4b3 incremental-17.5.0.tar.gz +# Locally computed sha256 +sha256 d043bc8899b4695de1f4511d8f507b927e11723b981ce600fa3ef7b73954afa5 LICENSE
package/python-incremental/python-incremental.mk +2 -2
@@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_INCREMENTAL_VERSION = 16.10.1 +PYTHON_INCREMENTAL_VERSION = 17.5.0 PYTHON_INCREMENTAL_SOURCE = incremental-$(PYTHON_INCREMENTAL_VERSION).tar.gz -PYTHON_INCREMENTAL_SITE = https://pypi.python.org/packages/da/b0/32233c9e84b0d44b39015fba8fec03e88053723c1b455925081dc6ccd9e7 +PYTHON_INCREMENTAL_SITE = https://files.pythonhosted.org/packages/8f/26/02c4016aa95f45479eea37c90c34f8fab6775732ae62587a874b619ca097 PYTHON_INCREMENTAL_SETUP_TYPE = setuptools PYTHON_INCREMENTAL_LICENSE = MIT PYTHON_INCREMENTAL_LICENSE_FILES = LICENSE
Signature · 1 line
2.17.1
Thomas Petazzoni
AppliedPATCH 5/23 python-incremental: bump to version 17.5.0
Hello,
Quoted 7 lines · Asaf Kahlon
Also add license hash.
Signed-off-by Asaf Kahlon <[email protected]>--- package/python-incremental/python-incremental.hash | 8 +++++--- package/python-incremental/python-incremental.mk | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-)
Applied to master after adding Yegor Reviewed-by, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 6/23 python-jinja2: bump to version 2.10
In reply to Asaf KahlonAlso add license hash.
--- package/python-jinja2/python-jinja2.hash | 8 +++++--- package/python-jinja2/python-jinja2.mk | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-)
package/python-jinja2/python-jinja2.hash +5 -3
@@ -1,3 +1,5 @@ -# md5 from https://pypi.python.org/pypi/jinja2/json, sha256 locally computed -md5 9e55f0db6620dd99a1b366183a94270d Jinja2-2.9.5.tar.gz -sha256 702a24d992f856fa8d5a7a36db6128198d0c21e1da34448ca236c42e92384825 Jinja2-2.9.5.tar.gz +# md5, sha256 from https://pypi.org/pypi/jinja2/json +md5 61ef1117f945486472850819b8d1eb3d Jinja2-2.10.tar.gz +sha256 f84be1bb0040caca4cea721fcbbbbd61f9be9464ca236387158b0feea01914a4 Jinja2-2.10.tar.gz +# Locally computed sha256 +sha256 26fcd436fdc8a39d44896ac03e6f1dfd25e38499c48f20d8bc1dd3bf0aaa8a5b LICENSE
package/python-jinja2/python-jinja2.mk +2 -2
@@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_JINJA2_VERSION = 2.9.5 +PYTHON_JINJA2_VERSION = 2.10 PYTHON_JINJA2_SOURCE = Jinja2-$(PYTHON_JINJA2_VERSION).tar.gz -PYTHON_JINJA2_SITE = https://pypi.python.org/packages/71/59/d7423bd5e7ddaf3a1ce299ab4490e9044e8dfd195420fc83a24de9e60726 +PYTHON_JINJA2_SITE = https://files.pythonhosted.org/packages/56/e6/332789f295cf22308386cf5bbd1f4e00ed11484299c5d7383378cf48ba47 PYTHON_JINJA2_SETUP_TYPE = setuptools PYTHON_JINJA2_LICENSE = BSD-3-Clause PYTHON_JINJA2_LICENSE_FILES = LICENSE
Signature · 1 line
2.17.1
Thomas Petazzoni
AppliedPATCH 6/23 python-jinja2: bump to version 2.10
Hello,
Quoted 7 lines · Asaf Kahlon
Also add license hash.
Signed-off-by Asaf Kahlon <[email protected]>--- package/python-jinja2/python-jinja2.hash | 8 +++++--- package/python-jinja2/python-jinja2.mk | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-)
Applied to master after adding Yegor Reviewed-by, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 7/23 python-lmdb: bump to version 0.94
In reply to Asaf KahlonAlso add license hash.
--- package/python-lmdb/python-lmdb.hash | 7 +++++-- package/python-lmdb/python-lmdb.mk | 5 +++-- 2 files changed, 8 insertions(+), 4 deletions(-)
package/python-lmdb/python-lmdb.hash +5 -2
@@ -1,2 +1,5 @@ -# Locally calculated -sha256 abd2b2ae9ecf2fd1e1bc55ef4e8463b5910722fcd70a1bbf34a3e669a74a41a4 python-lmdb-py-lmdb_0.89.tar.gz +# md5, sha256 from https://pypi.org/pypi/lmdb/json +md5 57216cb8fba7aed91ceba5a69d359939 lmdb-0.94.tar.gz +sha256 9c2b7f05c26b2c95d6f3a566314feefe2dc64ecec6c50242a932703cf74303fe lmdb-0.94.tar.gz +# Locally computed sha256 checksums +sha256 310fe25c858a9515fc8c8d7d1f24a67c9496f84a91e0a0e41ea9975b1371e569 LICENSE
package/python-lmdb/python-lmdb.mk +3 -2
@@ -4,8 +4,9 @@ # ################################################################################ -PYTHON_LMDB_VERSION = py-lmdb_0.89 -PYTHON_LMDB_SITE = $(call github,dw,py-lmdb,$(PYTHON_LMDB_VERSION)) +PYTHON_LMDB_VERSION = 0.94 +PYTHON_LMDB_SOURCE = lmdb-$(PYTHON_LMDB_VERSION).tar.gz +PYTHON_LMDB_SITE = https://files.pythonhosted.org/packages/cb/31/5be8f436b56733d9e69c721c358502f4d77b627489a459978686be7db65f PYTHON_LMDB_LICENSE = OLDAP-2.8 PYTHON_LMDB_LICENSE_FILES = LICENSE PYTHON_LMDB_SETUP_TYPE = setuptools
Signature · 1 line
2.17.1
Thomas Petazzoni
AppliedPATCH 7/23 python-lmdb: bump to version 0.94
Hello,
Quoted 7 lines · Asaf Kahlon
Also add license hash.
Signed-off-by Asaf Kahlon <[email protected]>--- package/python-lmdb/python-lmdb.hash | 7 +++++-- package/python-lmdb/python-lmdb.mk | 5 +++-- 2 files changed, 8 insertions(+), 4 deletions(-)
Applied to master after adding Yegor Reviewed-by, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 8/23 python-psutil: bump to version 5.4.7
In reply to Asaf KahlonAlso add license hash.
--- package/python-psutil/python-psutil.hash | 8 +++++--- package/python-psutil/python-psutil.mk | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-)
package/python-psutil/python-psutil.hash +5 -3
@@ -1,3 +1,5 @@ -# md5 from https://pypi.python.org/pypi/psutil/json, sha256 locally computed -md5 c9aa2599dcd9e5b59d71b6660d396062 psutil-5.2.0.tar.gz -sha256 2fc91d068faa5613c093335f0e758673ef8c722ad4bfa4aded64c13ae69089eb psutil-5.2.0.tar.gz +# md5, sha256 from https://pypi.org/pypi/psutil/json +md5 434cd8f9a1fdc93ce7903fdc9b5e3906 psutil-5.4.7.tar.gz +sha256 5b6322b167a5ba0c5463b4d30dfd379cd4ce245a1162ebf8fc7ab5c5ffae4f3b psutil-5.4.7.tar.gz +# Locally computed sha256 checksums +sha256 bb073826b0dfb43b631c38ad5d9844cda74cc631d2a5569ad8798be4274a3e17 LICENSE
package/python-psutil/python-psutil.mk +2 -2
@@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_PSUTIL_VERSION = 5.2.0 +PYTHON_PSUTIL_VERSION = 5.4.7 PYTHON_PSUTIL_SOURCE = psutil-$(PYTHON_PSUTIL_VERSION).tar.gz -PYTHON_PSUTIL_SITE = https://pypi.python.org/packages/3c/2f/f3ab91349c666f009077157b12057e613a3152a46a6c3be883777546b6de +PYTHON_PSUTIL_SITE = https://files.pythonhosted.org/packages/7d/9a/1e93d41708f8ed2b564395edfa3389f0fd6d567597401c2e5e2775118d8b PYTHON_PSUTIL_SETUP_TYPE = setuptools PYTHON_PSUTIL_LICENSE = BSD-3-Clause PYTHON_PSUTIL_LICENSE_FILES = LICENSE
Signature · 1 line
2.17.1
Thomas Petazzoni
AppliedPATCH 8/23 python-psutil: bump to version 5.4.7
Hello,
Quoted 7 lines · Asaf Kahlon
Also add license hash.
Signed-off-by Asaf Kahlon <[email protected]>--- package/python-psutil/python-psutil.hash | 8 +++++--- package/python-psutil/python-psutil.mk | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-)
Applied to master with Yegor's Reviewed-by, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 9/23 python-pycparser: bump to version 2.19
In reply to Asaf KahlonAlso add license hash.
--- package/python-pycparser/python-pycparser.hash | 8 +++++--- package/python-pycparser/python-pycparser.mk | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-)
package/python-pycparser/python-pycparser.hash +5 -3
@@ -1,3 +1,5 @@ -# md5 from https://pypi.python.org/pypi/pycparser/json, sha256 locally computed -md5 ca98dcb50bc1276f230118f6af5a40c7 pycparser-2.17.tar.gz -sha256 0aac31e917c24cb3357f5a4d5566f2cc91a19ca41862f6c3c22dc60a629673b6 pycparser-2.17.tar.gz +# md5, sha256 from https://pypi.org/pypi/pycparser/json +md5 76396762adc3fa769c83d8e202d36b6f pycparser-2.19.tar.gz +sha256 a988718abfad80b6b157acce7bf130a30876d27603738ac39f140993246b25b3 pycparser-2.19.tar.gz +# Locally computed sha256 checksums +sha256 3c76629880aec2f8578ed914701a4ff9e5da8b60acb8b7ec675abf83c90c5168 LICENSE
package/python-pycparser/python-pycparser.mk +2 -2
@@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_PYCPARSER_VERSION = 2.17 +PYTHON_PYCPARSER_VERSION = 2.19 PYTHON_PYCPARSER_SOURCE = pycparser-$(PYTHON_PYCPARSER_VERSION).tar.gz -PYTHON_PYCPARSER_SITE = https://pypi.python.org/packages/be/64/1bb257ffb17d01f4a38d7ce686809a736837ad4371bcc5c42ba7a715c3ac +PYTHON_PYCPARSER_SITE = https://files.pythonhosted.org/packages/68/9e/49196946aee219aead1290e00d1e7fdeab8567783e83e1b9ab5585e6206a PYTHON_PYCPARSER_SETUP_TYPE = setuptools PYTHON_PYCPARSER_LICENSE = BSD-3-Clause PYTHON_PYCPARSER_LICENSE_FILES = LICENSE
Signature · 1 line
2.17.1
Thomas Petazzoni
AppliedPATCH 9/23 python-pycparser: bump to version 2.19
Hello,
Quoted 7 lines · Asaf Kahlon
Also add license hash.
Signed-off-by Asaf Kahlon <[email protected]>--- package/python-pycparser/python-pycparser.hash | 8 +++++--- package/python-pycparser/python-pycparser.mk | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 10/23 python-pynacl: bump to version 1.2.1
In reply to Asaf KahlonAlso add license hash.
--- package/python-pynacl/python-pynacl.hash | 8 +++++--- package/python-pynacl/python-pynacl.mk | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-)
package/python-pynacl/python-pynacl.hash +5 -3
@@ -1,3 +1,5 @@ -# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=12fd03d8ce64e0318cb1c69272f17704, sha256 locally computed. -md5 12fd03d8ce64e0318cb1c69272f17704 PyNaCl-1.0.1.tar.gz -sha256 d21d7a7358a85fb9b9ddadfbd1176c40fe199334fe2202881255e77f6d3773f4 PyNaCl-1.0.1.tar.gz +# md5, sha256 from https://pypi.org/pypi/pynacl/json +md5 1db3e111775fbe6b66772ff30af7a956 PyNaCl-1.2.1.tar.gz +sha256 e0d38fa0a75f65f556fb912f2c6790d1fa29b7dd27a1d9cc5591b281321eaaa9 PyNaCl-1.2.1.tar.gz +# Locally computed sha256 checksums +sha256 d3174ad63e721d4c9dccb8ad4320848992d314369bc46319720b5802c9153fe9 LICENSE
package/python-pynacl/python-pynacl.mk +2 -2
@@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_PYNACL_VERSION = 1.0.1 +PYTHON_PYNACL_VERSION = 1.2.1 PYTHON_PYNACL_SOURCE = PyNaCl-$(PYTHON_PYNACL_VERSION).tar.gz -PYTHON_PYNACL_SITE = https://pypi.python.org/packages/source/P/PyNaCl +PYTHON_PYNACL_SITE = https://files.pythonhosted.org/packages/08/19/cf56e60efd122fa6d2228118a9b345455b13ffe16a14be81d025b03b261f PYTHON_PYNACL_LICENSE = Apache-2.0 PYTHON_PYNACL_LICENSE_FILES = LICENSE PYTHON_PYNACL_SETUP_TYPE = setuptools
Signature · 1 line
2.17.1
Thomas Petazzoni
AppliedPATCH 10/23 python-pynacl: bump to version 1.2.1
Hello,
Quoted 7 lines · Asaf Kahlon
Also add license hash.
Signed-off-by Asaf Kahlon <[email protected]>--- package/python-pynacl/python-pynacl.hash | 8 +++++--- package/python-pynacl/python-pynacl.mk | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-)
Applied to master after adding Yegor Reviewed-by, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 11/23 python-pyopenssl: bump to version 18.0.0
In reply to Asaf KahlonAlso add license hash
--- package/python-pyopenssl/python-pyopenssl.hash | 8 +++++--- package/python-pyopenssl/python-pyopenssl.mk | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-)
package/python-pyopenssl/python-pyopenssl.hash +5 -3
@@ -1,3 +1,5 @@ -# md5 from https://pypi.python.org/pypi/pyopenssl/json, sha256 locally computed -md5 0704ca95106960375cfe78259453094a pyOpenSSL-17.0.0.tar.gz -sha256 48abfe9d2bb8eb8d8947c8452b0223b7b1be2383b332f3b4f248fe59ef0bafdd pyOpenSSL-17.0.0.tar.gz +# md5, sha256 from https://pypi.org/pypi/pyopenssl/json +md5 c92e9c85b520b7e153fef0f7f3c5dda7 pyOpenSSL-18.0.0.tar.gz +sha256 6488f1423b00f73b7ad5167885312bb0ce410d3312eb212393795b53c8caa580 pyOpenSSL-18.0.0.tar.gz +# Locally computed sha256 +sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE
package/python-pyopenssl/python-pyopenssl.mk +2 -2
@@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_PYOPENSSL_VERSION = 17.0.0 +PYTHON_PYOPENSSL_VERSION = 18.0.0 PYTHON_PYOPENSSL_SOURCE = pyOpenSSL-$(PYTHON_PYOPENSSL_VERSION).tar.gz -PYTHON_PYOPENSSL_SITE = https://pypi.python.org/packages/9f/32/80fe4fddeb731b7766cd09fe0b2032a91b43dae655e216792af2a6ae3190 +PYTHON_PYOPENSSL_SITE = https://files.pythonhosted.org/packages/9b/7c/ee600b2a9304d260d96044ab5c5e57aa489755b92bbeb4c0803f9504f480 PYTHON_PYOPENSSL_LICENSE = Apache-2.0 PYTHON_PYOPENSSL_LICENSE_FILES = LICENSE PYTHON_PYOPENSSL_SETUP_TYPE = setuptools
Signature · 1 line
2.17.1
Thomas Petazzoni
AppliedPATCH 11/23 python-pyopenssl: bump to version 18.0.0
Hello,
Quoted 7 lines · Asaf Kahlon
Also add license hash
Signed-off-by Asaf Kahlon <[email protected]>--- package/python-pyopenssl/python-pyopenssl.hash | 8 +++++--- package/python-pyopenssl/python-pyopenssl.mk | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-)
Applied to master with Yegor Reviewed-by, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 12/23 python-sdnotify: bump to version 0.3.2
In reply to Asaf KahlonAlso add license hash.
--- package/python-sdnotify/python-sdnotify.hash | 9 +++++---- package/python-sdnotify/python-sdnotify.mk | 4 ++-- 2 files changed, 7 insertions(+), 6 deletions(-)
package/python-sdnotify/python-sdnotify.hash +5 -4
@@ -1,4 +1,5 @@ -# md5 from https://pypi.python.org/pypi/sdnotify/json -md5 a182c1ef47e1c6c965771aa3029da16f sdnotify-0.3.1.tar.gz -# sha256 calculated by scanpypi -sha256 e69220d4f6cbb02130f43f929350a80cf51033fde47dcb056fbda71e2dff2d5a sdnotify-0.3.1.tar.gz +# md5, sha256 from https://pypi.org/pypi/sdnotify/json +md5 749ddca1c70be1697fecc443fb1fdb16 sdnotify-0.3.2.tar.gz +sha256 73977fc746b36cc41184dd43c3fe81323e7b8b06c2bb0826c4f59a20c56bb9f1 sdnotify-0.3.2.tar.gz +# Locally computed sha256 checksums +sha256 038351c6f544a386576da41d5fe1320437ed211507565dd9c334c8290055b88e LICENSE.txt
package/python-sdnotify/python-sdnotify.mk +2 -2
@@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_SDNOTIFY_VERSION = 0.3.1 +PYTHON_SDNOTIFY_VERSION = 0.3.2 PYTHON_SDNOTIFY_SOURCE = sdnotify-$(PYTHON_SDNOTIFY_VERSION).tar.gz -PYTHON_SDNOTIFY_SITE = https://pypi.python.org/packages/57/f9/ae03e3ebc83be0d501cde1f5d6d23dee74f5c2105f2cdb98bff4fa9ada9c +PYTHON_SDNOTIFY_SITE = https://files.pythonhosted.org/packages/ce/d8/9fdc36b2a912bf78106de4b3f0de3891ff8f369e7a6f80be842b8b0b6bd5 PYTHON_SDNOTIFY_SETUP_TYPE = distutils PYTHON_SDNOTIFY_LICENSE = MIT PYTHON_SDNOTIFY_LICENSE_FILES = LICENSE.txt
Signature · 1 line
2.17.1
Thomas Petazzoni
AppliedPATCH 12/23 python-sdnotify: bump to version 0.3.2
Hello,
Quoted 7 lines · Asaf Kahlon
Also add license hash.
Signed-off-by Asaf Kahlon <[email protected]>--- package/python-sdnotify/python-sdnotify.hash | 9 +++++---- package/python-sdnotify/python-sdnotify.mk | 4 ++-- 2 files changed, 7 insertions(+), 6 deletions(-)
Applied to master with Yegor Reviewed-by, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 13/23 python-sortedcontainers: bump to version 2.0.5
In reply to Asaf KahlonAlso add license hash.
--- .../python-sortedcontainers/python-sortedcontainers.hash | 8 +++++--- .../python-sortedcontainers/python-sortedcontainers.mk | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-)
package/python-sortedcontainers/python-sortedcontainers.hash +5 -3
@@ -1,3 +1,5 @@ -# md5 from https://pypi.python.org/pypi/sortedcontainers/json, sha256 locally computed -md5 ad4f00e377ad934954ac90fcac0b185f sortedcontainers-1.5.7.tar.gz -sha256 0ff0442865e492bc50476b18000fb8400cf2472d14d21a92b27cd7c5184550ea sortedcontainers-1.5.7.tar.gz +# md5, sha256 from https://pypi.org/pypi/sortedcontainers/json +md5 5f079b1131d8b1a3ed025e7e679b1497 sortedcontainers-2.0.5.tar.gz +sha256 b74f2756fb5e23512572cc76f0fe0832fd86310f77dfee54335a35fb33f6b950 sortedcontainers-2.0.5.tar.gz +# Locally computed sha256 checksums +sha256 7dcf4a5137118a925727b8a1690bc6ea70b156ee6739dbb51fd4d386718d6ce5 LICENSE
package/python-sortedcontainers/python-sortedcontainers.mk +2 -2
@@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_SORTEDCONTAINERS_VERSION = 1.5.7 +PYTHON_SORTEDCONTAINERS_VERSION = 2.0.5 PYTHON_SORTEDCONTAINERS_SOURCE = sortedcontainers-$(PYTHON_SORTEDCONTAINERS_VERSION).tar.gz -PYTHON_SORTEDCONTAINERS_SITE = https://pypi.python.org/packages/8d/aa/5369362d730728639ba434318df26b5c554804578d1c48381367ea5377c6 +PYTHON_SORTEDCONTAINERS_SITE = https://files.pythonhosted.org/packages/b9/30/accbf5c09c5fa25a3d5f762761e0d7ece6fdb12f2a9c43b840f73cef43ef PYTHON_SORTEDCONTAINERS_SETUP_TYPE = setuptools PYTHON_SORTEDCONTAINERS_LICENSE = Apache-2.0 PYTHON_SORTEDCONTAINERS_LICENSE_FILES = LICENSE
Signature · 1 line
2.17.1
Thomas Petazzoni
AppliedPATCH 13/23 python-sortedcontainers: bump to version 2.0.5
Hello,
Quoted 7 lines · Asaf Kahlon
Also add license hash.
Signed-off-by Asaf Kahlon <[email protected]>--- .../python-sortedcontainers/python-sortedcontainers.hash | 8 +++++--- .../python-sortedcontainers/python-sortedcontainers.mk | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-)
Applied to master with Yegor Reviewed-by, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 14/23 python-txaio: bump to version 18.8.1
In reply to Asaf KahlonAlso add license hash.
--- package/python-txaio/python-txaio.hash | 9 +++++---- package/python-txaio/python-txaio.mk | 4 ++-- 2 files changed, 7 insertions(+), 6 deletions(-)
package/python-txaio/python-txaio.hash +5 -4
@@ -1,4 +1,5 @@ -# md5 from https://pypi.python.org/pypi/txaio/json, sha256 locally computed -md5 a20e3431c95896a49fa3ffa84f77cde1 txaio-2.8.2.tar.gz -sha256 484cd6c4cdd3f6081b87188f3b2b9a36e02fba6816e8256917c4f6571b567571 txaio-2.8.2.tar.gz -sha256 0387eefce570453daaa60633f28676003731eeca28b2d0a0071c628e3a0004ef LICENSE +# md5, sha256 from https://pypi.org/pypi/txaio/json +md5 ecdd4d0f401c7f01f22830b4d2788593 txaio-18.8.1.tar.gz +sha256 67e360ac73b12c52058219bb5f8b3ed4105d2636707a36a7cdafb56fe06db7fe txaio-18.8.1.tar.gz +# Locally computed sha256 checksums +sha256 0387eefce570453daaa60633f28676003731eeca28b2d0a0071c628e3a0004ef LICENSE
package/python-txaio/python-txaio.mk +2 -2
@@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_TXAIO_VERSION = 2.8.2 +PYTHON_TXAIO_VERSION = 18.8.1 PYTHON_TXAIO_SOURCE = txaio-$(PYTHON_TXAIO_VERSION).tar.gz -PYTHON_TXAIO_SITE = https://pypi.python.org/packages/d6/95/d0c67304515f352342bc8fd14e5a3e7ca924134608acb730916073b18464 +PYTHON_TXAIO_SITE = https://files.pythonhosted.org/packages/c1/99/81de004578e9afe017bb1d4c8968088a33621c05449fe330bdd7016d5377 PYTHON_TXAIO_LICENSE = MIT PYTHON_TXAIO_LICENSE_FILES = LICENSE PYTHON_TXAIO_SETUP_TYPE = setuptools
Signature · 1 line
2.17.1
Thomas Petazzoni
AppliedPATCH 14/23 python-txaio: bump to version 18.8.1
Hello,
Quoted 7 lines · Asaf Kahlon
Also add license hash.
Signed-off-by Asaf Kahlon <[email protected]>--- package/python-txaio/python-txaio.hash | 9 +++++---- package/python-txaio/python-txaio.mk | 4 ++-- 2 files changed, 7 insertions(+), 6 deletions(-)
Applied to master with Yegor Reviewed-by, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 15/23 python-txtorcon: bump to version 18.0.2
In reply to Asaf KahlonAlso add license hash.
--- package/python-txtorcon/python-txtorcon.hash | 9 +++++---- package/python-txtorcon/python-txtorcon.mk | 4 ++-- 2 files changed, 7 insertions(+), 6 deletions(-)
package/python-txtorcon/python-txtorcon.hash +5 -4
@@ -1,4 +1,5 @@ -# md5 from https://pypi.python.org/pypi/txtorcon/json, sha256 locally computed -md5 4d7380fa7e721c77cac103d971882374 txtorcon-0.19.3.tar.gz -sha256 f73396667909a3c7a98f4dd865edf4ed6a2518ee5a935d92e18b8a479ec244fd txtorcon-0.19.3.tar.gz -sha256 3ada1c32ef38c23d96d7f4e8f4a226c527f51e0202883c7543b06f9cc5228a2b LICENSE +# md5, sha256 from https://pypi.org/pypi/txtorcon/json +md5 76ca73a069947726216477c8da75f798 txtorcon-18.0.2.tar.gz +sha256 ce50fdd00abb8b490b72809a2c664684f67f3c9467f392642d36f58309395a87 txtorcon-18.0.2.tar.gz +# Locally computed sha256 checksums +sha256 3ada1c32ef38c23d96d7f4e8f4a226c527f51e0202883c7543b06f9cc5228a2b LICENSE
package/python-txtorcon/python-txtorcon.mk +2 -2
@@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_TXTORCON_VERSION = 0.19.3 +PYTHON_TXTORCON_VERSION = 18.0.2 PYTHON_TXTORCON_SOURCE = txtorcon-$(PYTHON_TXTORCON_VERSION).tar.gz -PYTHON_TXTORCON_SITE = https://pypi.python.org/packages/05/4b/d2fbfdc08ab83c299f2ad22ba38ea35f71f1c966684f5754e079108a1f64 +PYTHON_TXTORCON_SITE = https://files.pythonhosted.org/packages/0d/cf/d60e12055c2930aa5a347043423e59e29241d03fd1f2316d1dea08db383a PYTHON_TXTORCON_SETUP_TYPE = setuptools PYTHON_TXTORCON_LICENSE = MIT PYTHON_TXTORCON_LICENSE_FILES = LICENSE
Signature · 1 line
2.17.1
PATCH 15/23 python-txtorcon: bump to version 18.0.2
Hello,
+ Thomas
On Wed, Sep 26, 2018 at 12:34 PM, Asaf Kahlon wrote:
[snip]
package/python-txtorcon/python-txtorcon.mk line 7
Quoted 2 lines
package/python-txtorcon/python-txtorcon.mk +1
-1-PYTHON_TXTORCON_VERSION = 0.19.3 +PYTHON_TXTORCON_VERSION = 18.0.2
In the upstream code there is an issue with Python 2:
https://gitlab.com/RicardoMartincoski/buildroot/-/jobs/102483482
|# python -c 'import txtorcon' |Traceback (most recent call last): | File "<string>", line 1, in <module> | File "usr/lib/python2.7/site-packages/txtorcon/__init__.py", line 16, in <module> | File "usr/lib/python2.7/site-packages/txtorcon/controller.py", line 43, in <module> |ImportError: No module named controller_py3 |# echo $? |1
Here is the relevant code:
|try: | from .controller_py3 import _AsyncOnionAuthContext | HAVE_ASYNC = True |except SyntaxError: | HAVE_ASYNC = False
The upstream has a patch related to this (I did not tested it):
https://github.com/meejah/txtorcon/commit/c160531e885a3695ec1627070b6f48dfc443f3c8
and also there is a new release 18.1.0 containing it.
Assuming the patch solves the issue, what would be the best approach in this case?
- resend the remaining patches of the series, bumping directly to 18.1.0;
- resend the remaining patches of the series, adding the upstream patch to the bump to 18.0.2;
- apply the remaining patches of the series, and later add a followup patch to solve the runtime issue either by adding the patch file or by bumping to 18.1.0.
Regards,
Ricardo
PATCH 15/23 python-txtorcon: bump to version 18.0.2
Hello,
Quoted 33 lines · Ricardo Martincoski
Hello,
+ Thomas
On Wed, Sep 26, 2018 at 12:34 PM, Asaf Kahlon wrote:
[snip]
package/python-txtorcon/python-txtorcon.mk line 7
Quoted 2 lines
package/python-txtorcon/python-txtorcon.mk +1
-1-PYTHON_TXTORCON_VERSION = 0.19.3 +PYTHON_TXTORCON_VERSION = 18.0.2In the upstream code there is an issue with Python 2:
https://gitlab.com/RicardoMartincoski/buildroot/-/jobs/102483482|# python -c 'import txtorcon' |Traceback (most recent call last): | File "<string>", line 1, in <module> | File "usr/lib/python2.7/site-packages/txtorcon/__init__.py", line 16, in <module> | File "usr/lib/python2.7/site-packages/txtorcon/controller.py", line 43, in <module> |ImportError: No module named controller_py3 |# echo $? |1Here is the relevant code:
|try: | from .controller_py3 import _AsyncOnionAuthContext | HAVE_ASYNC = True |except SyntaxError: | HAVE_ASYNC = FalseThe upstream has a patch related to this (I did not tested it):
https://github.com/meejah/txtorcon/commit/c160531e885a3695ec1627070b6f48dfc443f3c8
and also there is a new release 18.1.0 containing it.
Quoted 8 lines
Assuming the patch solves the issue, what would be the best approach in this case?
- resend the remaining patches of the series, bumping directly to 18.1.0;
- resend the remaining patches of the series, adding the upstream patch to the bump to 18.0.2;
- apply the remaining patches of the series, and later add a followup patch to solve the runtime issue either by adding the patch file or by bumping to 18.1.0.
Regarding 18.0.2 with a patch vs. 18.1.0 - I would go with 18.1.0. If we can use a newer version and don't use a patch on Buildroot, so in my opinion it's preferred.
Regarding the other patches of the series - it's possible to send the patches again, but since only one of them will be changed I would prefer applying the series (with or without that one), and then send a patch for 18.1.0.
Quoted 4 lines
Regards,
Ricardo
Asaf
PATCH 15/23 python-txtorcon: bump to version 18.0.2
In reply to Ricardo MartincoskiHello,
Quoted 4 lines · Ricardo Martincoski
The upstream has a patch related to this (I did not tested it):
https://github.com/meejah/txtorcon/commit/c160531e885a3695ec1627070b6f48dfc443f3c8
and also there is a new release 18.1.0 containing it.
Quoted 8 lines
Assuming the patch solves the issue, what would be the best approach in this case?
- resend the remaining patches of the series, bumping directly to 18.1.0;
- resend the remaining patches of the series, adding the upstream patch to the bump to 18.0.2;
- apply the remaining patches of the series, and later add a followup patch to solve the runtime issue either by adding the patch file or by bumping to 18.1.0.
This last option looks good to me.
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 15/23 python-txtorcon: bump to version 18.0.2
In reply to Asaf KahlonHello,
Quoted 7 lines · Asaf Kahlon
Also add license hash.
Signed-off-by Asaf Kahlon <[email protected]>--- package/python-txtorcon/python-txtorcon.hash | 9 +++++---- package/python-txtorcon/python-txtorcon.mk | 4 ++-- 2 files changed, 7 insertions(+), 6 deletions(-)
As suggested by Ricardo, I have bumped to 18.1.0 instead of 1.8.0.2. I've added Yegor Reviewed-by and applied. Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 16/23 python-u-msgpack: bump to version 2.5.0
In reply to Asaf KahlonAlso add license hash.
--- package/python-u-msgpack/python-u-msgpack.hash | 8 +++++--- package/python-u-msgpack/python-u-msgpack.mk | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-)
package/python-u-msgpack/python-u-msgpack.hash +5 -3
@@ -1,3 +1,5 @@ -# md5 from https://pypi.python.org/pypi/u-msgpack-python/json, sha256 locally computed -md5 f5adfb3e19910d8a41e331d3b03aa7c6 u-msgpack-python-2.2.tar.gz -sha256 cdd5a88f2313856a6a9f481f652dab9edd5731059badbb0111280f27249930d7 u-msgpack-python-2.2.tar.gz +# md5, sha256 from https://pypi.org/pypi/u-msgpack-python/json +md5 ba0ec9036933edbbf33a344a5c72dd14 u-msgpack-python-2.5.0.tar.gz +sha256 7ff18ae3721fa75571f9329c08f7c0120416a6ae36194bd8674f65b3b78d0702 u-msgpack-python-2.5.0.tar.gz +# Locally computed sha256 +sha256 0603a3e697a80b13640e3023bb534727f683ada5c4b0b0149d001ec5272d64f4 LICENSE
package/python-u-msgpack/python-u-msgpack.mk +2 -2
@@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_U_MSGPACK_VERSION = 2.2 +PYTHON_U_MSGPACK_VERSION = 2.5.0 PYTHON_U_MSGPACK_SOURCE = u-msgpack-python-$(PYTHON_U_MSGPACK_VERSION).tar.gz -PYTHON_U_MSGPACK_SITE = https://pypi.python.org/packages/66/5b/36fe0fcf290bd39f6ef6c1f5924cf0a9a76b0dc94575975ad7d318619cf9 +PYTHON_U_MSGPACK_SITE = https://files.pythonhosted.org/packages/f5/97/36d5ac7d71451e282051e48219cc825637f617a8f620a2edf90ab61b7f97 PYTHON_U_MSGPACK_SETUP_TYPE = setuptools PYTHON_U_MSGPACK_LICENSE = MIT PYTHON_U_MSGPACK_LICENSE_FILES = LICENSE
Signature · 1 line
2.17.1
Thomas Petazzoni
AppliedPATCH 16/23 python-u-msgpack: bump to version 2.5.0
Hello,
Quoted 7 lines · Asaf Kahlon
Also add license hash.
Signed-off-by Asaf Kahlon <[email protected]>--- package/python-u-msgpack/python-u-msgpack.hash | 8 +++++--- package/python-u-msgpack/python-u-msgpack.mk | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-)
Applied to master after adding Yegor Reviewed-by, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 17/23 python-zope-interface: bump to version 4.5.0
In reply to Asaf KahlonFix indentation for license hash.
--- package/python-zope-interface/python-zope-interface.hash | 9 +++++---- package/python-zope-interface/python-zope-interface.mk | 4 ++-- 2 files changed, 7 insertions(+), 6 deletions(-)
package/python-zope-interface/python-zope-interface.hash +5 -4
@@ -1,4 +1,5 @@ -# md5 from https://pypi.python.org/pypi/zope.interface/json, sha256 locally computed -md5 8700a4f527c1203b34b10c2b4e7a6912 zope.interface-4.4.3.tar.gz -sha256 d6d26d5dfbfd60c65152938fcb82f949e8dada37c041f72916fef6621ba5c5ce zope.interface-4.4.3.tar.gz -sha256 3e671db11df687516cc1db5b3d65e4aa383eaca3c20cea3faf53a0f7335d0a3c LICENSE.txt +# md5, sha256 from https://pypi.org/pypi/zope-interface/json +md5 7b669cd692d817772c61d2e3ad0f1e71 zope.interface-4.5.0.tar.gz +sha256 57c38470d9f57e37afb460c399eb254e7193ac7fb8042bd09bdc001981a9c74c zope.interface-4.5.0.tar.gz +# Locally computed sha256 checksums +sha256 3e671db11df687516cc1db5b3d65e4aa383eaca3c20cea3faf53a0f7335d0a3c LICENSE.txt
package/python-zope-interface/python-zope-interface.mk +2 -2
@@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_ZOPE_INTERFACE_VERSION = 4.4.3 +PYTHON_ZOPE_INTERFACE_VERSION = 4.5.0 PYTHON_ZOPE_INTERFACE_SOURCE = zope.interface-$(PYTHON_ZOPE_INTERFACE_VERSION).tar.gz -PYTHON_ZOPE_INTERFACE_SITE = https://pypi.python.org/packages/bd/d2/25349ed41f9dcff7b3baf87bd88a4c82396cf6e02f1f42bb68657a3132af +PYTHON_ZOPE_INTERFACE_SITE = https://files.pythonhosted.org/packages/ac/8a/657532df378c2cd2a1fe6b12be3b4097521570769d4852ec02c24bd3594e PYTHON_ZOPE_INTERFACE_SETUP_TYPE = setuptools PYTHON_ZOPE_INTERFACE_LICENSE = ZPL-2.1 PYTHON_ZOPE_INTERFACE_LICENSE_FILES = LICENSE.txt
Signature · 1 line
2.17.1
Thomas Petazzoni
AppliedPATCH 17/23 python-zope-interface: bump to version 4.5.0
Hello,
Quoted 7 lines · Asaf Kahlon
Fix indentation for license hash.
Signed-off-by Asaf Kahlon <[email protected]>--- package/python-zope-interface/python-zope-interface.hash | 9 +++++---- package/python-zope-interface/python-zope-interface.mk | 4 ++-- 2 files changed, 7 insertions(+), 6 deletions(-)
Applied to master with Yegor Reviewed-by, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 18/23 python-pytrie: bump to version 0.3.1
In reply to Asaf KahlonFor some reason (probably not on purpose) the license file was removed from MANIFEST.in, and it's not available after package extraction. I replaced it with PKG-INFO for now, and opened a PR on github:
https://github.com/gsakkis/pytrie/pull/3
--- package/python-pytrie/Config.in | 1 + package/python-pytrie/python-pytrie.hash | 8 +++++--- package/python-pytrie/python-pytrie.mk | 8 ++++---- 3 files changed, 10 insertions(+), 7 deletions(-)
package/python-pytrie/Config.in +1 -0
@@ -1,5 +1,6 @@ config BR2_PACKAGE_PYTHON_PYTRIE bool "python-pytrie" + select BR2_PACKAGE_PYTHON_SORTEDCONTAINERS # runtime help A pure Python implementation of the trie data structure.
package/python-pytrie/python-pytrie.hash +5 -3
@@ -1,3 +1,5 @@ -# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=5997b46c854a68bc588f4527c987663a, sha256 locally computed. -md5 5997b46c854a68bc588f4527c987663a PyTrie-0.2.tar.gz -sha256 b272021351efadc6757591aac03ed4794bdfd091122204a4673e94bfb66cc500 PyTrie-0.2.tar.gz +# md5, sha256 from https://pypi.org/pypi/pytrie/json +md5 f7c7184124013abcc18a3e3b638d32ae PyTrie-0.3.1.tar.gz +sha256 3bb7d122a549d8006c9cba2feecac20bceda9f8c0e2a3fa99a5584cfe0dec523 PyTrie-0.3.1.tar.gz +# Locally computed sha256 +sha256 153931d44112319a1e1653752c881fb7ef092f636db31f4c36b252666e95efbd PKG-INFO
package/python-pytrie/python-pytrie.mk +4 -4
@@ -4,11 +4,11 @@ # ################################################################################ -PYTHON_PYTRIE_VERSION = 0.2 -PYTHON_PYTRIE_SITE = https://pypi.python.org/packages/source/P/PyTrie +PYTHON_PYTRIE_VERSION = 0.3.1 PYTHON_PYTRIE_SOURCE = PyTrie-$(PYTHON_PYTRIE_VERSION).tar.gz PYTHON_PYTRIE_LICENSE = BSD-3-Clause -PYTHON_PYTRIE_LICENSE_FILES = LICENSE -PYTHON_PYTRIE_SETUP_TYPE = distutils +PYTHON_PYTRIE_LICENSE_FILES = PKG-INFO +PYTHON_PYTRIE_SITE = https://files.pythonhosted.org/packages/e1/eb/ae1f098969c9e9b81e821fb8e916cbf720b900ec1c0f3359e47a427395ec +PYTHON_PYTRIE_SETUP_TYPE = setuptools $(eval $(python-package))
Signature · 1 line
2.17.1
PATCH 19/23 python-passlib: new package
In reply to Asaf Kahloncomprehensive password hashing framework supporting over 30 schemes.
--- DEVELOPERS | 1 + package/Config.in | 1 + package/python-passlib/Config.in | 7 +++++++ package/python-passlib/python-passlib.hash | 5 +++++ package/python-passlib/python-passlib.mk | 14 ++++++++++++++ 5 files changed, 28 insertions(+) create mode 100644 package/python-passlib/Config.in create mode 100644 package/python-passlib/python-passlib.hash create mode 100644 package/python-passlib/python-passlib.mk
DEVELOPERS +1 -0
@@ -204,6 +204,7 @@ F: package/python-engineio/ F: package/python-fire/ F: package/python-jsonmodels/ F: package/python-paramiko/ +F: package/python-passlib/ F: package/python-pyasn1/ F: package/python-pyroute2/ F: package/python-pytz/
package/Config.in +1 -0
@@ -899,6 +899,7 @@ menu "External python modules" source "package/python-paho-mqtt/Config.in" source "package/python-pam/Config.in" source "package/python-paramiko/Config.in" + source "package/python-passlib/Config.in" source "package/python-pathlib2/Config.in" source "package/python-pathpy/Config.in" source "package/python-pathtools/Config.in"
package/python-passlib/Config.in new file +7 -0
@@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_PASSLIB + bool "python-passlib" + help + comprehensive password hashing framework supporting over 30 + schemes. + + https://bitbucket.org/ecollins/passlib
package/python-passlib/python-passlib.hash new file +5 -0
@@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/passlib/json +md5 254869dae3fd9f09f0746a3cb29a0b15 passlib-1.7.1.tar.gz +sha256 3d948f64138c25633613f303bcc471126eae67c04d5e3f6b7b8ce6242f8653e0 passlib-1.7.1.tar.gz +# Locally computed sha256 checksums +sha256 ae8cd74bd5be7be586c52def8bcddfe817872cf2e0782b159d37f88bf0ff11fc LICENSE
package/python-passlib/python-passlib.mk new file +14 -0
@@ -0,0 +1,14 @@ +################################################################################ +# +# python-passlib +# +################################################################################ + +PYTHON_PASSLIB_VERSION = 1.7.1 +PYTHON_PASSLIB_SOURCE = passlib-$(PYTHON_PASSLIB_VERSION).tar.gz +PYTHON_PASSLIB_SITE = https://files.pythonhosted.org/packages/25/4b/6fbfc66aabb3017cd8c3bd97b37f769d7503ead2899bf76e570eb91270de +PYTHON_PASSLIB_SETUP_TYPE = setuptools +PYTHON_PASSLIB_LICENSE = BSD +PYTHON_PASSLIB_LICENSE_FILES = LICENSE + +$(eval $(python-package))
Signature · 1 line
2.17.1
PATCH 19/23 python-passlib: new package
Hello,
Quoted 1 line · Asaf Kahlon
+PYTHON_PASSLIB_LICENSE = BSD
This is not a valid SPDX license tag, it should have been BSD-3-Clause. Perhaps this should be fixed in scanpypi, so that it emits a warning about the license being imprecise ?
I fixed that up, added Yegor Reviewed-by, and applied. Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 19/23 python-passlib: new package
Quoted 10 lines · Thomas Petazzoni
Hello,
Quoted 1 line · Asaf Kahlon
+PYTHON_PASSLIB_LICENSE = BSD
This is not a valid SPDX license tag, it should have been BSD-3-Clause. Perhaps this should be fixed in scanpypi, so that it emits a warning about the license being imprecise ?
Put this on my TODO list.
Yegor
Quoted 7 lines
I fixed that up, added Yegor Reviewed-by, and applied. Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
PATCH 20/23 python-pyasn1-modules: new package
In reply to Asaf KahlonA collection of ASN.1-based protocols modules.
--- DEVELOPERS | 1 + package/Config.in | 1 + package/python-pyasn1-modules/Config.in | 7 +++++++ .../python-pyasn1-modules.hash | 5 +++++ .../python-pyasn1-modules/python-pyasn1-modules.mk | 14 ++++++++++++++ 5 files changed, 28 insertions(+) create mode 100644 package/python-pyasn1-modules/Config.in create mode 100644 package/python-pyasn1-modules/python-pyasn1-modules.hash create mode 100644 package/python-pyasn1-modules/python-pyasn1-modules.mk
DEVELOPERS +1 -0
@@ -206,6 +206,7 @@ F: package/python-jsonmodels/ F: package/python-paramiko/ F: package/python-passlib/ F: package/python-pyasn1/ +F: package/python-pyasn1-modules/ F: package/python-pyroute2/ F: package/python-pytz/ F: package/python-reentry/
package/Config.in +1 -0
@@ -920,6 +920,7 @@ menu "External python modules" source "package/python-pyasn/Config.in" source "package/python-pyasn-modules/Config.in" source "package/python-pyasn1/Config.in" + source "package/python-pyasn1-modules/Config.in" source "package/python-pycli/Config.in" source "package/python-pycparser/Config.in" source "package/python-pycrypto/Config.in"
package/python-pyasn1-modules/Config.in new file +7 -0
@@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_PYASN1_MODULES + bool "python-pyasn1-modules" + select BR2_PACKAGE_PYTHON_PYASN1 # runtime + help + A collection of ASN.1-based protocols modules. + + https://github.com/etingof/pyasn1-modules
package/python-pyasn1-modules/python-pyasn1-modules.hash new file +5 -0
@@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/pyasn1-modules/json +md5 65ce1ea1021679bffe96065baab232de pyasn1-modules-0.2.2.tar.gz +sha256 a0cf3e1842e7c60fde97cb22d275eb6f9524f5c5250489e292529de841417547 pyasn1-modules-0.2.2.tar.gz +# Locally computed sha256 checksums +sha256 f82128f64d567c333936a12b99a21d0e8cd66ce628d51ce0a7770cc38dc7fe43 LICENSE.txt
package/python-pyasn1-modules/python-pyasn1-modules.mk new file +14 -0
@@ -0,0 +1,14 @@ +################################################################################ +# +# python-pyasn1-modules +# +################################################################################ + +PYTHON_PYASN1_MODULES_VERSION = 0.2.2 +PYTHON_PYASN1_MODULES_SOURCE = pyasn1-modules-$(PYTHON_PYASN1_MODULES_VERSION).tar.gz +PYTHON_PYASN1_MODULES_SITE = https://files.pythonhosted.org/packages/37/33/74ebdc52be534e683dc91faf263931bc00ae05c6073909fde53999088541 +PYTHON_PYASN1_MODULES_SETUP_TYPE = setuptools +PYTHON_PYASN1_MODULES_LICENSE = BSD-2-Clause +PYTHON_PYASN1_MODULES_LICENSE_FILES = LICENSE.txt + +$(eval $(python-package))
Signature · 1 line
2.17.1
Thomas Petazzoni
AppliedPATCH 20/23 python-pyasn1-modules: new package
Hello,
Quoted 13 lines · Asaf Kahlon
A collection of ASN.1-based protocols modules.
Signed-off-by Asaf Kahlon <[email protected]>--- DEVELOPERS | 1 + package/Config.in | 1 + package/python-pyasn1-modules/Config.in | 7 +++++++ .../python-pyasn1-modules.hash | 5 +++++ .../python-pyasn1-modules/python-pyasn1-modules.mk | 14 ++++++++++++++ 5 files changed, 28 insertions(+) create mode 100644 package/python-pyasn1-modules/Config.in create mode 100644 package/python-pyasn1-modules/python-pyasn1-modules.hash create mode 100644 package/python-pyasn1-modules/python-pyasn1-modules.mk
Applied to master with Yegor Reviewed-by, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 21/23 python-pyhamcrest: new package
In reply to Asaf KahlonHamcrest framework for matcher objects.
--- DEVELOPERS | 1 + package/Config.in | 1 + package/python-pyhamcrest/Config.in | 8 ++++++++ package/python-pyhamcrest/python-pyhamcrest.hash | 5 +++++ package/python-pyhamcrest/python-pyhamcrest.mk | 14 ++++++++++++++ 5 files changed, 29 insertions(+) create mode 100644 package/python-pyhamcrest/Config.in create mode 100644 package/python-pyhamcrest/python-pyhamcrest.hash create mode 100644 package/python-pyhamcrest/python-pyhamcrest.mk
DEVELOPERS +1 -0
@@ -207,6 +207,7 @@ F: package/python-paramiko/ F: package/python-passlib/ F: package/python-pyasn1/ F: package/python-pyasn1-modules/ +F: package/python-pyhamcrest/ F: package/python-pyroute2/ F: package/python-pytz/ F: package/python-reentry/
package/Config.in +1 -0
@@ -929,6 +929,7 @@ menu "External python modules" source "package/python-pyftpdlib/Config.in" source "package/python-pygame/Config.in" source "package/python-pygments/Config.in" + source "package/python-pyhamcrest/Config.in" source "package/python-pyicu/Config.in" source "package/python-pyinotify/Config.in" source "package/python-pylibftdi/Config.in"
package/python-pyhamcrest/Config.in new file +8 -0
@@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_PYHAMCREST + bool "python-pyhamcrest" + select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime + select BR2_PACKAGE_PYTHON_SIX # runtime + help + Hamcrest framework for matcher objects. + + https://github.com/hamcrest/PyHamcrest
package/python-pyhamcrest/python-pyhamcrest.hash new file +5 -0
@@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/pyhamcrest/json +md5 8b833a3fa30197455df79424f30c8c3f PyHamcrest-1.9.0.tar.gz +sha256 8ffaa0a53da57e89de14ced7185ac746227a8894dbd5a3c718bf05ddbd1d56cd PyHamcrest-1.9.0.tar.gz +# Locally computed sha256 checksums +sha256 ec76c04449607010d061b1e29c9d20a5ffae74db9d04670ae82538ccfe68b941 LICENSE.txt
package/python-pyhamcrest/python-pyhamcrest.mk new file +14 -0
@@ -0,0 +1,14 @@ +################################################################################ +# +# python-pyhamcrest +# +################################################################################ + +PYTHON_PYHAMCREST_VERSION = 1.9.0 +PYTHON_PYHAMCREST_SOURCE = PyHamcrest-$(PYTHON_PYHAMCREST_VERSION).tar.gz +PYTHON_PYHAMCREST_SITE = https://files.pythonhosted.org/packages/a4/89/a469aad9256aedfbb47a29ec2b2eeb855d9f24a7a4c2ff28bd8d1042ef02 +PYTHON_PYHAMCREST_SETUP_TYPE = setuptools +PYTHON_PYHAMCREST_LICENSE = BSD-3-Clause +PYTHON_PYHAMCREST_LICENSE_FILES = LICENSE.txt + +$(eval $(python-package))
Signature · 1 line
2.17.1
PATCH 21/23 python-pyhamcrest: new package
Hello,
Quoted 13 lines · Asaf Kahlon
Hamcrest framework for matcher objects.
Signed-off-by Asaf Kahlon <[email protected]>--- DEVELOPERS | 1 + package/Config.in | 1 + package/python-pyhamcrest/Config.in | 8 ++++++++ package/python-pyhamcrest/python-pyhamcrest.hash | 5 +++++ package/python-pyhamcrest/python-pyhamcrest.mk | 14 ++++++++++++++ 5 files changed, 29 insertions(+) create mode 100644 package/python-pyhamcrest/Config.in create mode 100644 package/python-pyhamcrest/python-pyhamcrest.hash create mode 100644 package/python-pyhamcrest/python-pyhamcrest.mk
I've applied to master with Yegor Reviewed-by. However, I have a question, see below.
package/python-pyhamcrest/Config.in line 3
Quoted 3 lines
package/python-pyhamcrest/Config.in new file +3
-0+config BR2_PACKAGE_PYTHON_PYHAMCREST + bool "python-pyhamcrest" + select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime
How do you know, or how does scanpypi knows when setuptools is needed on the target vs. when it's only needed at build time on the build machine ?
Thanks,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 21/23 python-pyhamcrest: new package
Thomas, Yegor,
Quoted 21 lines · Thomas Petazzoni
Hello,
Quoted 13 lines · Asaf Kahlon
Hamcrest framework for matcher objects.
Signed-off-by Asaf Kahlon <[email protected]>--- DEVELOPERS | 1 + package/Config.in | 1 + package/python-pyhamcrest/Config.in | 8 ++++++++ package/python-pyhamcrest/python-pyhamcrest.hash | 5 +++++ package/python-pyhamcrest/python-pyhamcrest.mk | 14 ++++++++++++++ 5 files changed, 29 insertions(+) create mode 100644 package/python-pyhamcrest/Config.in create mode 100644 package/python-pyhamcrest/python-pyhamcrest.hash create mode 100644 package/python-pyhamcrest/python-pyhamcrest.mkI've applied to master with Yegor Reviewed-by. However, I have a question, see below.
Quoted 7 lines
package/python-pyhamcrest/Config.in line 3
Quoted 3 lines
package/python-pyhamcrest/Config.in new file +3
-0+config BR2_PACKAGE_PYTHON_PYHAMCREST + bool "python-pyhamcrest" + select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtimeHow do you know, or how does scanpypi knows when setuptools is needed on the target vs. when it's only needed at build time on the build machine ?
As far as I know, there's no special treatment for setuptools in scanpypi. For pyhamcrest, setuptools was added since it was explicitly mentioned under install_requires.
Generally, not adding setuptools to install_requires is much like not adding any other package and scanpypi won't catch this. (Yegor, correct me if I am wrong).
Most of the times, I try to run python and import the package for sanity check, but (at least from a first glance) I don't think there's a way to know exactly if setuptools is needed on target although not specified in install_requires.
Quoted 8 lines
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Regards,
Asaf.
PATCH 21/23 python-pyhamcrest: new package
Quoted 34 lines · Asaf Kahlon
Thomas, Yegor,
Quoted 21 lines · Thomas Petazzoni
Hello,
Quoted 13 lines · Asaf Kahlon
Hamcrest framework for matcher objects.
Signed-off-by Asaf Kahlon <[email protected]>--- DEVELOPERS | 1 + package/Config.in | 1 + package/python-pyhamcrest/Config.in | 8 ++++++++ package/python-pyhamcrest/python-pyhamcrest.hash | 5 +++++ package/python-pyhamcrest/python-pyhamcrest.mk | 14 ++++++++++++++ 5 files changed, 29 insertions(+) create mode 100644 package/python-pyhamcrest/Config.in create mode 100644 package/python-pyhamcrest/python-pyhamcrest.hash create mode 100644 package/python-pyhamcrest/python-pyhamcrest.mkI've applied to master with Yegor Reviewed-by. However, I have a question, see below.
Quoted 7 lines
package/python-pyhamcrest/Config.in line 3
Quoted 3 lines
package/python-pyhamcrest/Config.in new file +3
-0+config BR2_PACKAGE_PYTHON_PYHAMCREST + bool "python-pyhamcrest" + select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtimeHow do you know, or how does scanpypi knows when setuptools is needed on the target vs. when it's only needed at build time on the build machine ?
Quoted 10 lines
As far as I know, there's no special treatment for setuptools in scanpypi. For pyhamcrest, setuptools was added since it was explicitly mentioned under
install_requires.
Generally, not adding setuptools toinstall_requiresis much like not adding any other package and scanpypi won't catch this. (Yegor, correct me if I am wrong).
Most of the times, I try to run python and import the package for sanity check, but (at least from a first glance) I don't think there's a way to know exactly if setuptools is needed on target although not specified ininstall_requires.
This is my point of view too. In most cases setuotools is not needed for the module itself, but for the installed scripts.
Yegor
PATCH 22/23 python-twisted: bump to version 18.7.0
In reply to Asaf KahlonAdd license hash.
Add a patch to fit python3.7 syntax ("async" is now a keyword). The patch was already applied on upstream, but only after the last tag was created.
Fixes:
http://autobuild.buildroot.org/results/704/7043ccfac86439406480649b3ead4882112d36e2/
--- .../0001-Fix-syntax-for-python3.7.patch | 160 ++++++++++++++++++ package/python-twisted/Config.in | 2 + package/python-twisted/python-twisted.hash | 8 +- package/python-twisted/python-twisted.mk | 4 +- 4 files changed, 169 insertions(+), 5 deletions(-) create mode 100644 package/python-twisted/0001-Fix-syntax-for-python3.7.patch
package/python-twisted/0001-Fix-syntax-for-python3.7.patch new file +160 -0
@@ -0,0 +1,160 @@ +From ef2bd5d0c0ca66aae16bf1344dfb18d52a6f5c74 Mon Sep 17 00:00:00 2001 +From: Asaf Kahlon <[email protected]> +Date: Wed, 26 Sep 2018 17:47:02 +0300 +Subject: [PATCH 1/1] Fix syntax for python3.7 + +Based on upstream patch (dcaf946217b4ea1684e98a9ebc4f9925d76f3108) +to solve python3.7 syntax error with "async" keyword. + +Signed-off-by: Asaf Kahlon <[email protected]> +--- + src/twisted/conch/manhole.py | 15 ++++++++------- + src/twisted/mail/imap4.py | 19 +++++++++++-------- + src/twisted/python/compat.py | 24 ++++++++++++++++++++++++ + 3 files changed, 43 insertions(+), 15 deletions(-) + +diff --git a/src/twisted/conch/manhole.py b/src/twisted/conch/manhole.py +index 3326f90aa..17ca05c58 100644 +--- a/src/twisted/conch/manhole.py ++++ b/src/twisted/conch/manhole.py +@@ -19,7 +19,7 @@ from io import BytesIO + from twisted.conch import recvline + + from twisted.internet import defer +-from twisted.python.compat import _tokenize ++from twisted.python.compat import _tokenize, get_async_param + from twisted.python.htmlizer import TokenPrinter + + class FileWrapper: +@@ -151,9 +151,9 @@ class ManholeInterpreter(code.InteractiveInterpreter): + return failure + + +- def write(self, data, async=False): +- self.handler.addOutput(data, async) +- ++ def write(self, data, async_=None, **kwargs): ++ async_ = get_async_param(async_, **kwargs) ++ self.handler.addOutput(data, async_) + + + CTRL_C = b'\x03' +@@ -237,14 +237,15 @@ class Manhole(recvline.HistoricRecvLine): + return not w.endswith(b'\n') and not w.endswith(b'\x1bE') + + +- def addOutput(self, data, async=False): +- if async: ++ def addOutput(self, data, async_=None, **kwargs): ++ async_ = get_async_param(async_, **kwargs) ++ if async_: + self.terminal.eraseLine() + self.terminal.cursorBackward(len(self.lineBuffer) + len(self.ps[self.pn])) + + self.terminal.write(data) + +- if async: ++ if async_: + if self._needsNewline(): + self.terminal.nextLine() + +diff --git a/src/twisted/mail/imap4.py b/src/twisted/mail/imap4.py +index 0ca1f1c5e..295053a6c 100644 +--- a/src/twisted/mail/imap4.py ++++ b/src/twisted/mail/imap4.py +@@ -42,7 +42,7 @@ from twisted.python.compat import ( + _bytesChr, unichr as chr, _b64decodebytes as decodebytes, + _b64encodebytes as encodebytes, + intToBytes, iterbytes, long, nativeString, networkString, unicode, +- _matchingString, _PY3 ++ _matchingString, _PY3, get_async_param, + ) + from twisted.internet import interfaces + +@@ -1090,8 +1090,9 @@ class IMAP4Server(basic.LineReceiver, policies.TimeoutMixin): + self._respond(b'NO', tag, message) + + +- def sendUntaggedResponse(self, message, async=False): +- if not async or (self.blocked is None): ++ def sendUntaggedResponse(self, message, async_=None, **kwargs): ++ async_ = get_async_param(async_, **kwargs) ++ if not async_ or (self.blocked is None): + self._respond(message, None, None) + else: + self._queuedAsync.append(message) +@@ -2497,9 +2498,9 @@ class IMAP4Server(basic.LineReceiver, policies.TimeoutMixin): + # + def modeChanged(self, writeable): + if writeable: +- self.sendUntaggedResponse(message=b'[READ-WRITE]', async=True) ++ self.sendUntaggedResponse(message=b'[READ-WRITE]', async_=True) + else: +- self.sendUntaggedResponse(message=b'[READ-ONLY]', async=True) ++ self.sendUntaggedResponse(message=b'[READ-ONLY]', async_=True) + + + def flagsChanged(self, newFlags): +@@ -2508,14 +2509,16 @@ class IMAP4Server(basic.LineReceiver, policies.TimeoutMixin): + msg = intToBytes(mId) + ( + b' FETCH (FLAGS (' +b' '.join(encodedFlags) + b'))' + ) +- self.sendUntaggedResponse(msg, async=True) ++ self.sendUntaggedResponse(msg, async_=True) + + + def newMessages(self, exists, recent): + if exists is not None: +- self.sendUntaggedResponse(intToBytes(exists) + b' EXISTS', async=True) ++ self.sendUntaggedResponse( ++ intToBytes(exists) + b' EXISTS', async_=True) + if recent is not None: +- self.sendUntaggedResponse(intToBytes(recent) + b' RECENT', async=True) ++ self.sendUntaggedResponse( ++ intToBytes(recent) + b' RECENT', async_=True) + + + TIMEOUT_ERROR = error.TimeoutError() +diff --git a/src/twisted/python/compat.py b/src/twisted/python/compat.py +index 855e427aa..ba13bb4dd 100644 +--- a/src/twisted/python/compat.py ++++ b/src/twisted/python/compat.py +@@ -833,6 +833,29 @@ except ImportError: + from collections import Sequence + + ++def get_async_param(async_=None, **kwargs): ++ """ ++ Provide a backwards-compatible way to get async param value that does not ++ cause a syntax error under Python 3.7. ++ ++ @param async_: async_ param value (should default to None) ++ @type async_: L{bool} ++ ++ @param kwargs: keyword arguments of the caller (only async is allowed) ++ @type async_: L{dict} ++ ++ @raise TypeError: Both async_ and async specified. ++ ++ @return: Final async_ param value ++ @rtype: L{bool} ++ """ ++ if async_ is None and 'async' in kwargs: ++ async_ = kwargs.pop('async') ++ if kwargs: ++ raise TypeError ++ return bool(async_) ++ ++ + __all__ = [ + "reraise", + "execfile", +@@ -874,4 +897,5 @@ __all__ = [ + "raw_input", + "_tokenize", + "Sequence", ++ "get_async_param", + ] +-- +2.17.1 +
package/python-twisted/Config.in +2 -0
@@ -1,9 +1,11 @@ config BR2_PACKAGE_PYTHON_TWISTED bool "python-twisted" select BR2_PACKAGE_PYTHON_INCREMENTAL + select BR2_PACKAGE_PYTHON_ATTRS # runtime select BR2_PACKAGE_PYTHON_AUTOMAT # runtime select BR2_PACKAGE_PYTHON_CONSTANTLY # runtime select BR2_PACKAGE_PYTHON_HYPERLINK # runtime + select BR2_PACKAGE_PYTHON_PYHAMCREST # runtime select BR2_PACKAGE_PYTHON_ZOPE_INTERFACE # runtime help Twisted is an event-driven networking engine written in
package/python-twisted/python-twisted.hash +5 -3
@@ -1,3 +1,5 @@ -# md5 from https://pypi.python.org/pypi/twisted/json, sha256 locally computed -md5 cd5c287802dcbaf7be15cf937c922b71 Twisted-17.5.0.tar.bz2 -sha256 f198a494f0df2482f7c5f99d7f3eef33d22763ffc76641b36fec476b878002ea Twisted-17.5.0.tar.bz2 +# md5, sha256 from https://pypi.org/pypi/twisted/json +md5 16396b4d8d7fd0d668736b3d510279db Twisted-18.7.0.tar.bz2 +sha256 95ae985716e8107816d8d0df249d558dbaabb677987cc2ace45272c166b267e4 Twisted-18.7.0.tar.bz2 +# Locally computed sha256 +sha256 a516053f954d4f16fbdffa8924e42d6d2490a7241fe5de053541a766ae778fd4 LICENSE
package/python-twisted/python-twisted.mk +2 -2
@@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_TWISTED_VERSION = 17.5.0 +PYTHON_TWISTED_VERSION = 18.7.0 PYTHON_TWISTED_SOURCE = Twisted-$(PYTHON_TWISTED_VERSION).tar.bz2 -PYTHON_TWISTED_SITE = https://pypi.python.org/packages/31/bf/7f86a8f8b9778e90d8b2921e9f442a8c8aa33fd2489fc10f236bc8af1749 +PYTHON_TWISTED_SITE = https://files.pythonhosted.org/packages/90/50/4c315ce5d119f67189d1819629cae7908ca0b0a6c572980df5cc6942bc22 PYTHON_TWISTED_SETUP_TYPE = setuptools PYTHON_TWISTED_LICENSE = MIT PYTHON_TWISTED_LICENSE_FILES = LICENSE
Signature · 1 line
2.17.1
PATCH 22/23 python-twisted: bump to version 18.7.0
Quoted 11 lines · Asaf Kahlon
Add license hash.
Add a patch to fit python3.7 syntax ("async" is now a keyword). The patch was already applied on upstream, but only after the last tag was created.
Fixes:
http://autobuild.buildroot.org/results/704/7043ccfac86439406480649b3ead4882112d36e2/Signed-off-by Asaf Kahlon <[email protected]>
Quoted 222 lines
--- .../0001-Fix-syntax-for-python3.7.patch | 160 ++++++++++++++++++ package/python-twisted/Config.in | 2 + package/python-twisted/python-twisted.hash | 8 +- package/python-twisted/python-twisted.mk | 4 +- 4 files changed, 169 insertions(+), 5 deletions(-) create mode 100644 package/python-twisted/0001-Fix-syntax-for-python3.7.patchpackage/python-twisted/0001-Fix-syntax-for-python3.7.patch new file +160
-0@@ -0,0 +1,160 @@ +From ef2bd5d0c0ca66aae16bf1344dfb18d52a6f5c74 Mon Sep 17 00:00:00 2001 +From: Asaf Kahlon <[email protected]> +Date: Wed, 26 Sep 2018 17:47:02 +0300 +Subject: [PATCH 1/1] Fix syntax for python3.7 + +Based on upstream patch (dcaf946217b4ea1684e98a9ebc4f9925d76f3108) +to solve python3.7 syntax error with "async" keyword. + +Signed-off-by: Asaf Kahlon <[email protected]> +--- + src/twisted/conch/manhole.py | 15 ++++++++------- + src/twisted/mail/imap4.py | 19 +++++++++++-------- + src/twisted/python/compat.py | 24 ++++++++++++++++++++++++ + 3 files changed, 43 insertions(+), 15 deletions(-) + +diff --git a/src/twisted/conch/manhole.py b/src/twisted/conch/manhole.py +index 3326f90aa..17ca05c58 100644 +--- a/src/twisted/conch/manhole.py ++++ b/src/twisted/conch/manhole.py +@@ -19,7 +19,7 @@ from io import BytesIO + from twisted.conch import recvline + + from twisted.internet import defer +-from twisted.python.compat import _tokenize ++from twisted.python.compat import _tokenize, get_async_param + from twisted.python.htmlizer import TokenPrinter + + class FileWrapper: +@@ -151,9 +151,9 @@ class ManholeInterpreter(code.InteractiveInterpreter): + return failure + + +- def write(self, data, async=False): +- self.handler.addOutput(data, async) +- ++ def write(self, data, async_=None, **kwargs): ++ async_ = get_async_param(async_, **kwargs) ++ self.handler.addOutput(data, async_) + + + CTRL_C = b'\x03' +@@ -237,14 +237,15 @@ class Manhole(recvline.HistoricRecvLine): + return not w.endswith(b'\n') and not w.endswith(b'\x1bE') + + +- def addOutput(self, data, async=False): +- if async: ++ def addOutput(self, data, async_=None, **kwargs): ++ async_ = get_async_param(async_, **kwargs) ++ if async_: + self.terminal.eraseLine() + self.terminal.cursorBackward(len(self.lineBuffer) + len(self.ps[self.pn])) + + self.terminal.write(data) + +- if async: ++ if async_: + if self._needsNewline(): + self.terminal.nextLine() + +diff --git a/src/twisted/mail/imap4.py b/src/twisted/mail/imap4.py +index 0ca1f1c5e..295053a6c 100644 +--- a/src/twisted/mail/imap4.py ++++ b/src/twisted/mail/imap4.py +@@ -42,7 +42,7 @@ from twisted.python.compat import ( + _bytesChr, unichr as chr, _b64decodebytes as decodebytes, + _b64encodebytes as encodebytes, + intToBytes, iterbytes, long, nativeString, networkString, unicode, +- _matchingString, _PY3 ++ _matchingString, _PY3, get_async_param, + ) + from twisted.internet import interfaces + +@@ -1090,8 +1090,9 @@ class IMAP4Server(basic.LineReceiver, policies.TimeoutMixin): + self._respond(b'NO', tag, message) + + +- def sendUntaggedResponse(self, message, async=False): +- if not async or (self.blocked is None): ++ def sendUntaggedResponse(self, message, async_=None, **kwargs): ++ async_ = get_async_param(async_, **kwargs) ++ if not async_ or (self.blocked is None): + self._respond(message, None, None) + else: + self._queuedAsync.append(message) +@@ -2497,9 +2498,9 @@ class IMAP4Server(basic.LineReceiver, policies.TimeoutMixin): + # + def modeChanged(self, writeable): + if writeable: +- self.sendUntaggedResponse(message=b'[READ-WRITE]', async=True) ++ self.sendUntaggedResponse(message=b'[READ-WRITE]', async_=True) + else: +- self.sendUntaggedResponse(message=b'[READ-ONLY]', async=True) ++ self.sendUntaggedResponse(message=b'[READ-ONLY]', async_=True) + + + def flagsChanged(self, newFlags): +@@ -2508,14 +2509,16 @@ class IMAP4Server(basic.LineReceiver, policies.TimeoutMixin): + msg = intToBytes(mId) + ( + b' FETCH (FLAGS (' +b' '.join(encodedFlags) + b'))' + ) +- self.sendUntaggedResponse(msg, async=True) ++ self.sendUntaggedResponse(msg, async_=True) + + + def newMessages(self, exists, recent): + if exists is not None: +- self.sendUntaggedResponse(intToBytes(exists) + b' EXISTS', async=True) ++ self.sendUntaggedResponse( ++ intToBytes(exists) + b' EXISTS', async_=True) + if recent is not None: +- self.sendUntaggedResponse(intToBytes(recent) + b' RECENT', async=True) ++ self.sendUntaggedResponse( ++ intToBytes(recent) + b' RECENT', async_=True) + + + TIMEOUT_ERROR = error.TimeoutError() +diff --git a/src/twisted/python/compat.py b/src/twisted/python/compat.py +index 855e427aa..ba13bb4dd 100644 +--- a/src/twisted/python/compat.py ++++ b/src/twisted/python/compat.py +@@ -833,6 +833,29 @@ except ImportError: + from collections import Sequence + + ++def get_async_param(async_=None, **kwargs): ++ """ ++ Provide a backwards-compatible way to get async param value that does not ++ cause a syntax error under Python 3.7. ++ ++ @param async_: async_ param value (should default to None) ++ @type async_: L{bool} ++ ++ @param kwargs: keyword arguments of the caller (only async is allowed) ++ @type async_: L{dict} ++ ++ @raise TypeError: Both async_ and async specified. ++ ++ @return: Final async_ param value ++ @rtype: L{bool} ++ """ ++ if async_ is None and 'async' in kwargs: ++ async_ = kwargs.pop('async') ++ if kwargs: ++ raise TypeError ++ return bool(async_) ++ ++ + __all__ = [ + "reraise", + "execfile", +@@ -874,4 +897,5 @@ __all__ = [ + "raw_input", + "_tokenize", + "Sequence", ++ "get_async_param", + ] +-- +2.17.1 +package/python-twisted/Config.in +2
-0@@ -1,9 +1,11 @@ config BR2_PACKAGE_PYTHON_TWISTED bool "python-twisted" select BR2_PACKAGE_PYTHON_INCREMENTAL + select BR2_PACKAGE_PYTHON_ATTRS # runtime select BR2_PACKAGE_PYTHON_AUTOMAT # runtime select BR2_PACKAGE_PYTHON_CONSTANTLY # runtime select BR2_PACKAGE_PYTHON_HYPERLINK # runtime + select BR2_PACKAGE_PYTHON_PYHAMCREST # runtime select BR2_PACKAGE_PYTHON_ZOPE_INTERFACE # runtime help Twisted is an event-driven networking engine written inpackage/python-twisted/python-twisted.hash +5
-3@@ -1,3 +1,5 @@ -# md5 from https://pypi.python.org/pypi/twisted/json, sha256 locally computed -md5 cd5c287802dcbaf7be15cf937c922b71 Twisted-17.5.0.tar.bz2 -sha256 f198a494f0df2482f7c5f99d7f3eef33d22763ffc76641b36fec476b878002ea Twisted-17.5.0.tar.bz2 +# md5, sha256 from https://pypi.org/pypi/twisted/json +md5 16396b4d8d7fd0d668736b3d510279db Twisted-18.7.0.tar.bz2 +sha256 95ae985716e8107816d8d0df249d558dbaabb677987cc2ace45272c166b267e4 Twisted-18.7.0.tar.bz2 +# Locally computed sha256 +sha256 a516053f954d4f16fbdffa8924e42d6d2490a7241fe5de053541a766ae778fd4 LICENSEpackage/python-twisted/python-twisted.mk +2
-3@@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_TWISTED_VERSION = 17.5.0 +PYTHON_TWISTED_VERSION = 18.7.0 PYTHON_TWISTED_SOURCE = Twisted-$(PYTHON_TWISTED_VERSION).tar.bz2 -PYTHON_TWISTED_SITE = https://pypi.python.org/packages/31/bf/7f86a8f8b9778e90d8b2921e9f442a8c8aa33fd2489fc10f236bc8af1749 +PYTHON_TWISTED_SITE = https://files.pythonhosted.org/packages/90/50/4c315ce5d119f67189d1819629cae7908ca0b0a6c572980df5cc6942bc22 PYTHON_TWISTED_SETUP_TYPE = setuptools PYTHON_TWISTED_LICENSE = MIT PYTHON_TWISTED_LICENSE_FILES = LICENSE --2.17.1
Thomas Petazzoni
AppliedPATCH 22/23 python-twisted: bump to version 18.7.0
In reply to Asaf KahlonHello,
Quoted 9 lines · Asaf Kahlon
Add license hash.
Add a patch to fit python3.7 syntax ("async" is now a keyword). The patch was already applied on upstream, but only after the last tag was created.
Fixes:
http://autobuild.buildroot.org/results/704/7043ccfac86439406480649b3ead4882112d36e2/
Quoted 8 lines
Signed-off-by Asaf Kahlon <[email protected]>--- .../0001-Fix-syntax-for-python3.7.patch | 160 ++++++++++++++++++ package/python-twisted/Config.in | 2 + package/python-twisted/python-twisted.hash | 8 +- package/python-twisted/python-twisted.mk | 4 +- 4 files changed, 169 insertions(+), 5 deletions(-) create mode 100644 package/python-twisted/0001-Fix-syntax-for-python3.7.patch
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 23/23 python-crossbar: bump to version 18.9.2
In reply to Asaf KahlonUpdate dependencies (and fix alphabetical order).
Add patch to remove idna direct dependency (was sent to upstream too:
https://github.com/crossbario/crossbar/pull/1406).
Fixes:
http://autobuild.buildroot.org/results/31d/31db5fd90514906a8c77f921c9650a386ec80101/
--- .../0002-Remove-idna-requirement.patch | 26 +++++++++++++ .../0002-Rework-runtime-dependencies.patch | 37 ------------------- package/python-crossbar/Config.in | 19 +++++----- package/python-crossbar/python-crossbar.hash | 7 ++-- package/python-crossbar/python-crossbar.mk | 4 +- 5 files changed, 41 insertions(+), 52 deletions(-) create mode 100644 package/python-crossbar/0002-Remove-idna-requirement.patch delete mode 100644 package/python-crossbar/0002-Rework-runtime-dependencies.patch
package/python-crossbar/0002-Remove-idna-requirement.patch new file +26 -0
@@ -0,0 +1,26 @@ +From 9164d21cc66c1f78de37c9383528c5d528cbdbeb Mon Sep 17 00:00:00 2001 +From: Asaf Kahlon <[email protected]> +Date: Wed, 26 Sep 2018 15:33:43 +0300 +Subject: [PATCH 1/1] Remove idna requirement. + +The latest version of idna is 2.7, but it seems like idna is not a direct +dependency anymore (a short "git grep" shows it's only written in requirement +and readme files). + +Signed-off-by: Asaf Kahlon <[email protected]> +--- + requirements-min.txt | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/requirements-min.txt b/requirements-min.txt +index d7c2a562..84bf1878 100644 +--- a/requirements-min.txt ++++ b/requirements-min.txt +@@ -1,4 +1,3 @@ +-idna<2.6,>=2.5 + click>=6.7 + setuptools>=36.0.1 + zope.interface>=4.4.2 +-- +2.17.1 +
package/python-crossbar/0002-Rework-runtime-dependencies.patch deleted +0 -37
@@ -1,37 +0,0 @@ -From 35b2ec4949c9d1620551efde6e3a3d46323899de Mon Sep 17 00:00:00 2001 -From: Yegor Yefremov <[email protected]> -Date: Thu, 11 Jan 2018 10:13:18 +0100 -Subject: [PATCH 2/2] Rework runtime dependencies - -Add python version requirement to Python2 only packages like -ipaddress and enum34 and bump h2 package version. - -Signed-off-by: Yegor Yefremov <[email protected]> ---- - requirements-min.txt | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/requirements-min.txt b/requirements-min.txt -index 83820cd1..5cbf35c4 100644 ---- a/requirements-min.txt -+++ b/requirements-min.txt -@@ -2,7 +2,7 @@ click>=6.6 - setuptools>=28.3.0 - zope.interface>=4.3.2 - Twisted>=17.1.0 --h2<3.0.0 -+h2>=3.0.1 - priority>=1.3.0 - txaio>=2.8.0 - autobahn>=17.6.2 -@@ -33,5 +33,5 @@ bitstring>=3.1.5 - attrs>=16.2.0 - incremental>=16.10.1 - constantly>=15.1.0 --enum34>=1.1.6 --ipaddress>=1.0.18 -+enum34>=1.1.6; python_version < '3.4' -+ipaddress>=1.0.18; python_version < '3.3' --- -2.11.0 -
package/python-crossbar/Config.in +9 -10
@@ -1,45 +1,44 @@ config BR2_PACKAGE_PYTHON_CROSSBAR bool "python-crossbar" - depends on BR2_INSTALL_LIBSTDCPP # python-pyasn + depends on BR2_INSTALL_LIBSTDCPP # python-cryptography # All the following dependencies are runtime dependencies select BR2_PACKAGE_PYTHON_ATTRS select BR2_PACKAGE_PYTHON_AUTOBAHN select BR2_PACKAGE_PYTHON_BITSTRING - select BR2_PACKAGE_PYTHON_CONSTANTLY select BR2_PACKAGE_PYTHON_CBOR select BR2_PACKAGE_PYTHON_CLICK + select BR2_PACKAGE_PYTHON_CONSTANTLY select BR2_PACKAGE_PYTHON_CRYPTOGRAPHY - select BR2_PACKAGE_PYTHON_ENUM34 if BR2_PACKAGE_PYTHON + select BR2_PACKAGE_PYTHON_H2 select BR2_PACKAGE_PYTHON_IDNA select BR2_PACKAGE_PYTHON_INCREMENTAL - select BR2_PACKAGE_PYTHON_IPADDRESS if BR2_PACKAGE_PYTHON select BR2_PACKAGE_PYTHON_JINJA2 - select BR2_PACKAGE_PYTHON_H2 select BR2_PACKAGE_PYTHON_LMDB select BR2_PACKAGE_PYTHON_MISTUNE select BR2_PACKAGE_PYTHON_NETADDR + select BR2_PACKAGE_PYTHON_PASSLIB select BR2_PACKAGE_PYTHON_PRIORITY select BR2_PACKAGE_PYTHON_PSUTIL - select BR2_PACKAGE_PYTHON_PYASN - select BR2_PACKAGE_PYTHON_PYASN_MODULES + select BR2_PACKAGE_PYTHON_PYASN1 + select BR2_PACKAGE_PYTHON_PYASN1_MODULES select BR2_PACKAGE_PYTHON_PYGMENTS - select BR2_PACKAGE_PYTHON_PYINOTIFY select BR2_PACKAGE_PYTHON_PYNACL select BR2_PACKAGE_PYTHON_PYOPENSSL select BR2_PACKAGE_PYTHON_PYQRCODE select BR2_PACKAGE_PYTHON_PYTRIE select BR2_PACKAGE_PYTHON_PYYAML select BR2_PACKAGE_PYTHON_SDNOTIFY - select BR2_PACKAGE_PYTHON_SETUPTOOLS select BR2_PACKAGE_PYTHON_SERVICE_IDENTITY select BR2_PACKAGE_PYTHON_SETPROCTITLE select BR2_PACKAGE_PYTHON_SETUPTOOLS - select BR2_PACKAGE_PYTHON_SHUTILWHICH select BR2_PACKAGE_PYTHON_TREQ select BR2_PACKAGE_PYTHON_TWISTED + select BR2_PACKAGE_PYTHON_TXAIO + select BR2_PACKAGE_PYTHON_TXTORCON select BR2_PACKAGE_PYTHON_U_MSGPACK select BR2_PACKAGE_PYTHON_UBJSON select BR2_PACKAGE_PYTHON_WATCHDOG + select BR2_PACKAGE_PYTHON_ZOPE_INTERFACE help Crossbar.io is an open-source WAMP application router that allows to build advanced applications from loosely-coupled
package/python-crossbar/python-crossbar.hash +4 -3
@@ -1,4 +1,5 @@ -# md5 from https://pypi.python.org/pypi/crossbar/json, sha256 locally computed -md5 d557615f34e7736f749e59b4d3ddbea0 crossbar-17.6.1.post3.tar.gz -sha256 8d023af0a772404f4e57add5888583fc0068d62a7a2249bea4539a6d7b70fbd9 crossbar-17.6.1.post3.tar.gz +# md5, sha256 from https://pypi.org/pypi/crossbar/json +md5 6c684c9613091d7ba8adadb6bff5c1cd crossbar-18.9.2.tar.gz +sha256 8486f2daa73c45475633baa9d21dcaf74d635781939df6ab6748cc2958aa9d75 crossbar-18.9.2.tar.gz +# Locally computed sha256 57c8ff33c9c0cfc3ef00e650a1cc910d7ee479a8bc509f6c9209a7c2a11399d6 LICENSE
package/python-crossbar/python-crossbar.mk +2 -2
@@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_CROSSBAR_VERSION = 17.6.1.post3 +PYTHON_CROSSBAR_VERSION = 18.9.2 PYTHON_CROSSBAR_SOURCE = crossbar-$(PYTHON_CROSSBAR_VERSION).tar.gz -PYTHON_CROSSBAR_SITE = https://pypi.python.org/packages/6a/25/9bc78947a4552c5fe27671ca2abe3be0559b8c76bc93d52157a6333ea971 +PYTHON_CROSSBAR_SITE = https://files.pythonhosted.org/packages/1c/71/27e6b5ba1e557d28d155badee90022f73f4216b752d063221edbe2b188f0 PYTHON_CROSSBAR_LICENSE = AGPL-3.0 PYTHON_CROSSBAR_LICENSE_FILES = LICENSE PYTHON_CROSSBAR_SETUP_TYPE = setuptools
Signature · 1 line
2.17.1
Thomas Petazzoni
AppliedPATCH 23/23 python-crossbar: bump to version 18.9.2
Hello,
Quoted 8 lines · Asaf Kahlon
Update dependencies (and fix alphabetical order).
Add patch to remove idna direct dependency (was sent to upstream too:
https://github.com/crossbario/crossbar/pull/1406).Fixes:
http://autobuild.buildroot.org/results/31d/31db5fd90514906a8c77f921c9650a386ec80101/Signed-off-by Asaf Kahlon <[email protected]>
Quoted 9 lines
--- .../0002-Remove-idna-requirement.patch | 26 +++++++++++++ .../0002-Rework-runtime-dependencies.patch | 37 ------------------- package/python-crossbar/Config.in | 19 +++++----- package/python-crossbar/python-crossbar.hash | 7 ++-- package/python-crossbar/python-crossbar.mk | 4 +- 5 files changed, 41 insertions(+), 52 deletions(-) create mode 100644 package/python-crossbar/0002-Remove-idna-requirement.patch delete mode 100644 package/python-crossbar/0002-Rework-runtime-dependencies.patch
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
cover Fix python-crossbar to work with python 3.7
In reply to Asaf KahlonHi Asaf,
Quoted 4 lines · Asaf Kahlon
The following series of patches contains version bumps and new packages that are needed for bumping python-crossbar to 18.9.2 and make it work with Python 3.7.
Great series. Thanks.
Yegor
Quoted 100 lines
Asaf Kahlon (23):
python-attrs: bump to version 18.2.0
python-autobahn: bump to version 18.9.2
python-automat: bump to version 0.7.0
python-hyperlink: bump to version 18.0.0
python-incremental: bump to version 17.5.0
python-jinja2: bump to version 2.10
python-lmdb: bump to version 0.94
python-psutil: bump to version 5.4.7
python-pycparser: bump to version 2.19
python-pynacl: bump to version 1.2.1
python-pyopenssl: bump to version 18.0.0
python-sdnotify: bump to version 0.3.2
python-sortedcontainers: bump to version 2.0.5
python-txaio: bump to version 18.8.1
python-txtorcon: bump to version 18.0.2
python-u-msgpack: bump to version 2.5.0
python-zope-interface: bump to version 4.5.0
python-pytrie: bump to version 0.3.1
python-passlib: new package
python-pyasn1-modules: new package
python-pyhamcrest: new package
python-twisted: bump to version 18.7.0
python-crossbar: bump to version 18.9.2DEVELOPERS | 3 + package/Config.in | 3 + package/python-attrs/python-attrs.hash | 8 +- package/python-attrs/python-attrs.mk | 4 +- package/python-autobahn/python-autobahn.hash | 8 +- package/python-autobahn/python-autobahn.mk | 4 +- package/python-automat/python-automat.hash | 8 +- package/python-automat/python-automat.mk | 4 +- .../0002-Remove-idna-requirement.patch | 26 +++ .../0002-Rework-runtime-dependencies.patch | 37 ---- package/python-crossbar/Config.in | 19 +-- package/python-crossbar/python-crossbar.hash | 7 +- package/python-crossbar/python-crossbar.mk | 4 +- package/python-hyperlink/Config.in | 1 + .../python-hyperlink/python-hyperlink.hash | 8 +- package/python-hyperlink/python-hyperlink.mk | 4 +- .../python-incremental.hash | 8 +- .../python-incremental/python-incremental.mk | 4 +- package/python-jinja2/python-jinja2.hash | 8 +- package/python-jinja2/python-jinja2.mk | 4 +- package/python-lmdb/python-lmdb.hash | 7 +- package/python-lmdb/python-lmdb.mk | 5 +- package/python-passlib/Config.in | 7 + package/python-passlib/python-passlib.hash | 5 + package/python-passlib/python-passlib.mk | 14 ++ package/python-psutil/python-psutil.hash | 8 +- package/python-psutil/python-psutil.mk | 4 +- package/python-pyasn1-modules/Config.in | 7 + .../python-pyasn1-modules.hash | 5 + .../python-pyasn1-modules.mk | 14 ++ .../python-pycparser/python-pycparser.hash | 8 +- package/python-pycparser/python-pycparser.mk | 4 +- package/python-pyhamcrest/Config.in | 8 + .../python-pyhamcrest/python-pyhamcrest.hash | 5 + .../python-pyhamcrest/python-pyhamcrest.mk | 14 ++ package/python-pynacl/python-pynacl.hash | 8 +- package/python-pynacl/python-pynacl.mk | 4 +- .../python-pyopenssl/python-pyopenssl.hash | 8 +- package/python-pyopenssl/python-pyopenssl.mk | 4 +- package/python-pytrie/Config.in | 1 + package/python-pytrie/python-pytrie.hash | 8 +- package/python-pytrie/python-pytrie.mk | 8 +- package/python-sdnotify/python-sdnotify.hash | 9 +- package/python-sdnotify/python-sdnotify.mk | 4 +- .../python-sortedcontainers.hash | 8 +- .../python-sortedcontainers.mk | 4 +- .../0001-Fix-syntax-for-python3.7.patch | 160 ++++++++++++++++++ package/python-twisted/Config.in | 2 + package/python-twisted/python-twisted.hash | 8 +- package/python-twisted/python-twisted.mk | 4 +- package/python-txaio/python-txaio.hash | 9 +- package/python-txaio/python-txaio.mk | 4 +- package/python-txtorcon/python-txtorcon.hash | 9 +- package/python-txtorcon/python-txtorcon.mk | 4 +- .../python-u-msgpack/python-u-msgpack.hash | 8 +- package/python-u-msgpack/python-u-msgpack.mk | 4 +- .../python-zope-interface.hash | 9 +- .../python-zope-interface.mk | 4 +- 58 files changed, 425 insertions(+), 153 deletions(-) create mode 100644 package/python-crossbar/0002-Remove-idna-requirement.patch delete mode 100644 package/python-crossbar/0002-Rework-runtime-dependencies.patch create mode 100644 package/python-passlib/Config.in create mode 100644 package/python-passlib/python-passlib.hash create mode 100644 package/python-passlib/python-passlib.mk create mode 100644 package/python-pyasn1-modules/Config.in create mode 100644 package/python-pyasn1-modules/python-pyasn1-modules.hash create mode 100644 package/python-pyasn1-modules/python-pyasn1-modules.mk create mode 100644 package/python-pyhamcrest/Config.in create mode 100644 package/python-pyhamcrest/python-pyhamcrest.hash create mode 100644 package/python-pyhamcrest/python-pyhamcrest.mk create mode 100644 package/python-twisted/0001-Fix-syntax-for-python3.7.patch--
2.17.1
cover Fix python-crossbar to work with python 3.7
Quoted 5 lines · Yegor Yefremov
Hi Asaf,
Quoted 1 line · Asaf Kahlon
Quoted 7 lines
Quoted 3 lines
The following series of patches contains version bumps and new packages that are needed for bumping python-crossbar to 18.9.2 and make it work with Python 3.7.
Great series. Thanks.
https://pypi.org/project/Twisted/18.9.0rc1/ :-)
Quoted 103 lines
Yegor
Quoted 100 lines
Asaf Kahlon (23):
python-attrs: bump to version 18.2.0
python-autobahn: bump to version 18.9.2
python-automat: bump to version 0.7.0
python-hyperlink: bump to version 18.0.0
python-incremental: bump to version 17.5.0
python-jinja2: bump to version 2.10
python-lmdb: bump to version 0.94
python-psutil: bump to version 5.4.7
python-pycparser: bump to version 2.19
python-pynacl: bump to version 1.2.1
python-pyopenssl: bump to version 18.0.0
python-sdnotify: bump to version 0.3.2
python-sortedcontainers: bump to version 2.0.5
python-txaio: bump to version 18.8.1
python-txtorcon: bump to version 18.0.2
python-u-msgpack: bump to version 2.5.0
python-zope-interface: bump to version 4.5.0
python-pytrie: bump to version 0.3.1
python-passlib: new package
python-pyasn1-modules: new package
python-pyhamcrest: new package
python-twisted: bump to version 18.7.0
python-crossbar: bump to version 18.9.2DEVELOPERS | 3 + package/Config.in | 3 + package/python-attrs/python-attrs.hash | 8 +- package/python-attrs/python-attrs.mk | 4 +- package/python-autobahn/python-autobahn.hash | 8 +- package/python-autobahn/python-autobahn.mk | 4 +- package/python-automat/python-automat.hash | 8 +- package/python-automat/python-automat.mk | 4 +- .../0002-Remove-idna-requirement.patch | 26 +++ .../0002-Rework-runtime-dependencies.patch | 37 ---- package/python-crossbar/Config.in | 19 +-- package/python-crossbar/python-crossbar.hash | 7 +- package/python-crossbar/python-crossbar.mk | 4 +- package/python-hyperlink/Config.in | 1 + .../python-hyperlink/python-hyperlink.hash | 8 +- package/python-hyperlink/python-hyperlink.mk | 4 +- .../python-incremental.hash | 8 +- .../python-incremental/python-incremental.mk | 4 +- package/python-jinja2/python-jinja2.hash | 8 +- package/python-jinja2/python-jinja2.mk | 4 +- package/python-lmdb/python-lmdb.hash | 7 +- package/python-lmdb/python-lmdb.mk | 5 +- package/python-passlib/Config.in | 7 + package/python-passlib/python-passlib.hash | 5 + package/python-passlib/python-passlib.mk | 14 ++ package/python-psutil/python-psutil.hash | 8 +- package/python-psutil/python-psutil.mk | 4 +- package/python-pyasn1-modules/Config.in | 7 + .../python-pyasn1-modules.hash | 5 + .../python-pyasn1-modules.mk | 14 ++ .../python-pycparser/python-pycparser.hash | 8 +- package/python-pycparser/python-pycparser.mk | 4 +- package/python-pyhamcrest/Config.in | 8 + .../python-pyhamcrest/python-pyhamcrest.hash | 5 + .../python-pyhamcrest/python-pyhamcrest.mk | 14 ++ package/python-pynacl/python-pynacl.hash | 8 +- package/python-pynacl/python-pynacl.mk | 4 +- .../python-pyopenssl/python-pyopenssl.hash | 8 +- package/python-pyopenssl/python-pyopenssl.mk | 4 +- package/python-pytrie/Config.in | 1 + package/python-pytrie/python-pytrie.hash | 8 +- package/python-pytrie/python-pytrie.mk | 8 +- package/python-sdnotify/python-sdnotify.hash | 9 +- package/python-sdnotify/python-sdnotify.mk | 4 +- .../python-sortedcontainers.hash | 8 +- .../python-sortedcontainers.mk | 4 +- .../0001-Fix-syntax-for-python3.7.patch | 160 ++++++++++++++++++ package/python-twisted/Config.in | 2 + package/python-twisted/python-twisted.hash | 8 +- package/python-twisted/python-twisted.mk | 4 +- package/python-txaio/python-txaio.hash | 9 +- package/python-txaio/python-txaio.mk | 4 +- package/python-txtorcon/python-txtorcon.hash | 9 +- package/python-txtorcon/python-txtorcon.mk | 4 +- .../python-u-msgpack/python-u-msgpack.hash | 8 +- package/python-u-msgpack/python-u-msgpack.mk | 4 +- .../python-zope-interface.hash | 9 +- .../python-zope-interface.mk | 4 +- 58 files changed, 425 insertions(+), 153 deletions(-) create mode 100644 package/python-crossbar/0002-Remove-idna-requirement.patch delete mode 100644 package/python-crossbar/0002-Rework-runtime-dependencies.patch create mode 100644 package/python-passlib/Config.in create mode 100644 package/python-passlib/python-passlib.hash create mode 100644 package/python-passlib/python-passlib.mk create mode 100644 package/python-pyasn1-modules/Config.in create mode 100644 package/python-pyasn1-modules/python-pyasn1-modules.hash create mode 100644 package/python-pyasn1-modules/python-pyasn1-modules.mk create mode 100644 package/python-pyhamcrest/Config.in create mode 100644 package/python-pyhamcrest/python-pyhamcrest.hash create mode 100644 package/python-pyhamcrest/python-pyhamcrest.mk create mode 100644 package/python-twisted/0001-Fix-syntax-for-python3.7.patch--
2.17.1