[packages/python3-trio] - updated to 0.33.0

qboosh qboosh at pld-linux.org
Sat Mar 14 08:02:43 CET 2026


commit 7d9283ae3386842df6ab4e2515169fc53ed43be6
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Mar 14 08:02:49 2026 +0100

    - updated to 0.33.0

 python3-trio.spec      | 11 +++++------
 trio-intersphinx.patch | 12 ++++++------
 2 files changed, 11 insertions(+), 12 deletions(-)
---
diff --git a/python3-trio.spec b/python3-trio.spec
index 9149778..14fc766 100644
--- a/python3-trio.spec
+++ b/python3-trio.spec
@@ -6,13 +6,13 @@
 Summary:	A friendly Python library for async concurrency and I/O
 Summary(pl.UTF-8):	Przyjazna biblioteka do współbieżności asynchronicznej i we/wy
 Name:		python3-trio
-Version:	0.32.0
+Version:	0.33.0
 Release:	1
 License:	MIT or Apache v2.0
 Group:		Libraries/Python
 #Source0Download: https://pypi.org/simple/trio/
 Source0:	https://files.pythonhosted.org/packages/source/t/trio/trio-%{version}.tar.gz
-# Source0-md5:	8bc9dbdc265c291c93006f5e0f1d3918
+# Source0-md5:	e778db1205fa2ea00dac9340471b8f1d
 Patch0:		trio-intersphinx.patch
 URL:		https://pypi.org/project/trio/
 BuildRequires:	python3-build
@@ -23,7 +23,7 @@ BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.714
 %if %{with tests} || %{with doc}
 BuildRequires:	python3-attrs >= 23.2.0
-%if "%{py3_ver}" == "3.9"
+%if "%{py3_ver}" == "3.10"
 BuildRequires:	python3-exceptiongroup >= 1.2.1
 %endif
 BuildRequires:	python3-idna
@@ -37,6 +37,7 @@ BuildRequires:	python3-astor
 # TODO (not to disable test_gen)
 #BuildRequires:	python3-black
 BuildRequires:	python3-async_generator >= 1.9
+BuildRequires:	python3-cryptography >= 41.0.0
 BuildRequires:	python3-jedi
 BuildRequires:	python3-pylint
 #BuildRequires:	python3-pyright
@@ -88,11 +89,9 @@ Dokumentacja API modułu Pythona trio.
 
 %if %{with tests}
 # test_gen_exports requires black and ruff
-# test_dtls fails almost all the cases
-# the rest uses (localhost?) networking
 PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
 PYTHONPATH=$(pwd)/src \
-%{__python3} -m pytest src/trio/_core/_tests src/trio/_tests tests -k 'not test_gen_exports and not test_dtls and not test_highlevel_open_tcp_stream and not test_highlevel_socket and not test_highlevel_open_tcp_listeners and not test_highlevel_ssl_helpers and not test_socket and not test_ssl and not test_open_stream_to_socket_listener and not test_run_in_worker_thread_limiter'
+%{__python3} -m pytest src/trio/_core/_tests src/trio/_tests tests -k 'not test_gen_exports'
 %endif
 %if %{with doc}
 LC_ALL=C.UTF-8 \
diff --git a/trio-intersphinx.patch b/trio-intersphinx.patch
index a41fa3f..2225ce7 100644
--- a/trio-intersphinx.patch
+++ b/trio-intersphinx.patch
@@ -1,15 +1,15 @@
 Deal with intersphinx references not generated due to network isolation
---- trio-0.30.0/docs/source/conf.py.orig	2025-04-21 02:47:33.000000000 +0200
-+++ trio-0.30.0/docs/source/conf.py	2025-07-05 07:14:42.522891315 +0200
-@@ -280,6 +280,8 @@ def add_intersphinx(app: Sphinx) -> None
+--- trio-0.33.0/docs/source/conf.py.orig	2026-02-14 19:39:58.000000000 +0100
++++ trio-0.33.0/docs/source/conf.py	2026-03-13 22:45:56.290218450 +0100
+@@ -282,6 +282,8 @@ def add_intersphinx(app: Sphinx) -> None
          assert isinstance(inventory, dict)
          inventory = cast("Inventory", inventory)
  
 +        if f"py:{reftype}" not in inventory:
 +            inventory[f"py:{reftype}"] = {}
-         inventory[f"py:{reftype}"][f"{target}"] = _InventoryItem(
-             project_name="Python",
-             project_version=version,
+         if sys.version_info >= (3, 11):
+             inventory[f"py:{reftype}"][f"{target}"] = _InventoryItem(
+                 project_name="Python",
 --- trio-0.30.0/docs/source/typevars.py.orig	2025-07-05 13:21:58.390179443 +0200
 +++ trio-0.30.0/docs/source/typevars.py	2025-07-05 13:25:34.135677315 +0200
 @@ -10,6 +10,7 @@ import sys
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-trio.git/commitdiff/7d9283ae3386842df6ab4e2515169fc53ed43be6



More information about the pld-cvs-commit mailing list