forked from pool/python-asgiref
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
This commit is contained in:
3
asgiref-3.11.0.tar.gz
Normal file
3
asgiref-3.11.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:13acff32519542a1736223fb79a715acdebe24286d98e8b164a73085f40da2c4
|
||||
size 37969
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a0249afacb66688ef258ffe503528360443e2b9a8d8c4581b6ebefa58c841ef1
|
||||
size 36894
|
||||
@@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-asgiref
|
||||
Version: 3.9.2
|
||||
Version: 3.11.0
|
||||
Release: 0
|
||||
Summary: ASGI specs, helper code, and adapters
|
||||
License: BSD-3-Clause
|
||||
|
||||
Reference in New Issue
Block a user