Commit Graph

  • 4e29b75267 Accepting request 1333411 from devel:languages:python factory Ana Guerrero 2026-02-17 15:37:51 +00:00
  • 370e458450 - update to 3.11.1 (bsc#1257403, CVE-2025-14550): * Fixed sync_to_async wrapping callables with attribute named context * CVE-2025-14550: Fixed duplicate header handling in WsgiToAsgi. context, e.g. when used with `asyncio.gather()`. Dirk Mueller 2026-02-16 17:11:37 +00:00
  • e546c9e284 Accepting request 1321928 from devel:languages:python Ana Guerrero 2025-12-11 17:32:00 +00:00
  • fd1e187750 Accepting request 1321859 from home:yeey:branches:devel:languages:python Matej Cepl 2025-12-10 10:06:19 +00:00
  • 6dddbf510d Accepting request 1307724 from devel:languages:python Ana Guerrero 2025-09-30 15:34:29 +00:00
  • a3b0f8b280 - update to 3.9.2: * Adds support for Python 3.14. * Fixes wsgi.errors file descriptor in WsgiToAsgi adapter. Dirk Mueller 2025-09-29 10:29:55 +00:00
  • a3402c253a Accepting request 1294058 from devel:languages:python Ana Guerrero 2025-07-20 13:28:36 +00:00
  • cc98ad0bfc - 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) Dirk Mueller 2025-07-17 08:42:28 +00:00
  • 4dc6a19248 Accepting request 1165940 from devel:languages:python slfo-main slfo-1.2 Ana Guerrero 2024-04-09 14:46:23 +00:00
  • 033a8064d2 Accepting request 1165940 from devel:languages:python Ana Guerrero 2024-04-09 14:46:23 +00:00
  • 9da43baf3a - update to 3.8.1: * Fixes a regression in 3.8.0 affecting nested task cancellation inside sync_to_async. * Adds support for Python 3.12. * Drops support for (end-of-life) Python 3.7. * Fixes task cancellation propagation to subtasks when using synchronous Django middleware. * Allows nesting `sync_to_async via asyncio.wait_for. * Corrects WSGI adapter handling of root path. * Handles case where "client" is None` in WsgiToAsgi adapter. Dirk Mueller 2024-04-07 08:44:31 +00:00
  • 59ced47dfd - update to 3.8.1: * Fixes a regression in 3.8.0 affecting nested task cancellation inside sync_to_async. * Adds support for Python 3.12. * Drops support for (end-of-life) Python 3.7. * Fixes task cancellation propagation to subtasks when using synchronous Django middleware. * Allows nesting `sync_to_async via asyncio.wait_for. * Corrects WSGI adapter handling of root path. * Handles case where "client" is None` in WsgiToAsgi adapter. Dirk Mueller 2024-04-07 08:44:31 +00:00
  • 4a24c53649 Accepting request 1129812 from devel:languages:python Ana Guerrero 2023-11-30 20:59:42 +00:00
  • 9ecf5937e0 Accepting request 1129812 from devel:languages:python Ana Guerrero 2023-11-30 20:59:42 +00:00
  • d35407fdcb OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asgiref?expand=0&rev=19 Dirk Mueller 2023-11-29 13:06:30 +00:00
  • fb77ad7494 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asgiref?expand=0&rev=19 Dirk Mueller 2023-11-29 13:06:30 +00:00
  • 59860fd8c2 - update to 3.7.2: * The type annotations for SyncToAsync and AsyncToSync have been changed to more accurately reflect the kind of callables they return. * On Python 3.10 and below, the version of the "typing_extensions" package is now constrained to be at least version 4 (as we depend on functionality in that version and above) * Contextvars are now required for the implementation of sync as Python 3.6 is now no longer a supported version. * sync_to_async and async_to_sync now pass-through * Debug and Lifespan State extensions have resulted in a typing change for some request and response types. This change should be backwards-compatible. * `asgiref` frames will now be hidden in Django tracebacks by default. * Raw performance and garbage collection improvements in Local, SyncToAsync, and AsyncToSync. application startup. * Fixed pytest_asyncio deprecation warning. * Rewrote multiprocessing test to use no local functions * Remove SOCK_NONBLOCK from socket creation on tests is set * contextvars are now persisted through AsyncToSync Dirk Mueller 2023-11-29 13:05:52 +00:00
  • 33d5c6eb75 - update to 3.7.2: * The type annotations for SyncToAsync and AsyncToSync have been changed to more accurately reflect the kind of callables they return. * On Python 3.10 and below, the version of the "typing_extensions" package is now constrained to be at least version 4 (as we depend on functionality in that version and above) * Contextvars are now required for the implementation of sync as Python 3.6 is now no longer a supported version. * sync_to_async and async_to_sync now pass-through * Debug and Lifespan State extensions have resulted in a typing change for some request and response types. This change should be backwards-compatible. * `asgiref` frames will now be hidden in Django tracebacks by default. * Raw performance and garbage collection improvements in Local, SyncToAsync, and AsyncToSync. application startup. * Fixed pytest_asyncio deprecation warning. * Rewrote multiprocessing test to use no local functions * Remove SOCK_NONBLOCK from socket creation on tests is set * contextvars are now persisted through AsyncToSync Dirk Mueller 2023-11-29 13:05:52 +00:00
  • 5b4a0edfac Accepting request 1082005 from devel:languages:python Dominique Leuenberger 2023-04-22 20:02:08 +00:00
  • 4a62ad3b69 Accepting request 1082005 from devel:languages:python Dominique Leuenberger 2023-04-22 20:02:08 +00:00
  • 832f6b3dae Accepting request 1081329 from home:dirkmueller:acdc:as_python3_module Dirk Mueller 2023-04-21 14:58:09 +00:00
  • 6d82a2ad7b Accepting request 1081329 from home:dirkmueller:acdc:as_python3_module Dirk Mueller 2023-04-21 14:58:09 +00:00
  • 488258c71c Accepting request 1056748 from devel:languages:python Dominique Leuenberger 2023-01-08 20:25:07 +00:00
  • b0aa09d2d7 Accepting request 1056748 from devel:languages:python Dominique Leuenberger 2023-01-08 20:25:07 +00:00
  • 1d106b4632 - update to 3.6.0: * Two new functions are added to the `asgiref.sync module: iscoroutinefunction() and markcoroutinefunction(). * Python 3.12 deprecates asyncio.iscoroutinefunction() as an alias for inspect.iscoroutinefunction(), whilst also removing the _is_coroutine marker. The latter is replaced with the inspect.markcoroutinefunction decorator. * The new asgiref.sync functions are compatibility shims for these functions that can be used until Python 3.12 is the minimum supported version. * The loop argument to asgiref.timeout.timeout is deprecated. As per other asyncio based APIs, the running event loop is used by default. Note that asyncio provides timeout utilities from Python 3.11, and these should be preferred where available. * Support for the ASGI_THREADS environment variable, used by SyncToAsync, is removed. In general, a running event-loop is not available to asgiref` at import time, and so the default thread pool executor cannot be configured. Protocol servers, or applications, should set the default executor as required when configuring the event loop at application startup. Dirk Mueller 2023-01-07 09:13:56 +00:00
  • e08b0a88d4 - update to 3.6.0: * Two new functions are added to the `asgiref.sync module: iscoroutinefunction() and markcoroutinefunction(). * Python 3.12 deprecates asyncio.iscoroutinefunction() as an alias for inspect.iscoroutinefunction(), whilst also removing the _is_coroutine marker. The latter is replaced with the inspect.markcoroutinefunction decorator. * The new asgiref.sync functions are compatibility shims for these functions that can be used until Python 3.12 is the minimum supported version. * The loop argument to asgiref.timeout.timeout is deprecated. As per other asyncio based APIs, the running event loop is used by default. Note that asyncio provides timeout utilities from Python 3.11, and these should be preferred where available. * Support for the ASGI_THREADS environment variable, used by SyncToAsync, is removed. In general, a running event-loop is not available to asgiref` at import time, and so the default thread pool executor cannot be configured. Protocol servers, or applications, should set the default executor as required when configuring the event loop at application startup. Dirk Mueller 2023-01-07 09:13:56 +00:00
  • eca8fa181c Accepting request 980784 from devel:languages:python Dominique Leuenberger 2022-06-06 09:10:34 +00:00
  • df2a08dca0 Accepting request 980784 from devel:languages:python Dominique Leuenberger 2022-06-06 09:10:34 +00:00
  • bbf9faf467 - update to 3.5.2: * Fix async-to-async typo * Add tests for sync_to_async * Improved docs - Starlette supports WebSockets * Use get_event_loop in class-level code * Changed how StatelessServer handles event loops * Fixed pytest_asyncio deprecation warning. * Drop python 3.6, add python 3.10 * Fix allowed values for spec_version * Rewrote multiprocessing test to use no local functions * Fixed a typographical error * Remove SOCK_NONBLOCK from socket creation on tests * Preserve CurrentThreadExecutor across create_task * Don't warn 'non-async-marked callable' for async callable instance * Disallow async callable class instances as callable * Fix root_path in WebSocket Connection Scope Dirk Mueller 2022-06-04 15:47:57 +00:00
  • 6cb0f36512 - update to 3.5.2: * Fix async-to-async typo * Add tests for sync_to_async * Improved docs - Starlette supports WebSockets * Use get_event_loop in class-level code * Changed how StatelessServer handles event loops * Fixed pytest_asyncio deprecation warning. * Drop python 3.6, add python 3.10 * Fix allowed values for spec_version * Rewrote multiprocessing test to use no local functions * Fixed a typographical error * Remove SOCK_NONBLOCK from socket creation on tests * Preserve CurrentThreadExecutor across create_task * Don't warn 'non-async-marked callable' for async callable instance * Disallow async callable class instances as callable * Fix root_path in WebSocket Connection Scope Dirk Mueller 2022-06-04 15:47:57 +00:00
  • 52a3680aa3 Accepting request 915549 from devel:languages:python Dominique Leuenberger 2021-09-04 20:32:03 +00:00
  • 66a87c376b Accepting request 915549 from devel:languages:python Dominique Leuenberger 2021-09-04 20:32:03 +00:00
  • 5eed26e899 Accepting request 915312 from home:Simmphonie:python Matej Cepl 2021-09-01 18:53:43 +00:00
  • 3e77798c1c Accepting request 915312 from home:Simmphonie:python Matej Cepl 2021-09-01 18:53:43 +00:00
  • b8e767034c Accepting request 904567 from devel:languages:python Dominique Leuenberger 2021-07-10 20:54:03 +00:00
  • 1e9b32a59a Accepting request 904567 from devel:languages:python Dominique Leuenberger 2021-07-10 20:54:03 +00:00
  • de59afa749 Accepting request 904566 from M17N:l10n.opensuse.org:Django-3.2 Markéta Machová 2021-07-07 09:59:54 +00:00
  • a34e1f8970 Accepting request 904566 from M17N:l10n.opensuse.org:Django-3.2 Markéta Machová 2021-07-07 09:59:54 +00:00
  • ab11b7ffd7 Accepting request 890807 from devel:languages:python Dominique Leuenberger 2021-05-12 17:31:07 +00:00
  • e246708c0d Accepting request 890807 from devel:languages:python Dominique Leuenberger 2021-05-12 17:31:07 +00:00
  • 86fdb6829d Accepting request 890796 from home:bnavigator:branches:devel:languages:python Matej Cepl 2021-05-05 18:01:08 +00:00
  • 900e88748c Accepting request 890796 from home:bnavigator:branches:devel:languages:python Matej Cepl 2021-05-05 18:01:08 +00:00
  • 215ca60440 Accepting request 863007 from devel:languages:python Dominique Leuenberger 2021-01-18 10:27:13 +00:00
  • 0f03411b0e Accepting request 863007 from devel:languages:python Dominique Leuenberger 2021-01-18 10:27:13 +00:00
  • 8cb5c3950a - Update to 3.3.1 * Updated StatelessServer to use ASGI v3 single-callable applications. * sync_to_async now defaults to thread-sensitive mode being on * async_to_sync now works inside of forked processes * WsgiToAsgi now correctly clamps its response body when Content-Length is set Steve Kowalik 2021-01-14 04:32:31 +00:00
  • 32b34d6e56 - Update to 3.3.1 * Updated StatelessServer to use ASGI v3 single-callable applications. * sync_to_async now defaults to thread-sensitive mode being on * async_to_sync now works inside of forked processes * WsgiToAsgi now correctly clamps its response body when Content-Length is set Steve Kowalik 2021-01-14 04:32:31 +00:00
  • b7dafc8f08 Accepting request 817963 from devel:languages:python Dominique Leuenberger 2020-07-02 21:54:44 +00:00
  • dacb00aa83 Accepting request 817963 from devel:languages:python Dominique Leuenberger 2020-07-02 21:54:44 +00:00
  • 217acb5558 - Update to 3.2.10: * Fixed bugs due to bad WeakRef handling introduced in 3.2.8 * Fixed regression with exception handling in 3.2.8 related to the contextvars fix. * Fixed small memory leak in local.Local * contextvars are now persisted through AsyncToSync Steve Kowalik 2020-07-01 05:00:33 +00:00
  • 4fa0f9c671 - Update to 3.2.10: * Fixed bugs due to bad WeakRef handling introduced in 3.2.8 * Fixed regression with exception handling in 3.2.8 related to the contextvars fix. * Fixed small memory leak in local.Local * contextvars are now persisted through AsyncToSync Steve Kowalik 2020-07-01 05:00:33 +00:00
  • 92b02df221 Accepting request 796777 from devel:languages:python Dominique Leuenberger 2020-04-25 18:29:32 +00:00
  • 644edad8b3 Accepting request 796777 from devel:languages:python Dominique Leuenberger 2020-04-25 18:29:32 +00:00
  • 9a2e710645 - Execute tests Tomáš Chvátal 2020-04-24 06:48:23 +00:00
  • a4ca22e26f - Execute tests Tomáš Chvátal 2020-04-24 06:48:23 +00:00
  • e636d23dcd osc copypac from project:home:dmolkentin:netbox package:python-asgiref revision:1 Tomáš Chvátal 2020-04-24 06:45:59 +00:00
  • ee47fe615d osc copypac from project:home:dmolkentin:netbox package:python-asgiref revision:1 Tomáš Chvátal 2020-04-24 06:45:59 +00:00