Skip to contentSkip to conversation

python3-zopeinterface: Upgrade to 7.1.1

PATCH In review Khem Raj 2 participants 5 messages Oct 26, 2024

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/4 python3-zopeinterface: Upgrade to 7.1.1

Changes

7.1.1 (2024-10-23)
Fix segmentation faults in weakrefobject.c on Python 3.12 and 3.13.

7.1.0 (2024-10-10)
Declare support for Python 3.13.

Fix segmentation faults on Python 3.13.

7.0.3 (2024-08-27)
Fix Assertion ‘memb->type == T_PYSSIZET’ failed. for Python < 3.12.

7.0.2 (2024-08-26)
Fix reference-counting bug in C module initialization (broken in 7.0).

7.0.1 (2024-08-06)
Fix subclassability of ObjectSpecificationDescriptor (broken in 7.0).

7.0 (2024-08-06)
Enable heap-based types (PEP 384) for Python >= 3.11.

Adopt multi-phase module initialization (PEP 489).

Drop support for Python 3.7.

6.4.post2 (2024-05-24)
Publish missing Windows wheels, second attempt.

6.4.post1 (2024-05-23)
Publish missing Windows wheels.

6.4.post0 (2024-05-22)
The sdist of version 6.4 was uploaded to PyPI as zope_interface-6.4.tar.gz instead of zope.interface-6.4-py2.tar.gz which cannot be installed by zc.buildout. This release is a re-release of version 6.4 with the correct sdist name.

6.4 (2024-05-15)
Adjust for incompatible changes in Python 3.13b1.

Build windows wheels on GHA.

---
 ...3-zopeinterface_6.3.bb => python3-zopeinterface_7.1.1.bb} | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-zopeinterface_6.3.bb => python3-zopeinterface_7.1.1.bb} (84%)
meta-python/recipes-devtools/python/python3-zopeinterface_7.1.1.bb renamed from meta-python/recipes-devtools/python/python3-zopeinterface_6.3.bb +2 -3
similarity index 84%
rename from meta-python/recipes-devtools/python/python3-zopeinterface_6.3.bb
rename to meta-python/recipes-devtools/python/python3-zopeinterface_7.1.1.bb
index 21d03f2e7d..76b0641817 100644
@@ -4,9 +4,8 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e54fd776274c1b7423
 
 PYPI_PACKAGE = "zope.interface"
 
-inherit pypi setuptools3
-SRC_URI[sha256sum] = "f83d6b4b22262d9a826c3bd4b2fbfafe1d0000f085ef8e44cd1328eea274ae6a"
-
+inherit pypi python_setuptools_build_meta
+SRC_URI[sha256sum] = "4284d664ef0ff7b709836d4de7b13d80873dc5faeffc073abdb280058bfac5e3"
 PACKAGES =. "${PN}-test "
 
 RPROVIDES:${PN} += "zope-interfaces"
author
#1 lore raw

PATCH 2/4 python3-google-auth: Upgrade to 2.35.0

2.35.0 (2024-09-17)
Features
Add cred info to ADC creds
Add support for asynchronous AuthorizedSession api Bug Fixes
Remove token_info call from token refresh path

2.34.0 (2024-08-13)
Features
auth: Update get_client_ssl_credentials to support X.509 workload certs Bug Fixes
Retry token request on retryable status code (#1563) (f858a15)

2.33.0 (2024-08-06)
Features
Implement async StaticCredentials using access tokens Implement base classes for credentials and request sessions Bug Fixes
metadata: Enhance retry logic for metadata server access in _metadata.py Documentation
Update argument for Credentials initialization

2.32.0 (2024-07-08)
Features
Adds support for X509 workload credential type

2.31.0 (2024-06-27)
Features
Adds X509 workload cert logic
Bug Fixes
Added py.typed to MANIFEST.in
Pass trust_env kwarg to ClientSession

---
 ...oogle-auth_2.30.0.bb => python3-google-auth_2.35.0.bb} | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-google-auth_2.30.0.bb => python3-google-auth_2.35.0.bb} (83%)
meta-python/recipes-devtools/python/python3-google-auth_2.35.0.bb renamed from meta-python/recipes-devtools/python/python3-google-auth_2.30.0.bb +5 -3
similarity index 83%
rename from meta-python/recipes-devtools/python/python3-google-auth_2.30.0.bb
rename to meta-python/recipes-devtools/python/python3-google-auth_2.35.0.bb
index c51be16505..f0ef3c6773 100644
@@ -5,21 +5,23 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
 
 inherit pypi setuptools3 ptest
 
-SRC_URI[sha256sum] = "ab630a1320f6720909ad76a7dbdb6841cdf5c66b328d690027e4867bdfb16688"
-
+SRC_URI[sha256sum] = "f4c64ed4e01e8e8b646ef34c018f8bf3338df0c8e37d8b3bba40e7f574a3278a"
 SRC_URI += " \
         file://run-ptest \
 "
 
