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>
|
||||
|
||||
@ -30,7 +51,7 @@ Sat Jan 7 09:11:28 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
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.
|
||||
application startup.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 4 15:28:14 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
@ -41,12 +62,12 @@ Sat Jun 4 15:28:14 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
* Improved docs - Starlette supports WebSockets
|
||||
* Use get_event_loop in class-level code
|
||||
* Changed how StatelessServer handles event loops
|
||||
* Fixed pytest_asyncio deprecation warning.
|
||||
* 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
|
||||
* Rewrote multiprocessing test to use no local functions
|
||||
* Fixed a typographical error
|
||||
* Remove SOCK_NONBLOCK from socket creation on tests
|
||||
* 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
|
||||
@ -108,7 +129,7 @@ Thu Jan 14 04:31:06 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
* 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
|
||||
is set
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 1 04:59:38 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
@ -118,7 +139,7 @@ Wed Jul 1 04:59:38 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
* 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
|
||||
* contextvars are now persisted through AsyncToSync
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 24 06:47:42 UTC 2020 - Tomáš Chvátal <tchvatal@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