- 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asgiref?expand=0&rev=6
This commit is contained in:
Steve Kowalik 2021-01-14 04:32:31 +00:00 committed by Git OBS Bridge
parent 217acb5558
commit 8cb5c3950a
4 changed files with 15 additions and 6 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7e51911ee147dd685c3c8b805c0ad0cb58d360987b56953878f8c06d2d1c6f1a
size 25669

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

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7162a3cb30ab0609f1a4c95938fd73e8604f63bdba516a7f7d64b83ff09478f0
size 27197

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Jan 14 04:31:06 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
- 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
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jul 1 04:59:38 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com> Wed Jul 1 04:59:38 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-asgiref # spec file for package python-asgiref
# #
# Copyright (c) 2020 SUSE LLC # Copyright (c) 2021 SUSE LLC
# #
# 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
@ -19,11 +19,10 @@
%define skip_python2 1 %define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-asgiref Name: python-asgiref
Version: 3.2.10 Version: 3.3.1
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
Group: Development/Languages/Python
URL: https://github.com/django/asgiref/ URL: https://github.com/django/asgiref/
Source: https://files.pythonhosted.org/packages/source/a/asgiref/asgiref-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/a/asgiref/asgiref-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.5} BuildRequires: %{python_module base >= 3.5}