Accepting request 1006859 from home:stroeder:python
- Update to 0.21.0 * Changed - Replace requests with httpx in TestClient #1376. * Added - Add WebSocketException and support for WebSocket exception handlers #1263. - Add middleware parameter to Mount class #1649. - Officially support Python 3.11 1863. - Implement __repr__ for route classes #1864. * Fixed - Fix bug on which BackgroundTasks were cancelled when using BaseHTTPMiddleware and client disconnected #1715. - setup.py install is no longer supported by upstream => use pip-based installation - added build dependencies: * python3-hatchling * python3-pip * python3-wheel OBS-URL: https://build.opensuse.org/request/show/1006859 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-starlette?expand=0&rev=20
This commit is contained in:
parent
cc3506e8c3
commit
4c24059408
@ -1,3 +1,22 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 29 08:19:37 UTC 2022 - Michael Ströder <michael@stroeder.com>
|
||||||
|
|
||||||
|
- Update to 0.21.0
|
||||||
|
* Changed
|
||||||
|
- Replace requests with httpx in TestClient #1376.
|
||||||
|
* Added
|
||||||
|
- Add WebSocketException and support for WebSocket exception handlers #1263.
|
||||||
|
- Add middleware parameter to Mount class #1649.
|
||||||
|
- Officially support Python 3.11 1863.
|
||||||
|
- Implement __repr__ for route classes #1864.
|
||||||
|
* Fixed
|
||||||
|
- Fix bug on which BackgroundTasks were cancelled when using BaseHTTPMiddleware and client disconnected #1715.
|
||||||
|
- setup.py install is no longer supported by upstream => use pip-based installation
|
||||||
|
- added build dependencies:
|
||||||
|
* python3-hatchling
|
||||||
|
* python3-pip
|
||||||
|
* python3-wheel
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Aug 11 05:22:41 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>
|
Thu Aug 11 05:22:41 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
%{?!python_module:%define python_module() python3-%{**}}
|
%{?!python_module:%define python_module() python3-%{**}}
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
Name: python-starlette%{psuffix}
|
Name: python-starlette%{psuffix}
|
||||||
Version: 0.20.4
|
Version: 0.21.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Lightweight ASGI framework/toolkit
|
Summary: Lightweight ASGI framework/toolkit
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
@ -37,10 +37,13 @@ BuildRequires: %{python_module Jinja2}
|
|||||||
BuildRequires: %{python_module PyYAML}
|
BuildRequires: %{python_module PyYAML}
|
||||||
BuildRequires: %{python_module anyio}
|
BuildRequires: %{python_module anyio}
|
||||||
BuildRequires: %{python_module base >= 3.7}
|
BuildRequires: %{python_module base >= 3.7}
|
||||||
|
BuildRequires: %{python_module hatchling}
|
||||||
|
BuildRequires: %{python_module httpx}
|
||||||
BuildRequires: %{python_module itsdangerous}
|
BuildRequires: %{python_module itsdangerous}
|
||||||
BuildRequires: %{python_module requests}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module typing_extensions}
|
BuildRequires: %{python_module typing_extensions}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-anyio >= 3.4.0
|
Requires: python-anyio >= 3.4.0
|
||||||
@ -66,11 +69,11 @@ building high performance asyncio services.
|
|||||||
%autosetup -n starlette-%{version}
|
%autosetup -n starlette-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%if ! %{with test}
|
%if ! %{with test}
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:95d69003585563bfc1e832fc9169f65fe92207fd57ce64f657933f37a454bd0e
|
|
||||||
size 2819634
|
|
3
starlette-0.21.0.tar.gz
Normal file
3
starlette-0.21.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:2ccf92057ce5d66e2b7571c9f6931aa5748208175a77ddd0f8a7f9cc223a5bcd
|
||||||
|
size 2830353
|
Loading…
Reference in New Issue
Block a user