diff --git a/srcpkgs/python3-trio/patches/fix-for-attrs-24.1.0.patch b/srcpkgs/python3-trio/patches/fix-for-attrs-24.1.0.patch deleted file mode 100644 index c4e36205c9c..00000000000 --- a/srcpkgs/python3-trio/patches/fix-for-attrs-24.1.0.patch +++ /dev/null @@ -1,24 +0,0 @@ -Cherry picked from: https://github.com/python-trio/trio/pull/3058 - -From 0152c3efcffe7d9b77b2a765e6992c6685b63499 Mon Sep 17 00:00:00 2001 -From: A5rocks -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 - diff --git a/srcpkgs/python3-trio/template b/srcpkgs/python3-trio/template index 62788e39dc6..d6510e411af 100644 --- a/srcpkgs/python3-trio/template +++ b/srcpkgs/python3-trio/template @@ -1,7 +1,7 @@ # Template file for 'python3-trio' pkgname=python3-trio -version=0.26.1 -revision=2 +version=0.30.0 +revision=1 build_style=python3-pep517 # Needs astor (https://pypi.org/project/astor/) make_check_args="--ignore src/trio/_tests/tools/test_gen_exports.py" @@ -16,15 +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=6d2fe7ee656146d598ec75128ff4a2386576801b42b691f4a91cc2c18508544a -make_check_pre="env PY_IGNORE_IMPORTMISMATCH=1" - -if [ "$XBPS_TARGET_LIBC" = "musl" ]; then - # pthread_getname_np(3) n/a in musl 1.1 - make_check_args+=" - --deselect src/trio/_tests/test_threads.py::test_named_thread_os - " -fi +checksum=0781c857c0c81f8f51e0089929a26b5bb63d57f927728a5586f7e36171f064df post_install() { vlicense LICENSE