Skip to contentSkip to conversation

python3-requests: Upgrade 2.23.0 -> 2.24.0

PATCH In review Leon Anavi 2 participants 10 messages Jul 1, 2020 – Jul 6, 2020

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/5 python3-requests: Upgrade 2.23.0 -> 2.24.0

Upgrade to release 2.24.0:

- pyOpenSSL TLS implementation is now only used if Python either doesn't have an ssl module or doesn't support SNI. Previously pyOpenSSL was unconditionally used if available. This applies even if pyOpenSSL is installed via the requests[security] extra.
- Redirect resolution should now only occur when allow_redirects is True.
- No longer perform unnecessary Content-Length calculation for requests that won’t use it.

---
 ...{python3-requests_2.23.0.bb => python3-requests_2.24.0.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-requests_2.23.0.bb => python3-requests_2.24.0.bb} (81%)
meta-python/recipes-devtools/python/python3-requests_2.24.0.bb renamed from meta-python/recipes-devtools/python/python3-requests_2.23.0.bb +2 -2
similarity index 81%
rename from meta-python/recipes-devtools/python/python3-requests_2.23.0.bb
rename to meta-python/recipes-devtools/python/python3-requests_2.24.0.bb
index 9f3fb7d2e..de9a53584 100644
@@ -5,8 +5,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=19b6be66ed463d93fa88c29f7860bcd7"
 
 FILESEXTRAPATHS_prepend := "${THISDIR}/python-requests:"
 
-SRC_URI[md5sum] = "abfdc28db1065bbd0bc32592ac9d27a6"
-SRC_URI[sha256sum] = "b3f43d496c6daba4493e7c431722aeb7dbc6288f52a6e04e7b6023b0247817e6"
+SRC_URI[md5sum] = "b54bff26a389e5932e8b1c4983a99ce7"
+SRC_URI[sha256sum] = "b3559a131db72c33ee969480840fff4bb6dd111de7dd27c8ee1f820f4f00231b"
 
 inherit pypi setuptools3
 
Signature · 1 line
2.17.1
author
#1 lore raw

PATCH 2/5 python3-cryptography-vectors: Upgrade 2.8 -> 2.9.2

Upgrade to release 2.9.2:

- Updated the macOS wheel to fix an issue where it would not run
on macOS versions older than 10.15.
- Updated Windows, macOS, and manylinux wheels to be compiled with
OpenSSL 1.1.1g.
- Support for Python 3.4 has been removed due to low usage and
maintenance burden.
- Support for OpenSSL 1.0.1 has been removed. Users on older
version of OpenSSL will need to upgrade.
- Support for LibreSSL 2.6.x has been removed.
- Removed support for calling :meth:~cryptography.hazmat.primitives.asymmetric.x25519.X25519PublicKey.public_bytes with no arguments, as per our deprecation policy. You must now
pass encoding and format.

---
 ...y-vectors_2.8.bb => python3-cryptography-vectors_2.9.2.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-cryptography-vectors_2.8.bb => python3-cryptography-vectors_2.9.2.bb} (73%)
meta-python/recipes-devtools/python/python3-cryptography-vectors_2.9.2.bb renamed from meta-python/recipes-devtools/python/python3-cryptography-vectors_2.8.bb +2 -2
similarity index 73%
rename from meta-python/recipes-devtools/python/python3-cryptography-vectors_2.8.bb
rename to meta-python/recipes-devtools/python/python3-cryptography-vectors_2.9.2.bb
index 948aab9e0..60316fc74 100644
@@ -4,8 +4,8 @@ SECTION = "devel/python"
 LICENSE = "Apache-2.0 | BSD"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4"
 
-SRC_URI[md5sum] = "a744ed29bb9ef56b3a50317fea3b218e"
-SRC_URI[sha256sum] = "6cd32174c56a3eca72f64af43c1daacaae758cfa5ff9d280dfcf818fa11ef116"
+SRC_URI[md5sum] = "657349b8de73959fc49ba15fd7346b58"
+SRC_URI[sha256sum] = "99ac91c4d89572399b097240809af1b8f67f4bedf43398d290c9b2b3d9f491b4"
 
 PYPI_PACKAGE = "cryptography_vectors"
 
Signature · 1 line
2.17.1
Acked-by on v1 2/5
#2 lore raw

Re: [oe] [meta-python][PATCH 2/5] python3-cryptography-vectors: Upgrade 2.8 -> 2.9.2

Quoted 16 lines · Leon Anavi

