Skip to contentSkip to conversation

python3-cryptography: Upgrade 3.1 -> 3.1.1

PATCH In review Leon Anavi 2 participants 8 messages Sep 25, 2020 – Sep 28, 2020

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/4 python3-cryptography: Upgrade 3.1 -> 3.1.1

Upgrade to release 3.1.1:

- Updated Windows, macOS, and manylinux wheels to be compiled with OpenSSL 1.1.1h.

---
 ...hon3-cryptography_3.1.bb => python3-cryptography_3.1.1.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-cryptography_3.1.bb => python3-cryptography_3.1.1.bb} (91%)
meta-python/recipes-devtools/python/python3-cryptography_3.1.1.bb renamed from meta-python/recipes-devtools/python/python3-cryptography_3.1.bb +2 -2
similarity index 91%
rename from meta-python/recipes-devtools/python/python3-cryptography_3.1.bb
rename to meta-python/recipes-devtools/python/python3-cryptography_3.1.1.bb
index 9ac23cda4f..1d6a9b32e0 100644
@@ -6,8 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=097f805837700cfac572ac274cd38124"
 
 LDSHARED += "-pthread"
 
-SRC_URI[md5sum] = "aa91e4974981b29e99b863c54034c361"
-SRC_URI[sha256sum] = "26409a473cc6278e4c90f782cd5968ebad04d3911ed1c402fc86908c17633e08"
+SRC_URI[md5sum] = "c3807891d36aa9de8187e9db8b2bb457"
+SRC_URI[sha256sum] = "9d9fc6a16357965d282dd4ab6531013935425d0dc4950df2e0cf2a1b1ac1017d"
 
 SRC_URI += " \
     file://run-ptest \
Signature · 1 line
2.17.1
author
#1 lore raw

PATCH 2/4 python3-cryptography-vectors: Upgrade 3.1 -> 3.1.1

Upgrade to release 3.1.1:

- Updated Windows, macOS, and manylinux wheels to be compiled with OpenSSL 1.1.1h.

---
 ...y-vectors_3.1.bb => python3-cryptography-vectors_3.1.1.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-cryptography-vectors_3.1.bb => python3-cryptography-vectors_3.1.1.bb} (73%)
meta-python/recipes-devtools/python/python3-cryptography-vectors_3.1.1.bb renamed from meta-python/recipes-devtools/python/python3-cryptography-vectors_3.1.bb +2 -2
similarity index 73%
rename from meta-python/recipes-devtools/python/python3-cryptography-vectors_3.1.bb
rename to meta-python/recipes-devtools/python/python3-cryptography-vectors_3.1.1.bb
index 59347c94e5..9486fe2350 100644
@@ -4,8 +4,8 @@ SECTION = "devel/python"
 LICENSE = "Apache-2.0 | BSD"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4"
 
-SRC_URI[md5sum] = "1ba5b0743e2876e909f7cfc28b744f27"
-SRC_URI[sha256sum] = "2660bc3a720d3955341803195ae5352a236c5f26e01a178c44fc5ee1f0ef1182"
+SRC_URI[md5sum] = "fbc43f8b155b52f9ed163d3555ea5e83"
+SRC_URI[sha256sum] = "5529c516194122fec7db1682812e2314ddff4221fdf993169118f9c0d291e2f6"
 
 PYPI_PACKAGE = "cryptography_vectors"
 
Signature · 1 line
2.17.1
Acked-by on v1 2/4
#2 lore raw

Re: [oe] [meta-python][PATCH 2/4] python3-cryptography-vectors: Upgrade 3.1 -> 3.1.1

Quoted 6 lines · Leon Anavi

Upgrade to release 3.1.1:

- Updated Windows, macOS, and manylinux wheels to be compiled with OpenSSL 1.1.1h.

Quoted 26 lines
---
  ...y-vectors_3.1.bb => python3-cryptography-vectors_3.1.1.bb} | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

rename meta-python/recipes-devtools/python/{python3-cryptography-vectors_3.1.bb => python3-cryptography-vectors_3.1.1.bb} (73%)

