[packages/python3-trio] Up to 0.35.0
arekm
arekm at pld-linux.org
Wed Nov 11 01:54:32 CET 2026
commit 187a30bd1e2c362aaa688a003a1a7be14f5182fe
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Wed Nov 11 01:51:54 2026 +0100
Up to 0.35.0
python3-trio.spec | 6 ++++--
trio-intersphinx.patch | 14 +++++++-------
2 files changed, 11 insertions(+), 9 deletions(-)
---
diff --git a/python3-trio.spec b/python3-trio.spec
index 14fc766..dad7d62 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.33.0
+Version: 0.35.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: e778db1205fa2ea00dac9340471b8f1d
+# Source0-md5: 9cc8a72143b8610deacafc5121f8f12c
Patch0: trio-intersphinx.patch
URL: https://pypi.org/project/trio/
BuildRequires: python3-build
@@ -88,6 +88,8 @@ Dokumentacja API modułu Pythona trio.
%py3_build_pyproject
%if %{with tests}
+install -d test-home
+export HOME=$(pwd)/test-home
# test_gen_exports requires black and ruff
PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
PYTHONPATH=$(pwd)/src \
diff --git a/trio-intersphinx.patch b/trio-intersphinx.patch
index 2225ce7..73e5a1b 100644
--- a/trio-intersphinx.patch
+++ b/trio-intersphinx.patch
@@ -1,7 +1,7 @@
Deal with intersphinx references not generated due to network isolation
---- 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
+--- trio-0.35.0.orig/docs/source/conf.py
++++ trio-0.35.0/docs/source/conf.py
+@@ -274,6 +274,8 @@
assert isinstance(inventory, dict)
inventory = cast("Inventory", inventory)
@@ -10,9 +10,9 @@ Deal with intersphinx references not generated due to network isolation
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
+--- trio-0.35.0.orig/docs/source/typevars.py
++++ trio-0.35.0/docs/source/typevars.py
+@@ -9,6 +9,7 @@
from pathlib import Path
from typing import TYPE_CHECKING
@@ -20,7 +20,7 @@ Deal with intersphinx references not generated due to network isolation
import trio
from sphinx.errors import NoUri
-@@ -93,6 +94,8 @@ def lookup_reference(
+@@ -92,6 +93,8 @@
contnode,
allowed_exceptions=(NoUri,),
)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-trio.git/commitdiff/187a30bd1e2c362aaa688a003a1a7be14f5182fe
More information about the pld-cvs-commit
mailing list