diff --git a/anyio-3.5.0.tar.gz b/anyio-3.5.0.tar.gz deleted file mode 100644 index b25b18b..0000000 --- a/anyio-3.5.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a0aeffe2fb1fdf374a8e4b471444f0f3ac4fb9f5a5b542b48824475e0042a5a6 -size 136934 diff --git a/anyio-3.6.2.tar.gz b/anyio-3.6.2.tar.gz new file mode 100644 index 0000000..41b8787 --- /dev/null +++ b/anyio-3.6.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:25ea0d673ae30af41a0c442f81cf3b38c7e79fdc7b60335a4c14e05eb0947421 +size 140378 diff --git a/python-anyio.changes b/python-anyio.changes index e8fff69..03f26c3 100644 --- a/python-anyio.changes +++ b/python-anyio.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Mon Nov 21 21:04:03 UTC 2022 - Dirk Müller + +- update to 3.6.2: + - Pinned Trio to < 0.22 to avoid incompatibility with AnyIO's ``ExceptionGroup`` class + causing ``AttributeError: 'NonBaseMultiError' object has no attribute '_exceptions'`` + (AnyIO 4 is unaffected) + - Fixed exception handler in the asyncio test runner not properly handling a context + that does not contain the ``exception`` key + - Fixed ``TypeError`` in ``get_current_task()`` on asyncio when using a custom ``Task`` factory + - Updated type annotations on ``run_process()`` and ``open_process()``: + * ``command`` now accepts accepts bytes and sequences of bytes + * ``stdin``, ``stdout`` and ``stderr`` now accept file-like objects + - Changed the pytest plugin to run both the setup and teardown phases of asynchronous + generator fixtures within a single task to enable use cases such as cancel scopes and + task groups where a context manager straddles the ``yield`` + ------------------------------------------------------------------- Sun Mar 27 18:32:27 UTC 2022 - Ben Greiner diff --git a/python-anyio.spec b/python-anyio.spec index 9794c15..354d9e7 100644 --- a/python-anyio.spec +++ b/python-anyio.spec @@ -19,14 +19,12 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-anyio -Version: 3.5.0 +Version: 3.6.2 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 -# PATCH-FIX-UPSTREAM anyio-pytest7.patch -- gh#agronholm/anyio#420 -Patch1: anyio-pytest7.patch BuildRequires: %{python_module contextlib2 if %python-base < 3.7} BuildRequires: %{python_module dataclasses if %python-base < 3.7} BuildRequires: %{python_module idna >= 2.8}