diff options
| author | Leon Anavi <leon.anavi@konsulko.com> | 2025-02-14 18:18:13 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-02-14 20:27:17 -0800 |
| commit | 627e2e76f88469bb6dd36013877a7b5a28cbc592 (patch) | |
| tree | bc77f9ea9332b68811ac10b4227d5cb37f41f48f | |
| parent | fe09b04b6877c6f9ae355fe1aa7188614a1b5ccd (diff) | |
| download | meta-openembedded-627e2e76f88469bb6dd36013877a7b5a28cbc592.tar.gz | |
python3-trio: Upgrade 0.28.0 -> 0.29.0
Upgrade to release 0.29.0:
- Add trio.lowlevel.in_trio_run() and trio.lowlevel.in_trio_task()
and document the semantics (and differences) thereof. See the
documentation.
- If trio.testing.RaisesGroup does not get the expected exceptions
it now raises an AssertionError with a helpful message, instead
of letting the raised exception/group fall through. The raised
exception is available in the __context__ of the AssertionError
and can be seen in the traceback.
- Clear Trio's cache of worker threads upon os.fork.
- Stop using ctypes to mutate tracebacks for
strict_exception_groups=False's exception collapsing.
- Fixed spelling error in Windows error code enum for
ERROR_INVALID_PARAMETER.
- Publicly re-export __version__ for type checking purposes.
- The typing of trio.abc.HostnameResolver.getaddrinfo() has been
corrected to match that of the stdlib socket.getaddrinfo, which
was updated in mypy 1.15 (via a typeshed update) to include the
possibility of tuple[int, bytes] for the sockaddr field of the
result. This happens in situations where Python was compiled with
--disable-ipv6.
- Additionally, the static typing of trio.to_thread.run_sync(),
trio.from_thread.run() and trio.from_thread.run_sync() has been
improved and should reflect the underlying function being run.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-trio_0.29.0.bb (renamed from meta-python/recipes-devtools/python/python3-trio_0.28.0.bb) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python3-trio_0.28.0.bb b/meta-python/recipes-devtools/python/python3-trio_0.29.0.bb index 04458b766c..35fd05a199 100644 --- a/meta-python/recipes-devtools/python/python3-trio_0.28.0.bb +++ b/meta-python/recipes-devtools/python/python3-trio_0.29.0.bb | |||
| @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=447ea202d14d2aee40d8a2c26c865da9 \ | |||
| 5 | file://LICENSE.APACHE2;md5=3b83ef96387f14655fc854ddc3c6bd57 \ | 5 | file://LICENSE.APACHE2;md5=3b83ef96387f14655fc854ddc3c6bd57 \ |
| 6 | file://LICENSE.MIT;md5=5f229c828e5a6f0a2ce90c7d3c054721" | 6 | file://LICENSE.MIT;md5=5f229c828e5a6f0a2ce90c7d3c054721" |
| 7 | 7 | ||
| 8 | SRC_URI[sha256sum] = "4e547896fe9e8a5658e54e4c7c5fa1db748cbbbaa7c965e7d40505b928c73c05" | 8 | SRC_URI[sha256sum] = "ea0d3967159fc130acb6939a0be0e558e364fee26b5deeecc893a6b08c361bdf" |
| 9 | 9 | ||
| 10 | inherit pypi python_setuptools_build_meta | 10 | inherit pypi python_setuptools_build_meta |
| 11 | 11 | ||
