From 5febda277788507734dbc517e9fd6b723beab0377e9109789ed457e556aa73be Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 3 Jan 2024 10:36:30 +0000 Subject: [PATCH] - update to 0.23.2: * TypeVarTuple is now used to fully type :meth:`nursery.start_soon() `, :func:`trio.run()`, :func:`trio.to_thread.run_sync()`, and other similar functions accepting (func, *args). This means type checkers will be able to verify types are used correctly. :meth:`nursery.start() ` is not fully typed yet however. (#2881) * Make pyright recognize :func:`open_memory_channel` as generic. (#2873) backlink Unknown interpreted text role "func". * Make pyright recognize :func:`open_memory_channel` as generic. * Unknown interpreted text role "func". * Moved the metadata into PEP 621-compliant :file:`pyproject.toml`. (#2860) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-trio?expand=0&rev=41 --- python-trio.changes | 20 ++++++++++++++++++++ python-trio.spec | 6 +++--- trio-0.23.1.tar.gz | 3 --- trio-0.23.2.tar.gz | 3 +++ 4 files changed, 26 insertions(+), 6 deletions(-) delete mode 100644 trio-0.23.1.tar.gz create mode 100644 trio-0.23.2.tar.gz diff --git a/python-trio.changes b/python-trio.changes index fd5ab89..1a29b75 100644 --- a/python-trio.changes +++ b/python-trio.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Wed Jan 3 10:35:04 UTC 2024 - Dirk Müller + +- update to 0.23.2: + * TypeVarTuple is now used to fully type + :meth:`nursery.start_soon() `, + :func:`trio.run()`, :func:`trio.to_thread.run_sync()`, and + other similar functions accepting (func, *args). This means + type checkers will be able to verify types are used + correctly. :meth:`nursery.start() ` is + not fully typed yet however. (#2881) + * Make pyright recognize :func:`open_memory_channel` as + generic. (#2873) + backlink Unknown interpreted text role "func". + * Make pyright recognize :func:`open_memory_channel` as + generic. + * Unknown interpreted text role "func". + * Moved the metadata into PEP 621-compliant + :file:`pyproject.toml`. (#2860) + ------------------------------------------------------------------- Tue Nov 7 15:06:29 UTC 2023 - Dirk Müller diff --git a/python-trio.spec b/python-trio.spec index f561ca3..4f13579 100644 --- a/python-trio.spec +++ b/python-trio.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,7 +26,7 @@ %endif %{?sle15_python_module_pythons} Name: python-trio%{psuffix} -Version: 0.23.1 +Version: 0.23.2 Release: 0 Summary: Python async/await-native I/O library License: Apache-2.0 OR MIT @@ -34,6 +34,7 @@ URL: https://github.com/python-trio/trio Source: https://files.pythonhosted.org/packages/source/t/trio/trio-%{version}.tar.gz BuildRequires: %{python_module attrs >= 20.1.0} BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} BuildRequires: %{python_module sortedcontainers} BuildRequires: %{python_module wheel} BuildRequires: fdupes @@ -77,7 +78,6 @@ has an obsessive focus on usability and correctness. %prep %autosetup -p1 -n trio-%{version} -sed -i '1{/^#!/d}' trio/_tools/gen_exports.py %build %pyproject_wheel diff --git a/trio-0.23.1.tar.gz b/trio-0.23.1.tar.gz deleted file mode 100644 index 13170fa..0000000 --- a/trio-0.23.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:16f89f7dcc8f7b9dcdec1fcd863e0c039af6d0f9a22f8dfd56f75d75ec73fd48 -size 535860 diff --git a/trio-0.23.2.tar.gz b/trio-0.23.2.tar.gz new file mode 100644 index 0000000..59a14ed --- /dev/null +++ b/trio-0.23.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:da1d35b9a2b17eb32cae2e763b16551f9aa6703634735024e32f325c9285069e +size 544557