- 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`` OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-anyio?expand=0&rev=16
This commit is contained in:
parent
a3f51b5e5c
commit
fa1f76c10b
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a0aeffe2fb1fdf374a8e4b471444f0f3ac4fb9f5a5b542b48824475e0042a5a6
|
||||
size 136934
|
3
anyio-3.6.2.tar.gz
Normal file
3
anyio-3.6.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:25ea0d673ae30af41a0c442f81cf3b38c7e79fdc7b60335a4c14e05eb0947421
|
||||
size 140378
|
@ -1,3 +1,20 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 21 21:04:03 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- 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 <code@bnavigator.de>
|
||||
|
||||
|
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user