Accepting request 980784 from devel:languages:python

- 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

OBS-URL: https://build.opensuse.org/request/show/980784
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asgiref?expand=0&rev=7
This commit is contained in:
Dominique Leuenberger 2022-06-06 09:10:34 +00:00 committed by Git OBS Bridge
commit eca8fa181c
4 changed files with 25 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4ef1ab46b484e3c706329cedeff284a5d40824200638503f5768edb6de7d58e9
size 32529

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

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4a29362a6acebe09bf1d6640db38c1dc3d9217c68e6f9f6204d72667fc19a424
size 32352

View File

@ -1,3 +1,23 @@
-------------------------------------------------------------------
Sat Jun 4 15:28:14 UTC 2022 - Dirk Müller <dmueller@suse.com>
- 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
-------------------------------------------------------------------
Tue Aug 31 19:28:56 UTC 2021 - Torsten Gruner <simmphonie@opensuse.org>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-asgiref
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,7 +19,7 @@
%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-asgiref
Version: 3.4.1
Version: 3.5.2
Release: 0
Summary: ASGI specs, helper code, and adapters
License: BSD-3-Clause