Skip to contentSkip to conversation

python3-anyio: Upgrade 4.8.0 -> 4.9.0

PATCH New Leon Anavi 1 participant 3 messages Mar 18, 2025

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/3 python3-anyio: Upgrade 4.8.0 -> 4.9.0

Upgrade to release 4.9.0:

- Added async support for temporary file handling
- Added 4 new fixtures for the AnyIO pytest plugin:
- free_tcp_port_factory: session scoped fixture returning a callable that generates unused TCP port numbers
- free_udp_port_factory: session scoped fixture returning a callable that generates unused UDP port numbers
- free_tcp_port: function scoped fixture that invokes the free_tcp_port_factory fixture to generate a free TCP port number
- free_udp_port: function scoped fixture that invokes the free_udp_port_factory fixture to generate a free UDP port number
- Added stdin argument to anyio.run_process() akin to what anyio.open_process(), asyncio.create_subprocess(), trio.run_process(), and subprocess.run()
- Added the info property to anyio.Path on Python 3.14
- Changed anyio.getaddrinfo() to ignore (invalid) IPv6 name resolution results when IPv6 support is disabled in Python
- Changed EndOfStream raised from MemoryObjectReceiveStream.receive() to leave out the AttributeError from the exception chain which was merely an implementation detail and caused some confusion
- Fixed traceback formatting growing quadratically with level of TaskGroup nesting on asyncio due to exception chaining when raising ExceptionGroups in TaskGroup.__aexit__
- Fixed anyio.Path.iterdir() making a blocking call in Python 3.13
- Fixed connect_tcp() producing cyclic references in tracebacks when raising exceptions
- Fixed anyio.to_thread.run_sync() needlessly holding on to references of the context, function, arguments and others until the next work item on asyncio

---
 .../python/{python3-anyio_4.8.0.bb => python3-anyio_4.9.0.bb}   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-anyio_4.8.0.bb => python3-anyio_4.9.0.bb} (88%)
meta-python/recipes-devtools/python/python3-anyio_4.9.0.bb renamed from meta-python/recipes-devtools/python/python3-anyio_4.8.0.bb +1 -1
similarity index 88%
rename from meta-python/recipes-devtools/python/python3-anyio_4.8.0.bb
rename to meta-python/recipes-devtools/python/python3-anyio_4.9.0.bb
index c103eba46d..9cbe26a6d5 100644
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c0a769411d2af7894099e8ff75058c9f"
 
 inherit pypi python_setuptools_build_meta
 
-SRC_URI[sha256sum] = "1d9fe889df5212298c0c0723fa20479d1b94883a2df44bd3897aa91083316f7a"
+SRC_URI[sha256sum] = "673c0c244e15788651a4ff38710fea9675823028a6f08a5eda409e0c9840a028"
 
 DEPENDS += " \
 	python3-setuptools-scm-native \
Signature · 1 line
2.39.5
author
#1 lore raw

PATCH 2/3 python3-decorator: Upgrade 5.1.1 -> 5.2.1

Upgrade to release 5.2.1:

- Changed the build procedure to use pyproject.toml and moved the tests outside of the generated wheel/tarball.
- Added official support for Python 3.11, 3.12, 3.13
- Dropped official support for Python < 3.8: the module is expected to work on older Python versions, but I cannot test such versions on GitHub actions, so the author cannot claim that it is officially supported.
- Dafu Wu provided support for decorating partial functions, i.e. functions wrapped by functools.partial.
- Included tests and documentation in sdist

License-Update: Updated copyright years

---
 ...ython3-decorator_5.1.1.bb => python3-decorator_5.2.1.bb} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-decorator_5.1.1.bb => python3-decorator_5.2.1.bb} (70%)
meta-python/recipes-devtools/python/python3-decorator_5.2.1.bb renamed from meta-python/recipes-devtools/python/python3-decorator_5.1.1.bb +3 -3
similarity index 70%
rename from meta-python/recipes-devtools/python/python3-decorator_5.1.1.bb
rename to meta-python/recipes-devtools/python/python3-decorator_5.2.1.bb
index f330376243..e0ab87f89e 100644
@@ -7,11 +7,11 @@ can be abused and you should not try to solve every problem with a \
 decorator, just because you can."
 
 LICENSE = "BSD-2-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=be2fd2007972bf96c08af3293d728b22"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=69f84fd117b2398674e12b8380df27c8"
 
-SRC_URI[sha256sum] = "637996211036b6385ef91435e4fae22989472f9d571faba8927ba8253acbc330"
+SRC_URI[sha256sum] = "65f266143752f734b0a7cc83c46f4618af75b8c5911b00ccb61d0ac9b6da0360"
 
-inherit pypi setuptools3
+inherit pypi python_setuptools_build_meta
 
 RDEPENDS:${PN} += "\
     python3-stringold \
Signature · 1 line
2.39.5
author
#2 lore raw

PATCH 3/3 python3-filelock: Upgrade 3.17.0 -> 3.18.0

In reply to Leon Anavi

Upgrade to release 3.18.0:

- Indicate that locks are exclusive/write locks
- Support fcntl check on Emscripten

---
 ...{python3-filelock_3.17.0.bb => python3-filelock_3.18.0.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-filelock_3.17.0.bb => python3-filelock_3.18.0.bb} (87%)
meta-python/recipes-devtools/python/python3-filelock_3.18.0.bb renamed from meta-python/recipes-devtools/python/python3-filelock_3.17.0.bb +2 -2
similarity index 87%
rename from meta-python/recipes-devtools/python/python3-filelock_3.17.0.bb
rename to meta-python/recipes-devtools/python/python3-filelock_3.18.0.bb
index 995a55c811..9c4721d4bf 100644
@@ -1,14 +1,14 @@
 # SPDX-License-Identifier: MIT
 # Copyright (C) 2023 iris-GmbH infrared & intelligent sensors
-
 SUMMARY = "A single module, which implements a platform independent file lock in Python, which provides a simple way of inter-process communication"
 HOMEPAGE = "https://py-filelock.readthedocs.io/"
 LICENSE = "Unlicense"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=911690f51af322440237a253d695d19f"
 
-SRC_URI[sha256sum] = "ee4e77401ef576ebb38cd7f13b9b28893194acc20a8e68e18730ba9c0e54660e"
+SRC_URI[sha256sum] = "adbc88eabb99d2fec8c9c1b229b171f18afa655400173ddc653d5d01501fb9f2"
 
 BBCLASSEXTEND = "native nativesdk"
+
 inherit pypi python_hatchling
 
 DEPENDS += "\
Signature · 1 line
2.39.5