meta-python/recipes-devtools/python/python3-cryptography-vectors_3.1.1.bb renamed from meta-python/recipes-devtools/python/python3-cryptography-vectors_3.1.bb +2 -2
similarity index 73%
rename from meta-python/recipes-devtools/python/python3-cryptography-vectors_3.1.bb
rename to meta-python/recipes-devtools/python/python3-cryptography-vectors_3.1.1.bb
index 59347c94e5..9486fe2350 100644
@@ -4,8 +4,8 @@ SECTION = "devel/python"
  LICENSE = "Apache-2.0 | BSD"
  LIC_FILES_CHKSUM = "file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4"
 
-SRC_URI[md5sum] = "1ba5b0743e2876e909f7cfc28b744f27"
-SRC_URI[sha256sum] = "2660bc3a720d3955341803195ae5352a236c5f26e01a178c44fc5ee1f0ef1182"
+SRC_URI[md5sum] = "fbc43f8b155b52f9ed163d3555ea5e83"
+SRC_URI[sha256sum] = "5529c516194122fec7db1682812e2314ddff4221fdf993169118f9c0d291e2f6"
 
  PYPI_PACKAGE = "cryptography_vectors"
 
author
#3 lore raw

PATCH 3/4 python3-gevent: Upgrade 20.6.2 -> 20.9.0

In reply to Leon Anavi

Upgrade to release 20.9.0:

- The embedded libev is now asked to detect the availability of clock_gettime and use the realtime and/or monotonic clocks, if they are available. On Linux, this can reduce the number of system calls libev makes. Originally provided by Josh Snyder.
- On CPython, depend on greenlet >= 0.4.17. This version is binary incompatible with earlier releases on CPython 3.7 and later.
- On Python 3.7 and above, the module gevent.contextvars is no longer monkey-patched into the standard library. contextvars are now both greenlet and asyncio task local.
- The DummyThread objects created automatically by certain operations when the standard library threading module is monkey-patched now match the naming convention the standard library uses ("Dummy-12345"). Previously (since gevent 1.2a2) they used "DummyThread-12345".
- Fix compatibility with dnspython 2.

---
 .../{python3-gevent_20.6.2.bb => python3-gevent_20.9.0.bb}    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-gevent_20.6.2.bb => python3-gevent_20.9.0.bb} (89%)
meta-python/recipes-devtools/python/python3-gevent_20.9.0.bb renamed from meta-python/recipes-devtools/python/python3-gevent_20.6.2.bb +2 -2
similarity index 89%
rename from meta-python/recipes-devtools/python/python3-gevent_20.6.2.bb
rename to meta-python/recipes-devtools/python/python3-gevent_20.9.0.bb
index dbeb3a60c1..06c45f2ed9 100644
@@ -20,8 +20,8 @@ SRC_URI_append = " \
     file://libev-conf.patch;patch=1;pnum=1 \
 "
 
-SRC_URI[md5sum] = "27b07fe9fdfff2d75e3d140e890489b1"
-SRC_URI[sha256sum] = "a23c2abf08e851c988723f6a2996d495f513a2c0dc70f9956af03af8debdb5d1"
+SRC_URI[md5sum] = "9366ee7eebed48003f8a748568ef1f70"
+SRC_URI[sha256sum] = "5f6d48051d336561ec08995431ee4d265ac723a64bba99cc58c3eb1a4d4f5c8d"
 
 # The python-gevent has no autoreconf ability
 # and the logic for detecting a cross compile is flawed
Signature · 1 line
2.17.1
Acked-by on v1 3/4
#4 lore raw

Re: [oe] [meta-python][PATCH 3/4] python3-gevent: Upgrade 20.6.2 -> 20.9.0

Quoted 18 lines · Leon Anavi

Upgrade to release 20.9.0:

- The embedded libev is now asked to detect the availability of clock_gettime and use the realtime and/or monotonic clocks, if they are available. On Linux, this can reduce the number of system calls libev makes. Originally provided by Josh Snyder.
- On CPython, depend on greenlet >= 0.4.17. This version is binary incompatible with earlier releases on CPython 3.7 and later.
- On Python 3.7 and above, the module gevent.contextvars is no longer monkey-patched into the standard library. contextvars are now both greenlet and asyncio task local.
- The DummyThread objects created automatically by certain operations when the standard library threading module is monkey-patched now match the naming convention the standard library uses ("Dummy-12345"). Previously (since gevent 1.2a2) they used "DummyThread-12345".
- Fix compatibility with dnspython 2.

Quoted 1 line
Quoted 26 lines
---
  .../{python3-gevent_20.6.2.bb => python3-gevent_20.9.0.bb}    | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

rename meta-python/recipes-devtools/python/{python3-gevent_20.6.2.bb => python3-gevent_20.9.0.bb} (89%)

meta-python/recipes-devtools/python/python3-gevent_20.9.0.bb renamed from meta-python/recipes-devtools/python/python3-gevent_20.6.2.bb +2 -2
similarity index 89%
rename from meta-python/recipes-devtools/python/python3-gevent_20.6.2.bb
rename to meta-python/recipes-devtools/python/python3-gevent_20.9.0.bb
index dbeb3a60c1..06c45f2ed9 100644
@@ -20,8 +20,8 @@ SRC_URI_append = " \
      file://libev-conf.patch;patch=1;pnum=1 \
  "
 
-SRC_URI[md5sum] = "27b07fe9fdfff2d75e3d140e890489b1"
-SRC_URI[sha256sum] = "a23c2abf08e851c988723f6a2996d495f513a2c0dc70f9956af03af8debdb5d1"
+SRC_URI[md5sum] = "9366ee7eebed48003f8a748568ef1f70"
+SRC_URI[sha256sum] = "5f6d48051d336561ec08995431ee4d265ac723a64bba99cc58c3eb1a4d4f5c8d"
 
  # The python-gevent has no autoreconf ability
  # and the logic for detecting a cross compile is flawed
author
#5 lore raw

PATCH 4/4 python3-pycrypto: Consolidate in a single file

In reply to Leon Anavi

Consolidate inc and bb files into a single bb file.

---
 .../python/python-pycrypto.inc                | 21 ----------------
 .../CVE-2013-7459.patch                       |  0
 .../cross-compiling.patch                     |  0
 .../python/python3-pycrypto_2.6.1.bb          | 24 ++++++++++++++++---
 4 files changed, 21 insertions(+), 24 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python-pycrypto.inc
 rename meta-python/recipes-devtools/python/{python-pycrypto => python3-pycrypto}/CVE-2013-7459.patch (100%)
 rename meta-python/recipes-devtools/python/{python-pycrypto => python3-pycrypto}/cross-compiling.patch (100%)
meta-python/recipes-devtools/python/python-pycrypto.inc deleted +0 -21
deleted file mode 100644
index 232cdb7116..0000000000
@@ -1,21 +0,0 @@
-DESCRIPTION = "Cryptographic modules for Python."
-HOMEPAGE = "http://www.pycrypto.org/"
-LICENSE = "PSFv2"
-LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=35f354d199e8cb7667b059a23578e63d"
-
-FILESEXTRAPATHS_prepend := "${THISDIR}/python-pycrypto:"
-
-DEPENDS += " gmp"
-
-inherit pypi autotools-brokensep
-
-SRC_URI += "file://cross-compiling.patch \
-            file://CVE-2013-7459.patch \
-           "
-
-SRC_URI[md5sum] = "55a61a054aa66812daf5161a0d5d7eda"
-SRC_URI[sha256sum] = "f2ce1e989b272cfcb677616763e0a2e7ec659effa67a88aa92b3a65528f60a3c"
-
-do_compile[noexec] = "1"
-
-BBCLASSEXTEND = "native nativesdk"
meta-python/recipes-devtools/python/python3-pycrypto/CVE-2013-7459.patch renamed from meta-python/recipes-devtools/python/python-pycrypto/CVE-2013-7459.patch +0 -0
similarity index 100%
rename from meta-python/recipes-devtools/python/python-pycrypto/CVE-2013-7459.patch
rename to meta-python/recipes-devtools/python/python3-pycrypto/CVE-2013-7459.patch
meta-python/recipes-devtools/python/python3-pycrypto/cross-compiling.patch renamed from meta-python/recipes-devtools/python/python-pycrypto/cross-compiling.patch +0 -0
similarity index 100%
rename from meta-python/recipes-devtools/python/python-pycrypto/cross-compiling.patch
rename to meta-python/recipes-devtools/python/python3-pycrypto/cross-compiling.patch
meta-python/recipes-devtools/python/python3-pycrypto_2.6.1.bb +21 -3
index a20eafec43..78a1ef2ac0 100644
@@ -1,7 +1,23 @@
-inherit distutils3
-require python-pycrypto.inc
+DESCRIPTION = "Cryptographic modules for Python."
+HOMEPAGE = "http://www.pycrypto.org/"
+LICENSE = "PSFv2"
+LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=35f354d199e8cb7667b059a23578e63d"
 
