1
0

6 Commits

Author SHA256 Message Date
7127c92c2b Accepting request 1321928 from devel:languages:python
Forwarded request #1321859 from yeey

- Update to 3.11.0
    * ``sync_to_async`` gains a ``context`` parameter, similar to those for
      ``asyncio.create_task``, ``TaskGroup`` &co, that can be used on Python 3.11+ to
      control the context used by the underlying task.
      The parent context is already propagated by default but the additional
      control is useful if multiple ``sync_to_async`` calls need to share the same
      context, e.g. when used with ``asyncio.gather()``.

OBS-URL: https://build.opensuse.org/request/show/1321928
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asgiref?expand=0&rev=14
2025-12-11 17:32:00 +00:00
98384c4072 - Update to 3.11.0
* ``sync_to_async`` gains a ``context`` parameter, similar to those for
    ``asyncio.create_task``, ``TaskGroup`` &co, that can be used on Python 3.11+ to
    control the context used by the underlying task.
    The parent context is already propagated by default but the additional
    control is useful if multiple ``sync_to_async`` calls need to share the same
    context, e.g. when used with ``asyncio.gather()``.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asgiref?expand=0&rev=27
2025-12-10 10:06:19 +00:00
82290961c3 Accepting request 1307724 from devel:languages:python
- update to 3.9.2:
  * Adds support for Python 3.14.
  * Fixes wsgi.errors file descriptor in WsgiToAsgi adapter.

OBS-URL: https://build.opensuse.org/request/show/1307724
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asgiref?expand=0&rev=13
2025-09-30 15:34:29 +00:00
3b4030e8b8 - update to 3.9.2:
* Adds support for Python 3.14.
  * Fixes wsgi.errors file descriptor in WsgiToAsgi adapter.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asgiref?expand=0&rev=25
2025-09-29 10:29:55 +00:00
302325bb21 Accepting request 1294058 from devel:languages:python
- update to 3.9.1:
  * Adds support for Python 3.13.
  * Drops support for (end-of-life) Python 3.8.
  * Fixes an error with conflicting kwargs between AsyncToSync
    and the wrapped function. (#471)
  * Fixes Local isolation between asyncio Tasks. (#478)
  * Fixes a reference cycle in Local (#508)
  * Fixes a deadlock in CurrentThreadExecutor with nested
    async_to_sync →
    sync_to_async → async_to_sync → create_task calls. (#494)
  * The ApplicationCommunicator testing utility will now return the
    task result if it's already completed on send_input and
    receive_nothing.  You may need to catch (e.g.) the
    asyncio.exceptions.CancelledError if sending messages to
    already finished consumers in your tests. (#505)

OBS-URL: https://build.opensuse.org/request/show/1294058
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asgiref?expand=0&rev=12
2025-07-20 13:28:36 +00:00
f3d154111e - update to 3.9.1:
* Adds support for Python 3.13.
  * Drops support for (end-of-life) Python 3.8.
  * Fixes an error with conflicting kwargs between AsyncToSync
    and the wrapped function. (#471)
  * Fixes Local isolation between asyncio Tasks. (#478)
  * Fixes a reference cycle in Local (#508)
  * Fixes a deadlock in CurrentThreadExecutor with nested
    async_to_sync →
    sync_to_async → async_to_sync → create_task calls. (#494)
  * The ApplicationCommunicator testing utility will now return the
    task result if it's already completed on send_input and
    receive_nothing.  You may need to catch (e.g.) the
    asyncio.exceptions.CancelledError if sending messages to
    already finished consumers in your tests. (#505)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asgiref?expand=0&rev=23
2025-07-17 08:42:28 +00:00
4 changed files with 42 additions and 5 deletions

3
asgiref-3.11.0.tar.gz Normal file
View File

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

Binary file not shown.

View File

@@ -1,3 +1,40 @@
-------------------------------------------------------------------
Wed Dec 3 22:15:38 UTC 2025 - Guang Yee <gyee@suse.com>
- Update to 3.11.0
* ``sync_to_async`` gains a ``context`` parameter, similar to those for
``asyncio.create_task``, ``TaskGroup`` &co, that can be used on Python 3.11+ to
control the context used by the underlying task.
The parent context is already propagated by default but the additional
control is useful if multiple ``sync_to_async`` calls need to share the same
context, e.g. when used with ``asyncio.gather()``.
-------------------------------------------------------------------
Mon Sep 29 10:29:32 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 3.9.2:
* Adds support for Python 3.14.
* Fixes wsgi.errors file descriptor in WsgiToAsgi adapter.
-------------------------------------------------------------------
Thu Jul 17 08:40:37 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 3.9.1:
* Adds support for Python 3.13.
* Drops support for (end-of-life) Python 3.8.
* Fixes an error with conflicting kwargs between AsyncToSync
and the wrapped function. (#471)
* Fixes Local isolation between asyncio Tasks. (#478)
* Fixes a reference cycle in Local (#508)
* Fixes a deadlock in CurrentThreadExecutor with nested
async_to_sync →
sync_to_async → async_to_sync → create_task calls. (#494)
* The ApplicationCommunicator testing utility will now return the
task result if it's already completed on send_input and
receive_nothing. You may need to catch (e.g.) the
asyncio.exceptions.CancelledError if sending messages to
already finished consumers in your tests. (#505)
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Apr 7 08:43:16 UTC 2024 - Dirk Müller <dmueller@suse.com> Sun Apr 7 08:43:16 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-asgiref # spec file for package python-asgiref
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 SUSE LLC and contributors
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-asgiref Name: python-asgiref
Version: 3.8.1 Version: 3.11.0
Release: 0 Release: 0
Summary: ASGI specs, helper code, and adapters Summary: ASGI specs, helper code, and adapters
License: BSD-3-Clause License: BSD-3-Clause