Upgrade to release 2.9.2:

- Updated the macOS wheel to fix an issue where it would not run
on macOS versions older than 10.15.
- Updated Windows, macOS, and manylinux wheels to be compiled with
OpenSSL 1.1.1g.
- Support for Python 3.4 has been removed due to low usage and
maintenance burden.
- Support for OpenSSL 1.0.1 has been removed. Users on older
version of OpenSSL will need to upgrade.
- Support for LibreSSL 2.6.x has been removed.
- Removed support for calling :meth:~cryptography.hazmat.primitives.asymmetric.x25519.X25519PublicKey.public_bytes with no arguments, as per our deprecation policy. You must now
pass encoding and format.

Quoted 1 line
Quoted 25 lines
---
  ...y-vectors_2.8.bb => python3-cryptography-vectors_2.9.2.bb} | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

rename meta-python/recipes-devtools/python/{python3-cryptography-vectors_2.8.bb => python3-cryptography-vectors_2.9.2.bb} (73%)

meta-python/recipes-devtools/python/python3-cryptography-vectors_2.9.2.bb renamed from meta-python/recipes-devtools/python/python3-cryptography-vectors_2.8.bb +2 -2
similarity index 73%
rename from meta-python/recipes-devtools/python/python3-cryptography-vectors_2.8.bb
rename to meta-python/recipes-devtools/python/python3-cryptography-vectors_2.9.2.bb
index 948aab9e0..60316fc74 100644
@@ -4,8 +4,8 @@ SECTION = "devel/python"
  LICENSE = "Apache-2.0 | BSD"
  LIC_FILES_CHKSUM = "file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4"
 
-SRC_URI[md5sum] = "a744ed29bb9ef56b3a50317fea3b218e"
-SRC_URI[sha256sum] = "6cd32174c56a3eca72f64af43c1daacaae758cfa5ff9d280dfcf818fa11ef116"
+SRC_URI[md5sum] = "657349b8de73959fc49ba15fd7346b58"
+SRC_URI[sha256sum] = "99ac91c4d89572399b097240809af1b8f67f4bedf43398d290c9b2b3d9f491b4"
 
  PYPI_PACKAGE = "cryptography_vectors"
 
author
#3 lore raw

PATCH 3/5 python3-google-api-python-client: Upgrade 1.7.11 -> 1.9.3

In reply to Leon Anavi

Upgrade to release 1.9.3:

- update GOOGLE_API_USE_MTLS values
- bump api-core version
- fix python-api-core dependency issue
- add mtls feature
- add templates for python samples projects

---
 ...nt_1.7.11.bb => python3-google-api-python-client_1.9.3.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-google-api-python-client_1.7.11.bb => python3-google-api-python-client_1.9.3.bb} (69%)
meta-python/recipes-devtools/python/python3-google-api-python-client_1.9.3.bb renamed from meta-python/recipes-devtools/python/python3-google-api-python-client_1.7.11.bb +2 -2
similarity index 69%
rename from meta-python/recipes-devtools/python/python3-google-api-python-client_1.7.11.bb
rename to meta-python/recipes-devtools/python/python3-google-api-python-client_1.9.3.bb
index 25e3b9c3f..af4aa5287 100644
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/googleapis/google-api-python-client"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=94023d14f6b58272fd885e4e3f2f08b3"
 
-SRC_URI[md5sum] = "6e28e8caf2e4d55ed5b7c48a538a61c9"
-SRC_URI[sha256sum] = "a8a88174f66d92aed7ebbd73744c2c319b4b1ce828e565f9ec721352d2e2fb8c"
+SRC_URI[md5sum] = "eb5fa1e3f83b659ff978df1346a55576"
+SRC_URI[sha256sum] = "220349ce189a85229fc46875d467101318495a4a735c0ff2f165b9bdbc7511a0"
 
 inherit pypi setuptools3
Signature · 1 line
2.17.1
Acked-by on v1 3/5
#4 lore raw

Re: [oe] [meta-python][PATCH 3/5] python3-google-api-python-client: Upgrade 1.7.11 -> 1.9.3

Quoted 9 lines · Leon Anavi

Upgrade to release 1.9.3:

- update GOOGLE_API_USE_MTLS values
- bump api-core version
- fix python-api-core dependency issue
- add mtls feature
- add templates for python samples projects

Quoted 24 lines
---
  ...nt_1.7.11.bb => python3-google-api-python-client_1.9.3.bb} | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

