Accepting request 939953 from home:Simmphonie:python
- update to version 0.17.1 * Fix IndexError in authentication requires when wrapped function arguments are distributed between *args and **kwargs #1335. - version 17.0 * Added - Response.delete_cookie now accepts the same parameters as Response.set_cookie #1228. - Update the Jinja2Templates constructor to allow PathLike #1292. * Fixed - Fix BadSignature exception handling in SessionMiddleware #1264. - Change HTTPConnection.__getitem__ return type from str to typing.Any #1118. - Change ImmutableMultiDict.getlist return type from typing.List[str] to typing.List[typing.Any] #1235. - Handle OSError exceptions on StaticFiles #1220. - Fix StaticFiles 404.html in HTML mode #1314. - Prevent anyio.ExceptionGroup in error views under a BaseHTTPMiddleware #1262. *Removed - Remove GraphQL support #1198. - Remove py39-ignore-loop-deprecation.patch OBS-URL: https://build.opensuse.org/request/show/939953 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-starlette?expand=0&rev=5
This commit is contained in:
parent
9bb6b7e145
commit
2e87c7aed6
@ -1,22 +0,0 @@
|
|||||||
From 0c9ea3c00cc0a267b3ef9dd7a0c0874f466e9cf6 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Marcelo Trylesinski <marcelotryle@gmail.com>
|
|
||||||
Date: Thu, 16 Sep 2021 13:48:07 +0200
|
|
||||||
Subject: [PATCH] Update setup.cfg
|
|
||||||
|
|
||||||
---
|
|
||||||
setup.cfg | 2 ++
|
|
||||||
1 file changed, 2 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/setup.cfg b/setup.cfg
|
|
||||||
index f59a7202..1266d95c 100644
|
|
||||||
--- a/setup.cfg
|
|
||||||
+++ b/setup.cfg
|
|
||||||
@@ -29,6 +29,8 @@ filterwarnings=
|
|
||||||
ignore: Using or importing the ABCs from 'collections' instead of from 'collections\.abc' is deprecated.*:DeprecationWarning
|
|
||||||
ignore: The 'context' alias has been deprecated. Please use 'context_value' instead\.:DeprecationWarning
|
|
||||||
ignore: The 'variables' alias has been deprecated. Please use 'variable_values' instead\.:DeprecationWarning
|
|
||||||
+ # Workaround for Python 3.9.7 (see https://bugs.python.org/issue45097)
|
|
||||||
+ ignore:The loop argument is deprecated since Python 3\.8, and scheduled for removal in Python 3\.10\.:DeprecationWarning:asyncio
|
|
||||||
|
|
||||||
[coverage:run]
|
|
||||||
source_pkgs = starlette, tests
|
|
@ -1,3 +1,28 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 8 15:53:03 UTC 2021 - Torsten Gruner <simmphonie@opensuse.org>
|
||||||
|
|
||||||
|
- update to version 0.17.1
|
||||||
|
* Fix IndexError in authentication requires when wrapped function
|
||||||
|
arguments are distributed between *args and **kwargs #1335.
|
||||||
|
- version 17.0
|
||||||
|
* Added
|
||||||
|
- Response.delete_cookie now accepts the same parameters as
|
||||||
|
Response.set_cookie #1228.
|
||||||
|
- Update the Jinja2Templates constructor to allow PathLike #1292.
|
||||||
|
* Fixed
|
||||||
|
- Fix BadSignature exception handling in SessionMiddleware #1264.
|
||||||
|
- Change HTTPConnection.__getitem__ return type from str to
|
||||||
|
typing.Any #1118.
|
||||||
|
- Change ImmutableMultiDict.getlist return type from typing.List[str]
|
||||||
|
to typing.List[typing.Any] #1235.
|
||||||
|
- Handle OSError exceptions on StaticFiles #1220.
|
||||||
|
- Fix StaticFiles 404.html in HTML mode #1314.
|
||||||
|
- Prevent anyio.ExceptionGroup in error views under a
|
||||||
|
BaseHTTPMiddleware #1262.
|
||||||
|
*Removed
|
||||||
|
- Remove GraphQL support #1198.
|
||||||
|
- Remove py39-ignore-loop-deprecation.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 27 12:44:18 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
Mon Sep 27 12:44:18 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
@ -19,16 +19,13 @@
|
|||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
Name: python-starlette
|
Name: python-starlette
|
||||||
Version: 0.16.0
|
Version: 0.17.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Lightweight ASGI framework/toolkit
|
Summary: Lightweight ASGI framework/toolkit
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/encode/starlette
|
URL: https://github.com/encode/starlette
|
||||||
Source: https://github.com/encode/starlette/archive/refs/tags/%{version}.tar.gz#/starlette-%{version}.tar.gz
|
Source: https://github.com/encode/starlette/archive/refs/tags/%{version}.tar.gz#/starlette-%{version}.tar.gz
|
||||||
# PATCH-FIX-UPSTREAM py39-ignore-loop-deprecation.patch gh#encode/starlette#1293 mcepl@suse.com
|
|
||||||
# Ignore loop deprecation warnings originating inside asyncio; bpo#45097
|
|
||||||
Patch0: py39-ignore-loop-deprecation.patch
|
|
||||||
BuildRequires: %{python_module Jinja2}
|
BuildRequires: %{python_module Jinja2}
|
||||||
BuildRequires: %{python_module PyYAML}
|
BuildRequires: %{python_module PyYAML}
|
||||||
BuildRequires: %{python_module aiofiles}
|
BuildRequires: %{python_module aiofiles}
|
||||||
@ -58,7 +55,7 @@ Starlette is a lightweight ASGI framework/toolkit, which is ideal for
|
|||||||
building high performance asyncio services.
|
building high performance asyncio services.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n starlette-%{version}
|
%autosetup -n starlette-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
@ -69,7 +66,7 @@ building high performance asyncio services.
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
# Deprecate built-in GraphQL support gh#encode/starlette#1135
|
# Deprecate built-in GraphQL support gh#encode/starlette#1135
|
||||||
rm tests/test_graphql.py
|
# rm tests/test_graphql.py
|
||||||
# Remove unrecognized arguments: --strict-config --strict-markers
|
# Remove unrecognized arguments: --strict-config --strict-markers
|
||||||
sed -i "s|--strict-config||" setup.cfg
|
sed -i "s|--strict-config||" setup.cfg
|
||||||
sed -i "s|--strict-markers||" setup.cfg
|
sed -i "s|--strict-markers||" setup.cfg
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:f3975d2daee42925bcb89dc07f4445c1117d4391266b49f1106890120de49633
|
|
||||||
size 444125
|
|
3
starlette-0.17.1.tar.gz
Normal file
3
starlette-0.17.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:203400772695393de1b8e42347fc26f50e75db083069efc0abe55336097a1c7f
|
||||||
|
size 403781
|
Loading…
Reference in New Issue
Block a user