forked from pool/python-anyio
3144a32e908014dd1ec24a5834761d66b86ee0a0ba1cf749a53b148f2b82f880
- 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``
- drop anyio-pytest7.patch (upstream)
OBS-URL: https://build.opensuse.org/request/show/1037186
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-anyio?expand=0&rev=11
Description
No description provided
Languages
RPM Spec
100%