rename meta-python/recipes-devtools/python/{python3-google-api-python-client_1.7.11.bb => python3-google-api-python-client_1.9.3.bb} (69%)

meta-python/recipes-devtools/python/python3-google-api-python-client_1.9.3.bb renamed from meta-python/recipes-devtools/python/python3-google-api-python-client_1.7.11.bb +2 -2
similarity index 69%
rename from meta-python/recipes-devtools/python/python3-google-api-python-client_1.7.11.bb
rename to meta-python/recipes-devtools/python/python3-google-api-python-client_1.9.3.bb
index 25e3b9c3f..af4aa5287 100644
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/googleapis/google-api-python-client"
  LICENSE = "Apache-2.0"
  LIC_FILES_CHKSUM = "file://LICENSE;md5=94023d14f6b58272fd885e4e3f2f08b3"
 
-SRC_URI[md5sum] = "6e28e8caf2e4d55ed5b7c48a538a61c9"
-SRC_URI[sha256sum] = "a8a88174f66d92aed7ebbd73744c2c319b4b1ce828e565f9ec721352d2e2fb8c"
+SRC_URI[md5sum] = "eb5fa1e3f83b659ff978df1346a55576"
+SRC_URI[sha256sum] = "220349ce189a85229fc46875d467101318495a4a735c0ff2f165b9bdbc7511a0"
 
  inherit pypi setuptools3
author
#5 lore raw

PATCH 4/5 python3-pyperclip: Upgrade 1.7.0 -> 1.8.0

In reply to Leon Anavi

Upgrade to release 1.8.0:

- Correcting a URL
- Updating code and docs with waitForPaste() and waitForNewPaste() functions.

Use the exact line with license information from PKG-INFO.

---
 .../python/python3-pyperclip_1.7.0.bb             | 14 --------------
 .../python/python3-pyperclip_1.8.0.bb             | 15 +++++++++++++++
 2 files changed, 15 insertions(+), 14 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-pyperclip_1.7.0.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-pyperclip_1.8.0.bb
meta-python/recipes-devtools/python/python3-pyperclip_1.7.0.bb deleted +0 -14
deleted file mode 100644
index 52d109abc..000000000
@@ -1,14 +0,0 @@
-DESCRIPTION = "A cross-platform clipboard module for Python. (only handles plain text for now)"
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://PKG-INFO;md5=a428356ada7737b416ec4b63dc65d581"
-
-SRC_URI[md5sum] = "6bbb8598579cc3ee50554b4c59d0cfae"
-SRC_URI[sha256sum] = "979325468ccf682104d5dcaf753f869868100631301d3e72f47babdea5700d1c"
-
-inherit pypi setuptools3
-
-RDEPENDS_${PN} += " \
-    ${PYTHON_PN}-ctypes \
-"
-
-BBCLASSEXTEND = "native nativesdk"
meta-python/recipes-devtools/python/python3-pyperclip_1.8.0.bb new file +15 -0
new file mode 100644
index 000000000..8f331529a
@@ -0,0 +1,15 @@
+DESCRIPTION = "A cross-platform clipboard module for Python. (only handles plain text for now)"
+HOMEPAGE = "https://github.com/asweigart/pyperclip"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=d7dd4b0d1f7153322a546e89b5a0a632"
+
+SRC_URI[md5sum] = "c2564a74b909b6fc32401afd619de83d"
+SRC_URI[sha256sum] = "b75b975160428d84608c26edba2dec146e7799566aea42c1fe1b32e72b6028f2"
+
+inherit pypi setuptools3
+
+RDEPENDS_${PN} += " \
+    ${PYTHON_PN}-ctypes \
+"
+
+BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.17.1
Acked-by on v1 4/5
#6 lore raw

Re: [oe] [meta-python][PATCH 4/5] python3-pyperclip: Upgrade 1.7.0 -> 1.8.0

Quoted 9 lines · Leon Anavi

Upgrade to release 1.8.0:

- Correcting a URL
- Updating code and docs with waitForPaste() and waitForNewPaste() functions.

Use the exact line with license information from PKG-INFO.

Quoted 50 lines
---
  .../python/python3-pyperclip_1.7.0.bb             | 14 --------------
  .../python/python3-pyperclip_1.8.0.bb             | 15 +++++++++++++++
  2 files changed, 15 insertions(+), 14 deletions(-)

delete mode 100644 meta-python/recipes-devtools/python/python3-pyperclip_1.7.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-pyperclip_1.8.0.bb

