diff options
author | Leon Anavi <leon.anavi@konsulko.com> | 2024-10-23 15:36:45 +0300 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-10-24 05:52:19 -0700 |
commit | 87acb8df97cc931ebc5457f7041cd00e93deec88 (patch) | |
tree | 4c5756c0d8a13a1ca2adc8138a701ef91fddb13e | |
parent | e96604395ded9a620ec4995d3619b96dd2448cde (diff) | |
download | meta-openembedded-87acb8df97cc931ebc5457f7041cd00e93deec88.tar.gz |
python3-trio: Upgrade 0.26.2 -> 0.27.0
Upgrade to release 0.27.0:
- trio.move_on_after and trio.fail_after previously set the deadline
relative to initialization time, instead of more intuitively upon
entering the context manager.
- CancelScope.relative_deadline and CancelScope.is_relative added,
as well as a relative_deadline parameter to __init__. This allows
initializing scopes ahead of time, but where the specified
relative deadline doesn't count down until the scope is entered
- trio.Lock and trio.StrictFIFOLock will now raise
trio.BrokenResourceError when trio.Lock.acquire would previously
stall due to the owner of the lock exiting without releasing the
lock
- trio.move_on_at, trio.move_on_after, trio.fail_at and
trio.fail_after now accept shield as a keyword argument. If
specified, it provides an initial value for the
~trio.CancelScope.shield attribute of the trio.CancelScope
object created by the context manager
- Added trio.lowlevel.add_parking_lot_breaker and
trio.lowlevel.remove_parking_lot_breaker to allow creating
custom lock/semaphore implementations that will break their
underlying parking lot if a task exits unexpectedly.
trio.lowlevel.ParkingLot.break_lot is also added, to allow
breaking a parking lot intentionally
- Allow sockets to bind any os.PathLike object
- Update trio.lowlevel.open_process's documentation to allow bytes
- Update trio.sleep_forever to be NoReturn
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.27.0.bb (renamed from meta-python/recipes-devtools/python/python3-trio_0.26.2.bb) | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/meta-python/recipes-devtools/python/python3-trio_0.26.2.bb b/meta-python/recipes-devtools/python/python3-trio_0.27.0.bb index 1272606f6e..524e439d4e 100644 --- a/meta-python/recipes-devtools/python/python3-trio_0.26.2.bb +++ b/meta-python/recipes-devtools/python/python3-trio_0.27.0.bb | |||
@@ -5,9 +5,14 @@ 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] = "0346c3852c15e5c7d40ea15972c4805689ef2cb8b5206f794c9c19450119f3a4" | 8 | SRC_URI[sha256sum] = "1dcc95ab1726b2da054afea8fd761af74bad79bd52381b84eae408e983c76831" |
9 | 9 | ||
10 | inherit pypi python_setuptools_build_meta | 10 | inherit pypi python_setuptools_build_meta |
11 | 11 | ||
12 | PYPI_PACKAGE = "trio" | 12 | RDEPENDS:${PN} = " \ |
13 | RDEPENDS:${PN} = "python3-idna python3-sniffio" | 13 | python3-idna \ |
14 | python3-sniffio \ | ||
15 | python3-attrs \ | ||
16 | python3-outcome \ | ||
17 | python3-sortedcontainers \ | ||
18 | " | ||