-SRC_URI += "file://0001-Replace-time.clock-with-time.process_time.patch"
+DEPENDS += " gmp"
+
+export HOST_SYS
+
+inherit pypi autotools-brokensep distutils3
+
+SRC_URI += "file://cross-compiling.patch \
+            file://CVE-2013-7459.patch \
+            file://0001-Replace-time.clock-with-time.process_time.patch \
+           "
+
+SRC_URI[md5sum] = "55a61a054aa66812daf5161a0d5d7eda"
+SRC_URI[sha256sum] = "f2ce1e989b272cfcb677616763e0a2e7ec659effa67a88aa92b3a65528f60a3c"
+
+do_compile[noexec] = "1"
 
 # We explicitly call distutils_do_install, since we want it to run, but
 # *don't* want the autotools install to run, since this package doesn't
@@ -9,3 +25,5 @@ SRC_URI += "file://0001-Replace-time.clock-with-time.process_time.patch"
 do_install() {
        distutils3_do_install
 }
+
+BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.17.1
Acked-by on v1 4/4
#6 lore raw

Re: [oe] [meta-python][PATCH 4/4] python3-pycrypto: Consolidate in a single file

Quoted 3 lines · Leon Anavi

Consolidate inc and bb files into a single bb file.

Quoted 85 lines
---
  .../python/python-pycrypto.inc                | 21 ----------------
  .../CVE-2013-7459.patch                       |  0
  .../cross-compiling.patch                     |  0
  .../python/python3-pycrypto_2.6.1.bb          | 24 ++++++++++++++++---
  4 files changed, 21 insertions(+), 24 deletions(-)

delete mode 100644 meta-python/recipes-devtools/python/python-pycrypto.inc
rename meta-python/recipes-devtools/python/{python-pycrypto => python3-pycrypto}/CVE-2013-7459.patch (100%) rename meta-python/recipes-devtools/python/{python-pycrypto => python3-pycrypto}/cross-compiling.patch (100%)