meta-python/recipes-devtools/python/python3-pyperclip_1.7.0.bb deleted +0 -14
deleted file mode 100644
index 52d109abc..000000000
@@ -1,14 +0,0 @@
-DESCRIPTION = "A cross-platform clipboard module for Python. (only handles plain text for now)"
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://PKG-INFO;md5=a428356ada7737b416ec4b63dc65d581"
-
-SRC_URI[md5sum] = "6bbb8598579cc3ee50554b4c59d0cfae"
-SRC_URI[sha256sum] = "979325468ccf682104d5dcaf753f869868100631301d3e72f47babdea5700d1c"
-
-inherit pypi setuptools3
-
-RDEPENDS_${PN} += " \
-    ${PYTHON_PN}-ctypes \
-"
-
-BBCLASSEXTEND = "native nativesdk"
meta-python/recipes-devtools/python/python3-pyperclip_1.8.0.bb new file +15 -0
new file mode 100644
index 000000000..8f331529a
@@ -0,0 +1,15 @@
+DESCRIPTION = "A cross-platform clipboard module for Python. (only handles plain text for now)"
+HOMEPAGE = "https://github.com/asweigart/pyperclip"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=d7dd4b0d1f7153322a546e89b5a0a632"
+
+SRC_URI[md5sum] = "c2564a74b909b6fc32401afd619de83d"
+SRC_URI[sha256sum] = "b75b975160428d84608c26edba2dec146e7799566aea42c1fe1b32e72b6028f2"
+
+inherit pypi setuptools3
+
+RDEPENDS_${PN} += " \
+    ${PYTHON_PN}-ctypes \
+"
+
+BBCLASSEXTEND = "native nativesdk"
author
#7 lore raw

PATCH 5/5 python3-pyhamcrest: Upgrade 1.9.0 -> 2.0.2

In reply to Leon Anavi

Upgrade to release 2.0.2:

- Various type hint bug fixes.
- Make hamcrest package PEP 561 compatible, i.e. supply type hints for external use.
- Drop formal support for 2.x
- Drop formal support for 3.x < 3.5
- Fix raises() grows support for additional matchers on exception object.
- Made has_properties() report all mismatches, not just the first.
- Silence warnings.
- Type fixes.
- Remove obsolete dependencies.

The year in LICENSE.txt has been updated and the LIC_FILES_CHKSUM changed. The license remains the same.

---
 .../python/python3-pyhamcrest_1.9.0.bb              | 12 ------------
 .../python/python3-pyhamcrest_2.0.2.bb              | 13 +++++++++++++
 2 files changed, 13 insertions(+), 12 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-pyhamcrest_1.9.0.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-pyhamcrest_2.0.2.bb
meta-python/recipes-devtools/python/python3-pyhamcrest_1.9.0.bb deleted +0 -12
deleted file mode 100644
index ee96a079a..000000000
@@ -1,12 +0,0 @@
-SUMMARY = "Hamcrest framework for matcher objects"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=f6df1318c6071dd1707f5e3b6c11f24f"
-
-PYPI_PACKAGE = "PyHamcrest"
-
-SRC_URI[md5sum] = "8b833a3fa30197455df79424f30c8c3f"
-SRC_URI[sha256sum] = "8ffaa0a53da57e89de14ced7185ac746227a8894dbd5a3c718bf05ddbd1d56cd"
-
-inherit pypi setuptools3
-
-RDEPENDS_${PN} += "${PYTHON_PN}-six"
meta-python/recipes-devtools/python/python3-pyhamcrest_2.0.2.bb new file +13 -0
new file mode 100644
index 000000000..59d9b5e8b
@@ -0,0 +1,13 @@
+SUMMARY = "Hamcrest framework for matcher objects"
+HOMEPAGE = "https://github.com/hamcrest/PyHamcrest"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=79391bf1501c898472d043f36e960612"
+
+PYPI_PACKAGE = "PyHamcrest"
+
+SRC_URI[md5sum] = "7a086f0b067f8d38958ec32f054559b4"
+SRC_URI[sha256sum] = "412e00137858f04bde0729913874a48485665f2d36fe9ee449f26be864af9316"
+
+inherit pypi setuptools3
+
+RDEPENDS_${PN} += "${PYTHON_PN}-six"
Signature · 1 line
2.17.1
Acked-by on v1 5/5
#8 lore raw

Re: [oe] [meta-python][PATCH 5/5] python3-pyhamcrest: Upgrade 1.9.0 -> 2.0.2

Quoted 14 lines · Leon Anavi

