python3-trio: update to 0.26.1.
This commit is contained in:
parent
6bfb023d61
commit
f522fdc140
|
@ -0,0 +1,24 @@
|
|||
Cherry picked from: https://github.com/python-trio/trio/pull/3058
|
||||
|
||||
From 0152c3efcffe7d9b77b2a765e6992c6685b63499 Mon Sep 17 00:00:00 2001
|
||||
From: A5rocks <git@helvetica.moe>
|
||||
Date: Mon, 5 Aug 2024 21:29:33 +0900
|
||||
Subject: [PATCH 2/5] Fix deprecation warning from attrs
|
||||
|
||||
---
|
||||
src/trio/_threads.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/trio/_threads.py b/src/trio/_threads.py
|
||||
index a04b73729..0f0e58500 100644
|
||||
--- a/src/trio/_threads.py
|
||||
+++ b/src/trio/_threads.py
|
||||
@@ -139,7 +139,7 @@ def current_default_thread_limiter() -> CapacityLimiter:
|
||||
# system; see https://github.com/python-trio/trio/issues/182
|
||||
# But for now we just need an object to stand in for the thread, so we can
|
||||
# keep track of who's holding the CapacityLimiter's token.
|
||||
-@attrs.frozen(eq=False, hash=False, slots=False)
|
||||
+@attrs.frozen(eq=False, slots=False)
|
||||
class ThreadPlaceholder:
|
||||
name: str
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'python3-trio'
|
||||
pkgname=python3-trio
|
||||
version=0.24.0
|
||||
version=0.26.1
|
||||
revision=1
|
||||
build_style=python3-pep517
|
||||
# Needs astor (https://pypi.org/project/astor/)
|
||||
|
@ -16,7 +16,7 @@ license="Apache-2.0, MIT"
|
|||
homepage="https://github.com/python-trio/trio"
|
||||
changelog="https://raw.githubusercontent.com/python-trio/trio/master/docs/source/history.rst"
|
||||
distfiles="${PYPI_SITE}/t/trio/trio-${version}.tar.gz"
|
||||
checksum=ffa09a74a6bf81b84f8613909fb0beaee84757450183a7a2e0b47b455c0cac5d
|
||||
checksum=6d2fe7ee656146d598ec75128ff4a2386576801b42b691f4a91cc2c18508544a
|
||||
make_check_pre="env PY_IGNORE_IMPORTMISMATCH=1"
|
||||
|
||||
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||
|
|
Loading…
Reference in New Issue