Accepting request 1157062 from devel:languages:python

- Update to 4.3.0:
  * Added support for the Python 3.12 ``walk_up`` keyword argument in
    ``anyio.Path.relative_to()``
  * Fixed passing ``total_tokens`` to ``anyio.CapacityLimiter()`` as a
    keyword argument not working on the ``trio`` backend
  * Fixed ``Process.aclose()`` not performing the minimum level of
    necessary cleanup when cancelled
  * Fixed ``Process.stdin.aclose()``, ``Process.stdout.aclose()``, and
    ``Process.stderr.aclose()``
- Add exceptiongroup to {Build,}Requires.

OBS-URL: https://build.opensuse.org/request/show/1157062
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-anyio?expand=0&rev=20
This commit is contained in:
Ana Guerrero 2024-03-14 16:42:27 +00:00 committed by Git OBS Bridge
commit 184b2a231c
4 changed files with 24 additions and 12 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e1875bb4b4e2de1669f4bc7869b6d3f54231cdced71605e6e64c9be77e3be50f
size 158770

3
anyio-4.3.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f75253795a87df48568485fd18cdd2a3fa5c4f7c5be8e5e36637733fce06fed6
size 159642

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Mon Mar 11 23:36:15 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 4.3.0:
* Added support for the Python 3.12 ``walk_up`` keyword argument in
``anyio.Path.relative_to()``
* Fixed passing ``total_tokens`` to ``anyio.CapacityLimiter()`` as a
keyword argument not working on the ``trio`` backend
* Fixed ``Process.aclose()`` not performing the minimum level of
necessary cleanup when cancelled
* Fixed ``Process.stdin.aclose()``, ``Process.stdout.aclose()``, and
``Process.stderr.aclose()``
- Add exceptiongroup to {Build,}Requires.
-------------------------------------------------------------------
Tue Jan 2 20:50:56 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@ -18,14 +18,14 @@
%{?sle15_python_module_pythons}
Name: python-anyio
Version: 4.2.0
Version: 4.3.0
Release: 0
Summary: High level compatibility layer for asynchronous event loop implementations
License: MIT
URL: https://github.com/agronholm/anyio
Source: https://files.pythonhosted.org/packages/source/a/anyio/anyio-%{version}.tar.gz
BuildRequires: %{python_module contextlib2 if %python-base < 3.7}
BuildRequires: %{python_module dataclasses if %python-base < 3.7}
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module exceptiongroup}
BuildRequires: %{python_module idna >= 2.8}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module psutil >= 5.9}
@ -37,7 +37,6 @@ BuildRequires: %{python_module wheel}
BuildRequires: python-rpm-macros >= 20210127.3a18043
# SECTION test requirements
BuildRequires: %{python_module hypothesis >= 4.0}
BuildRequires: %{python_module mock >= 4.0 if %python-base < 3.8}
BuildRequires: %{python_module pytest >= 7.0}
BuildRequires: %{python_module pytest-mock >= 3.6.1}
BuildRequires: %{python_module trio >= 0.23}
@ -46,10 +45,9 @@ BuildRequires: %{python_module trustme}
BuildRequires: fdupes
Requires: python-idna >= 2.8
Requires: python-sniffio >= 1.1
Requires: (python-typing_extensions if python-base < 3.11)
%if 0%{?python_version_nodots} < 37
Requires: python-contextvars
Requires: python-dataclasses
%if 0%{?python_version_nodots} < 311
Requires: python-exceptiongroup
Requires: python-typing_extensions
%endif
Suggests: python-trio >= 0.23
BuildArch: noarch
@ -95,6 +93,6 @@ donttest+=" or (test_properties and asyncio)"
%doc README.rst
%license LICENSE
%{python_sitelib}/anyio
%{python_sitelib}/anyio-%{version}*-info
%{python_sitelib}/anyio-%{version}.dist-info
%changelog