Upgrade to release 2.0.2:

- Various type hint bug fixes.
- Make hamcrest package PEP 561 compatible, i.e. supply type hints for external use.
- Drop formal support for 2.x
- Drop formal support for 3.x < 3.5
- Fix raises() grows support for additional matchers on exception object.
- Made has_properties() report all mismatches, not just the first.
- Silence warnings.
- Type fixes.
- Remove obsolete dependencies.

Quoted 4 lines

The year in LICENSE.txt has been updated and the LIC_FILES_CHKSUM changed. The license remains the same.

Quoted 46 lines
---
  .../python/python3-pyhamcrest_1.9.0.bb              | 12 ------------
  .../python/python3-pyhamcrest_2.0.2.bb              | 13 +++++++++++++
  2 files changed, 13 insertions(+), 12 deletions(-)

delete mode 100644 meta-python/recipes-devtools/python/python3-pyhamcrest_1.9.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-pyhamcrest_2.0.2.bb

meta-python/recipes-devtools/python/python3-pyhamcrest_1.9.0.bb deleted +0 -12
deleted file mode 100644
index ee96a079a..000000000
@@ -1,12 +0,0 @@
-SUMMARY = "Hamcrest framework for matcher objects"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=f6df1318c6071dd1707f5e3b6c11f24f"
-
-PYPI_PACKAGE = "PyHamcrest"
-
-SRC_URI[md5sum] = "8b833a3fa30197455df79424f30c8c3f"
-SRC_URI[sha256sum] = "8ffaa0a53da57e89de14ced7185ac746227a8894dbd5a3c718bf05ddbd1d56cd"
-
-inherit pypi setuptools3
-
-RDEPENDS_${PN} += "${PYTHON_PN}-six"
meta-python/recipes-devtools/python/python3-pyhamcrest_2.0.2.bb new file +13 -0
new file mode 100644
index 000000000..59d9b5e8b
@@ -0,0 +1,13 @@
+SUMMARY = "Hamcrest framework for matcher objects"
+HOMEPAGE = "https://github.com/hamcrest/PyHamcrest"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=79391bf1501c898472d043f36e960612"
+
+PYPI_PACKAGE = "PyHamcrest"
+
+SRC_URI[md5sum] = "7a086f0b067f8d38958ec32f054559b4"
+SRC_URI[sha256sum] = "412e00137858f04bde0729913874a48485665f2d36fe9ee449f26be864af9316"
+
+inherit pypi setuptools3
+
+RDEPENDS_${PN} += "${PYTHON_PN}-six"
Acked-by on v1 1/5
#9 lore raw
In reply to Leon Anavi
Quoted 11 lines · Leon Anavi

Upgrade to release 2.24.0:

- pyOpenSSL TLS implementation is now only used if Python either doesn't have an ssl module or doesn't support SNI. Previously pyOpenSSL was unconditionally used if available. This applies even if pyOpenSSL is installed via the requests[security] extra.
- Redirect resolution should now only occur when allow_redirects is True.
- No longer perform unnecessary Content-Length calculation for requests that won’t use it.

Quoted 1 line
Quoted 25 lines
---
  ...{python3-requests_2.23.0.bb => python3-requests_2.24.0.bb} | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

rename meta-python/recipes-devtools/python/{python3-requests_2.23.0.bb => python3-requests_2.24.0.bb} (81%)

meta-python/recipes-devtools/python/python3-requests_2.24.0.bb renamed from meta-python/recipes-devtools/python/python3-requests_2.23.0.bb +2 -2
similarity index 81%
rename from meta-python/recipes-devtools/python/python3-requests_2.23.0.bb
rename to meta-python/recipes-devtools/python/python3-requests_2.24.0.bb
index 9f3fb7d2e..de9a53584 100644
@@ -5,8 +5,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=19b6be66ed463d93fa88c29f7860bcd7"
 
  FILESEXTRAPATHS_prepend := "${THISDIR}/python-requests:"
 
-SRC_URI[md5sum] = "abfdc28db1065bbd0bc32592ac9d27a6"
-SRC_URI[sha256sum] = "b3f43d496c6daba4493e7c431722aeb7dbc6288f52a6e04e7b6023b0247817e6"
+SRC_URI[md5sum] = "b54bff26a389e5932e8b1c4983a99ce7"
+SRC_URI[sha256sum] = "b3559a131db72c33ee969480840fff4bb6dd111de7dd27c8ee1f820f4f00231b"
 
  inherit pypi setuptools3