meta-python/recipes-devtools/python/python-pycrypto.inc deleted +0 -21
deleted file mode 100644
index 232cdb7116..0000000000
@@ -1,21 +0,0 @@
-DESCRIPTION = "Cryptographic modules for Python."
-HOMEPAGE = "http://www.pycrypto.org/"
-LICENSE = "PSFv2"
-LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=35f354d199e8cb7667b059a23578e63d"
-
-FILESEXTRAPATHS_prepend := "${THISDIR}/python-pycrypto:"
-
-DEPENDS += " gmp"
-
-inherit pypi autotools-brokensep
-
-SRC_URI += "file://cross-compiling.patch \
-            file://CVE-2013-7459.patch \
-           "
-
-SRC_URI[md5sum] = "55a61a054aa66812daf5161a0d5d7eda"
-SRC_URI[sha256sum] = "f2ce1e989b272cfcb677616763e0a2e7ec659effa67a88aa92b3a65528f60a3c"
-
-do_compile[noexec] = "1"
-
-BBCLASSEXTEND = "native nativesdk"
meta-python/recipes-devtools/python/python3-pycrypto/CVE-2013-7459.patch renamed from meta-python/recipes-devtools/python/python-pycrypto/CVE-2013-7459.patch +0 -0
similarity index 100%
rename from meta-python/recipes-devtools/python/python-pycrypto/CVE-2013-7459.patch
rename to meta-python/recipes-devtools/python/python3-pycrypto/CVE-2013-7459.patch
meta-python/recipes-devtools/python/python3-pycrypto/cross-compiling.patch renamed from meta-python/recipes-devtools/python/python-pycrypto/cross-compiling.patch +0 -0
similarity index 100%
rename from meta-python/recipes-devtools/python/python-pycrypto/cross-compiling.patch
rename to meta-python/recipes-devtools/python/python3-pycrypto/cross-compiling.patch
meta-python/recipes-devtools/python/python3-pycrypto_2.6.1.bb +21 -3
index a20eafec43..78a1ef2ac0 100644
@@ -1,7 +1,23 @@
-inherit distutils3
-require python-pycrypto.inc
+DESCRIPTION = "Cryptographic modules for Python."
+HOMEPAGE = "http://www.pycrypto.org/"
+LICENSE = "PSFv2"
+LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=35f354d199e8cb7667b059a23578e63d"
 
-SRC_URI += "file://0001-Replace-time.clock-with-time.process_time.patch"
+DEPENDS += " gmp"
+
+export HOST_SYS
+
+inherit pypi autotools-brokensep distutils3
+
+SRC_URI += "file://cross-compiling.patch \
+            file://CVE-2013-7459.patch \
+            file://0001-Replace-time.clock-with-time.process_time.patch \
+           "
+
+SRC_URI[md5sum] = "55a61a054aa66812daf5161a0d5d7eda"
+SRC_URI[sha256sum] = "f2ce1e989b272cfcb677616763e0a2e7ec659effa67a88aa92b3a65528f60a3c"
+
+do_compile[noexec] = "1"
 
  # We explicitly call distutils_do_install, since we want it to run, but
  # *don't* want the autotools install to run, since this package doesn't
@@ -9,3 +25,5 @@ SRC_URI += "file://0001-Replace-time.clock-with-time.process_time.patch"
  do_install() {
         distutils3_do_install
  }
+
+BBCLASSEXTEND = "native nativesdk"
Acked-by on v1 1/4
#7 lore raw
In reply to Leon Anavi
Quoted 6 lines · Leon Anavi

Upgrade to release 3.1.1:

- Updated Windows, macOS, and manylinux wheels to be compiled with OpenSSL 1.1.1h.

Quoted 26 lines
---
  ...hon3-cryptography_3.1.bb => python3-cryptography_3.1.1.bb} | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

rename meta-python/recipes-devtools/python/{python3-cryptography_3.1.bb => python3-cryptography_3.1.1.bb} (91%)

meta-python/recipes-devtools/python/python3-cryptography_3.1.1.bb renamed from meta-python/recipes-devtools/python/python3-cryptography_3.1.bb +2 -2
similarity index 91%
rename from meta-python/recipes-devtools/python/python3-cryptography_3.1.bb
rename to meta-python/recipes-devtools/python/python3-cryptography_3.1.1.bb
index 9ac23cda4f..1d6a9b32e0 100644
@@ -6,8 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=097f805837700cfac572ac274cd38124"
 
  LDSHARED += "-pthread"
 
-SRC_URI[md5sum] = "aa91e4974981b29e99b863c54034c361"
-SRC_URI[sha256sum] = "26409a473cc6278e4c90f782cd5968ebad04d3911ed1c402fc86908c17633e08"
+SRC_URI[md5sum] = "c3807891d36aa9de8187e9db8b2bb457"
+SRC_URI[sha256sum] = "9d9fc6a16357965d282dd4ab6531013935425d0dc4950df2e0cf2a1b1ac1017d"
 
  SRC_URI += " \
      file://run-ptest \