From eb1c491f089111e75ce6b229c93d3ad4fc2313a67424201ac00980c70e3d832b Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 29 Nov 2021 12:07:20 +0000 Subject: [PATCH] - update to 3.4.0: * Added context propagation to/from worker threads in ``to_thread.run_sync()``, ``from_thread.run()`` and ``from_thread.run_sync()`` * Fixed race condition in ``Lock`` and ``Semaphore`` classes when a task waiting on ``acquire()`` is cancelled while another task is waiting to acquire the same primitive * Fixed async context manager's ``__aexit__()`` method not being called in ``BlockingPortal.wrap_async_context_manager()`` if the host task is cancelled * Fixed worker threads being marked as being event loop threads in sniffio * Fixed task parent ID not getting set to the correct value on asyncio * Enabled the test suite to run without IPv6 support, trio or pytest plugin autoloading OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-anyio?expand=0&rev=10 --- anyio-3.3.4.tar.gz | 3 --- anyio-3.4.0.tar.gz | 3 +++ python-anyio.changes | 14 ++++++++++++++ python-anyio.spec | 4 +++- 4 files changed, 20 insertions(+), 4 deletions(-) delete mode 100644 anyio-3.3.4.tar.gz create mode 100644 anyio-3.4.0.tar.gz diff --git a/anyio-3.3.4.tar.gz b/anyio-3.3.4.tar.gz deleted file mode 100644 index df52c89..0000000 --- a/anyio-3.3.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:67da67b5b21f96b9d3d65daa6ea99f5d5282cb09f50eb4456f8fb51dffefc3ff -size 133608 diff --git a/anyio-3.4.0.tar.gz b/anyio-3.4.0.tar.gz new file mode 100644 index 0000000..16db09e --- /dev/null +++ b/anyio-3.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:24adc69309fb5779bc1e06158e143e0b6d2c56b302a3ac3de3083c705a6ed39d +size 135737 diff --git a/python-anyio.changes b/python-anyio.changes index d7fef45..8ba9068 100644 --- a/python-anyio.changes +++ b/python-anyio.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Mon Nov 29 12:01:51 UTC 2021 - Dirk Müller + +- update to 3.4.0: + * Added context propagation to/from worker threads in ``to_thread.run_sync()``, + ``from_thread.run()`` and ``from_thread.run_sync()`` + * Fixed race condition in ``Lock`` and ``Semaphore`` classes when a task waiting on ``acquire()`` + is cancelled while another task is waiting to acquire the same primitive + * Fixed async context manager's ``__aexit__()`` method not being called in + ``BlockingPortal.wrap_async_context_manager()`` if the host task is cancelled + * Fixed worker threads being marked as being event loop threads in sniffio + * Fixed task parent ID not getting set to the correct value on asyncio + * Enabled the test suite to run without IPv6 support, trio or pytest plugin autoloading + ------------------------------------------------------------------- Tue Oct 26 20:18:21 UTC 2021 - Dirk Müller diff --git a/python-anyio.spec b/python-anyio.spec index ab73a58..e949666 100644 --- a/python-anyio.spec +++ b/python-anyio.spec @@ -19,12 +19,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-anyio -Version: 3.3.4 +Version: 3.4.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 idna >= 2.8} BuildRequires: %{python_module setuptools_scm} @@ -49,6 +50,7 @@ Requires: python-sniffio >= 1.1 Requires: python-typing_extensions %endif %if 0%{?python_version_nodots} < 37 +Requires: python-contextvars Requires: python-dataclasses %endif Suggests: python-trio >= 0.16