Accepting request 1118529 from home:david.anes:branches:devel:languages:python

- Update to 0.31.1:
  * Fixes:
    - Fix import error when exceptiongroup isn't available #2231.
    - Set url_for global for custom Jinja environments #2230.
- Update to 0.31.0:
  * Added
    - Officially support Python 3.12 #2214.
    - Support AnyIO 4.0 #2211.
    - Strictly type annotate Starlette (strict mode on mypy) #2180.
  * Fixed
    - Don't group duplicated headers on a single string when using the TestClient #2219.
- Update to 0.30.0
  * Removed
    - Drop Python 3.7 support #2178.
- Update to 0.29.0:
  * Added
    - Add follow_redirects parameter to TestClient #2207.
    - Add __str__ to HTTPException and WebSocketException #2181.
    - Warn users when using lifespan together with on_startup/on_shutdown #2193.
    - Collect routes from Host to generate the OpenAPI schema #2183.
    - Add request argument to TemplateResponse #2191.
  * Fixed
    - Stop body_stream in case more_body=False on BaseHTTPMiddleware #2194.
- Update to 0.28.0:
  * Changed
     - Reuse Request's body buffer for call_next in BaseHTTPMiddleware #1692.
     - Move exception handling logic to Route #2026.
  * Added
     . Add env parameter to Jinja2Templates, and deprecate **env_options #2159.
     . Add clear error message when httpx is not installed #2177.

OBS-URL: https://build.opensuse.org/request/show/1118529
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-starlette?expand=0&rev=40
This commit is contained in:
Ondřej Súkup 2023-10-18 07:51:10 +00:00 committed by Git OBS Bridge
parent f1f0271d42
commit 342993c12a
4 changed files with 44 additions and 9 deletions

View File

@ -1,3 +1,43 @@
-------------------------------------------------------------------
Wed Oct 18 07:31:47 UTC 2023 - David Anes <david.anes@suse.com>
- Update to 0.31.1:
* Fixes:
- Fix import error when exceptiongroup isn't available #2231.
- Set url_for global for custom Jinja environments #2230.
- Update to 0.31.0:
* Added
- Officially support Python 3.12 #2214.
- Support AnyIO 4.0 #2211.
- Strictly type annotate Starlette (strict mode on mypy) #2180.
* Fixed
- Don't group duplicated headers on a single string when using the TestClient #2219.
- Update to 0.30.0
* Removed
- Drop Python 3.7 support #2178.
- Update to 0.29.0:
* Added
- Add follow_redirects parameter to TestClient #2207.
- Add __str__ to HTTPException and WebSocketException #2181.
- Warn users when using lifespan together with on_startup/on_shutdown #2193.
- Collect routes from Host to generate the OpenAPI schema #2183.
- Add request argument to TemplateResponse #2191.
* Fixed
- Stop body_stream in case more_body=False on BaseHTTPMiddleware #2194.
- Update to 0.28.0:
* Changed
- Reuse Request's body buffer for call_next in BaseHTTPMiddleware #1692.
- Move exception handling logic to Route #2026.
* Added
. Add env parameter to Jinja2Templates, and deprecate **env_options #2159.
. Add clear error message when httpx is not installed #2177.
* Fixed
- Allow "name" argument on templates url_for() #2127.
-------------------------------------------------------------------
Sun Jun 11 13:34:22 UTC 2023 - ecsos <ecsos@opensuse.org>

View File

@ -27,7 +27,7 @@
%{?sle15_python_module_pythons}
Name: python-starlette%{psuffix}
Version: 0.27.0
Version: 0.31.1
Release: 0
Summary: Lightweight ASGI framework/toolkit
License: BSD-3-Clause
@ -81,11 +81,6 @@ building high performance asyncio services.
%check
%if %{with test}
# Remove unrecognized arguments: --strict-config --strict-markers
sed -i "s|--strict-config||" setup.cfg
sed -i "s|--strict-markers||" setup.cfg
sed -i "s| error$||" setup.cfg
# The following tests don't work in some archs because time_t cannot
# hold the values the test expect, as they go beyond the maximum
# value in i586 and armv7l. As we are using Buildarch: noarch, we

View File

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

3
starlette-0.31.1.tar.gz Normal file
View File

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