Accepting request 1129812 from devel:languages:python
- 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 OBS-URL: https://build.opensuse.org/request/show/1129812 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asgiref?expand=0&rev=10
This commit is contained in:
commit
4a24c53649
BIN
asgiref-3.6.0.tar.gz
(Stored with Git LFS)
BIN
asgiref-3.6.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
3
asgiref-3.7.2.tar.gz
Normal file
3
asgiref-3.7.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9e0ce3aa93a819ba5b45120216b23878cf6e8525eb3848653452b4192b92afed
|
||||
size 33393
|
@ -1,3 +1,24 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 29 13:04:33 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- 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.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 21 12:22:02 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -16,32 +16,25 @@
|
||||
#
|
||||
|
||||
|
||||
%define skip_python2 1
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-asgiref
|
||||
Version: 3.6.0
|
||||
Version: 3.7.2
|
||||
Release: 0
|
||||
Summary: ASGI specs, helper code, and adapters
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/django/asgiref/
|
||||
Source: https://files.pythonhosted.org/packages/source/a/asgiref/asgiref-%{version}.tar.gz
|
||||
BuildRequires: %{python_module base >= 3.6}
|
||||
BuildRequires: %{python_module base >= 3.7}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest-asyncio}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
%if %{?suse_version} < 1540
|
||||
BuildRequires: %{python_module typing_extensions}
|
||||
%else
|
||||
BuildRequires: %{python_module typing_extensions if %python-base < 3.8}
|
||||
%endif
|
||||
%if 0%{python_version_nodots} < 38
|
||||
Requires: python-typing_extensions
|
||||
%endif
|
||||
BuildRequires: %{python_module typing-extensions > 4}
|
||||
Requires: python-typing-extensions > 4
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@ -53,10 +46,10 @@ read more at https://asgi.readthedocs.io/en/latest/
|
||||
%setup -q -n asgiref-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
@ -65,6 +58,7 @@ read more at https://asgi.readthedocs.io/en/latest/
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/asgiref
|
||||
%{python_sitelib}/asgiref-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user