Skip to contentSkip to conversation

python3-anyio: Upgrade 4.2.0 -> 4.3.0

PATCH New Leon Anavi 1 participant 2 messages Mar 22, 2024

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/2 python3-anyio: Upgrade 4.2.0 -> 4.3.0

Upgrade to version 4.3.0:

- Added support for the Python 3.12 walk_up keyword argument in anyio.Path.relative_to() (PR by Colin Taylor)
- Fixed passing total_tokens to anyio.CapacityLimiter() as a keyword argument not working on the trio backend (#515)
- Fixed Process.aclose() not performing the minimum level of necessary cleanup when cancelled. Previously:
- Cancellation of Process.aclose() could leak an orphan process
- Cancellation of run_process() could very briefly leak an orphan process.
- Cancellation of Process.aclose() or run_process() on Trio could leave standard streams unclosed
- Fixed Process.stdin.aclose(), Process.stdout.aclose(), and Process.stderr.aclose() not including a checkpoint on asyncio
- Fixed documentation on how to provide your own typed attributes

---
 .../{python3-anyio_4.2.0.bb => python3-anyio_4.3.0.bb}      | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-anyio_4.2.0.bb => python3-anyio_4.3.0.bb} (78%)
meta-python/recipes-devtools/python/python3-anyio_4.3.0.bb renamed from meta-python/recipes-devtools/python/python3-anyio_4.2.0.bb +5 -1
similarity index 78%
rename from meta-python/recipes-devtools/python/python3-anyio_4.2.0.bb
rename to meta-python/recipes-devtools/python/python3-anyio_4.3.0.bb
index 0bf907de7..2c7a9f8ca 100644
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c0a769411d2af7894099e8ff75058c9f"
 
 inherit pypi python_setuptools_build_meta
 
-SRC_URI[sha256sum] = "e1875bb4b4e2de1669f4bc7869b6d3f54231cdced71605e6e64c9be77e3be50f"
+SRC_URI[sha256sum] = "f75253795a87df48568485fd18cdd2a3fa5c4f7c5be8e5e36637733fce06fed6"
 
 DEPENDS += " \
 	python3-setuptools-scm-native \
@@ -20,4 +20,8 @@ DEPENDS += " \
 RDEPENDS:${PN} += "\
     python3-idna \
     python3-sniffio \
+    python3-core \
+    python3-numbers \
+    python3-io \
+    python3-asyncio \
 "
Signature · 1 line
2.39.2
author
#1 lore raw

PATCH 2/2 python3-httpx: Upgrade 0.26.0 -> 0.27.0

Upgrade to version 0.27.0:

- The app=... shortcut has been deprecated. Use the explicit style of transport=httpx.WSGITransport() or transport=httpx.ASGITransport() instead.
- Respect the http1 argument while configuring proxy transports.
- Fix RFC 2069 mode digest authentication.

---
 .../{python3-httpx_0.26.0.bb => python3-httpx_0.27.0.bb}    | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-httpx_0.26.0.bb => python3-httpx_0.27.0.bb} (81%)
meta-python/recipes-devtools/python/python3-httpx_0.27.0.bb renamed from meta-python/recipes-devtools/python/python3-httpx_0.26.0.bb +5 -1
similarity index 81%
rename from meta-python/recipes-devtools/python/python3-httpx_0.26.0.bb
rename to meta-python/recipes-devtools/python/python3-httpx_0.27.0.bb
index 50bff7f85..e4d3cbeee 100644
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.md;md5=c624803bdf6fc1c4ce39f5ae11d7bd05"
 
 inherit pypi python_hatchling
 
-SRC_URI[sha256sum] = "451b55c30d5185ea6b23c2c793abf9bb237d2a7dfb901ced6ff69ad37ec1dfaf"
+SRC_URI[sha256sum] = "a0cb88a46f32dc874e04ee956e4c2764aba2aa228f650b06788ba6bda2962ab5"
 
 DEPENDS += "\
     python3-hatch-fancy-pypi-readme-native \
@@ -22,6 +22,10 @@ RDEPENDS:${PN} += "\
     python3-httpcore \
     python3-idna \
     python3-sniffio \
+    python3-json \
+    python3-core \
+    python3-netclient \
+    python3-compression \
 "
 
 PACKAGES += "\
Signature · 1 line
2.39.2