+PYPI_PACKAGE = "google_auth"
+
 RDEPENDS:${PN}-ptest += " \
+        python3-aioresponses \
         python3-cryptography \
         python3-flask \
         python3-freezegun \
         python3-grpcio \
         python3-mock \
-        python3-oauth2client \
         python3-pyopenssl \
         python3-pytest \
+        python3-pytest-asyncio \
         python3-pytest-localserver \
         python3-pyu2f \
         python3-requests \
author
#2 lore raw

PATCH 3/4 python3-oauth2client: Remove recipe

In reply to Khem Raj

This module has been deprecated [1] since 2018 and it recommends to use oauth2.googleapis.com variants

[1] https://github.com/googleapis/oauth2client/commit/50d20532a748f18e53f7d24ccbe6647132c979a9#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4edR9

---
 .../python3-oauth2client_4.1.3.bb             | 19 -------------------
 1 file changed, 19 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python3_oauth2client/python3-oauth2client_4.1.3.bb
meta-python/recipes-devtools/python3_oauth2client/python3-oauth2client_4.1.3.bb deleted +0 -19
deleted file mode 100644
index d87e289c5f..0000000000
@@ -1,19 +0,0 @@
-DESCRIPTION = "OAuth 2.0 client library"
-
-HOMEPAGE = "http://github.com/google/oauth2client/"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=038e1390e94fe637991fa5569daa62bc"
-
-inherit pypi
-
-SRC_URI[sha256sum] = "d486741e451287f69568a4d26d70d9acd73a2bbfa275746c535b4209891cccc6"
-
-RDEPENDS:${PN} += " \
-        python3-httplib2 \
-        python3-pyasn1 \
-        python3-pyasn1-modules \
-        python3-rsa \
-        python3-six \
-        "
-
-inherit setuptools3
#3 lore raw

Re: [oe] [meta-python][PATCH 3/4] python3-oauth2client: Remove recipe

Quoted 3 lines · Khem Raj via lists.openembedded.org

This module has been deprecated [1] since 2018 and it recommends to use oauth2.googleapis.com variants

Thank you for the cleanup Khem!

Quoted 53 lines

[1]
https://github.com/googleapis/oauth2client/commit/50d20532a748f18e53f7d24ccbe6647132c979a9#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4edR9

---
 .../python3-oauth2client_4.1.3.bb             | 19 -------------------
 1 file changed, 19 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python3_oauth2client/

python3-oauth2client_4.1.3.bb

(quoted diff) +0 -0

python3-oauth2client_4.1.3.bb b/meta-python/recipes-devtools/python3_oauth2client/ python3-oauth2client_4.1.3.bb
deleted file mode 100644
index d87e289c5f..0000000000
--- a/meta-python/recipes-devtools/python3_oauth2client/ python3-oauth2client_4.1.3.bb
+++ /dev/null

meta-python/recipes-devtools/python3_oauth2client/python3-oauth2client_4.1.3.bb deleted +0 -9
@@ -1,19 +0,0 @@
-DESCRIPTION = "OAuth 2.0 client library"
-
-HOMEPAGE = "http://github.com/google/oauth2client/"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=038e1390e94fe637991fa5569daa62bc"
-
-inherit pypi
-
-SRC_URI[sha256sum] =

"d486741e451287f69568a4d26d70d9acd73a2bbfa275746c535b4209891cccc6"

meta-python/recipes-devtools/python3_oauth2client/python3-oauth2client_4.1.3.bb deleted +0 -11
-
-RDEPENDS:${PN} += " \
-        python3-httplib2 \
-        python3-pyasn1 \
-        python3-pyasn1-modules \
-        python3-rsa \
-        python3-six \
-        "
-
-inherit setuptools3
 
-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group. View/Reply Online (#113233):
https://lists.openembedded.org/g/openembedded-devel/message/113233
Mute This Topic: https://lists.openembedded.org/mt/109220002/924729
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

author
#4 lore raw

PATCH 4/4 python3-aioresponses: Add recipe

In reply to Khem Raj
---
 .../python/python3-aioresponses_0.7.6.bb      | 25 +++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-aioresponses_0.7.6.bb
meta-python/recipes-devtools/python/python3-aioresponses_0.7.6.bb new file +25 -0
new file mode 100644
index 0000000000..a99c80f592
@@ -0,0 +1,25 @@
+SUMMARY = "Mock out requests made by ClientSession from aiohttp package"
+HOMEPAGE = "https://github.com/pnuckowski/aioresponses"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=b22b40d5974300051216633098387c57"
+
+SRC_URI[sha256sum] = "f795d9dbda2d61774840e7e32f5366f45752d1adc1b74c9362afd017296c7ee1"
+
+DEPENDS += "python3-pbr-native"
+
+inherit setuptools3 pypi
+
+RDEPENDS:${PN} += "python3-aiohttp \
+                   python3-asyncio \
+                   python3-core \
+                   python3-json \
+                   python3-math \
+                   python3-multidict \
+                   python3-netclient \
+                   python3-packaging \
+                   python3-unittest \
+                   python3-yarl"
+
+# optionally needs asynctest asynctest.case ddt but recipes do not exist for them
+
+PYPI_PACKAGE = "aioresponses"