Accepting request 890807 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/890807
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asgiref?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2021-05-12 17:31:07 +00:00 committed by Git OBS Bridge
commit ab11b7ffd7
4 changed files with 34 additions and 8 deletions

View File

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

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

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

View File

@ -1,3 +1,26 @@
-------------------------------------------------------------------
Wed May 5 17:30:59 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Update to 3.3.4
* The async_to_sync type error is now a warning due the
high false negative rate when trying to detect
coroutine-returning callables in Python.
- Release to 3.3.3
* The sync conversion functions now correctly detect
functools.partial and other wrappers around async
functions on earlier Python releases.
- Release to 3.3.2
* SyncToAsync now takes an optional "executor" argument if
you want to supply your own executor rather than using
the built-in one.
* async_to_sync and sync_to_async now check their
arguments are functions of the correct type.
* Raising CancelledError inside a SyncToAsync function no
longer stops a future call from functioning.
* ThreadSensitive now provides context hooks/override
options so it can be made to be sensitive in a unit
smaller than threads (e.g. per request)
-------------------------------------------------------------------
Thu Jan 14 04:31:06 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>

View File

@ -19,19 +19,22 @@
%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-asgiref
Version: 3.3.1
Version: 3.3.4
Release: 0
Summary: ASGI specs, helper code, and adapters
License: BSD-3-Clause
URL: https://github.com/django/asgiref/
Source: https://files.pythonhosted.org/packages/source/a/asgiref/asgiref-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.5}
BuildRequires: %{python_module pytest >= 4.3.0}
BuildRequires: %{python_module pytest-asyncio >= 0.10.0}
BuildRequires: %{python_module base >= 3.6}
BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module typing_extensions if %python-base < 3.8}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python
%if 0%{python_version_nodots} < 38
Requires: python-typing_extensions
%endif
BuildArch: noarch
%python_subpackages