- update to 0.23.2:
* TypeVarTuple is now used to fully type :meth:`nursery.start_soon() <trio.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() <trio.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
This commit is contained in:
parent
13c7c5714e
commit
5febda2777
@ -1,3 +1,23 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 3 10:35:04 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 0.23.2:
|
||||
* TypeVarTuple is now used to fully type
|
||||
:meth:`nursery.start_soon() <trio.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() <trio.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 <dmueller@suse.com>
|
||||
|
||||
|
@ -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
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:16f89f7dcc8f7b9dcdec1fcd863e0c039af6d0f9a22f8dfd56f75d75ec73fd48
|
||||
size 535860
|
3
trio-0.23.2.tar.gz
Normal file
3
trio-0.23.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:da1d35b9a2b17eb32cae2e763b16551f9aa6703634735024e32f325c9285069e
|
||||
size 544557
|
Loading…
Reference in New Issue
Block a user