Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-starlette for openSUSE:Factory checked in at 2024-04-30 17:25:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-starlette (Old)
and /work/SRC/openSUSE:Factory/.python-starlette.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-starlette"
Tue Apr 30 17:25:47 2024 rev:24 rq:1170764 version:0.37.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-starlette/python-starlette.changes 2024-01-21 23:07:48.244297719 +0100
+++ /work/SRC/openSUSE:Factory/.python-starlette.new.1880/python-starlette.changes 2024-04-30 17:26:04.755377224 +0200
@@ -1,0 +2,27 @@
+Sat Apr 20 08:10:00 UTC 2024 - Dirk Müller
+
+- update to 0.37.2:
+ * Add `bytes` to `_RequestData` type #2510.
+ * Revert "Turn `scope["client"]` to `None` on `TestClient`
+ * Remove deprecated `app` argument passed to `httpx.Client` on
+ the `TestClient` #2526.
+- update to 0.37.1:
+ * Warn instead of raise for missing env file on `Config` #2485.
+- update to 0.37.0:
+ * Support the WebSocket Denial Response ASGI extension #2041.
+- update to 0.36.3:
+ * Create `anyio.Event` on async context #2459.
+- update to 0.36.2:
+ * Upgrade `python-multipart` to `0.0.7` 13e5c26.
+ * Avoid duplicate charset on `Content-Type` #2443.
+- update to 0.36.1:
+ * Check if "extensions" in scope before checking the extension
+- update to 0.36.0:
+ * Add support for ASGI `pathsend` extension #2435.
+ * Cancel `WebSocketTestSession` on close #2427.
+ * Raise `WebSocketDisconnect` when `WebSocket.send()` excepts
+ `IOError` #2425.
+ * Raise `FileNotFoundError` when the `env_file` parameter on
+ `Config` is not valid #2422.
+
+-------------------------------------------------------------------
Old:
----
starlette-0.35.1.tar.gz
New:
----
starlette-0.37.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-starlette.spec ++++++
--- /var/tmp/diff_new_pack.T5iRIr/_old 2024-04-30 17:26:07.167464934 +0200
+++ /var/tmp/diff_new_pack.T5iRIr/_new 2024-04-30 17:26:07.187465661 +0200
@@ -1,5 +1,5 @@
#
-# spec file
+# spec file for package python-starlette
#
# Copyright (c) 2024 SUSE LLC
#
@@ -27,7 +27,7 @@
%{?sle15_python_module_pythons}
Name: python-starlette%{psuffix}
-Version: 0.35.1
+Version: 0.37.2
Release: 0
Summary: Lightweight ASGI framework/toolkit
License: BSD-3-Clause
@@ -49,16 +49,17 @@
BuildRequires: %{python_module Jinja2}
BuildRequires: %{python_module httpx >= 0.22}
BuildRequires: %{python_module itsdangerous}
-BuildRequires: %{python_module python-multipart}
+BuildRequires: %{python_module python-multipart >= 0.0.7}
# /SECTION
# SECTION test
BuildRequires: %{python_module exceptiongroup}
+BuildRequires: %{python_module asyncio}
BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module trio}
# testing requires it for all flavors
-BuildRequires: %{python_module typing_extensions}
-BuildRequires: %{python_module importlib-metadata}
+BuildRequires: %{python_module typing_extensions >= 4.10.0}
+BuildRequires: %{python_module importlib-metadata >= 7.0.1}
# /SECITON
%endif
%python_subpackages
@@ -73,10 +74,6 @@
%build
%pyproject_wheel
-# override default pytest.ini configuration in pyproject.toml to do
-# not crash on deprecation warning
-touch pytest.ini
-
%install
%if ! %{with test}
%pyproject_install
@@ -91,6 +88,8 @@
# cannot just use ifarch conditionals here...
ignored_tests="test_set_cookie"
ignored_tests="$ignored_tests or test_expires_on_set_cookie"
+# fails to raise a deprecation warning as of 2024/04/25
+ignored_tests="$ignored_tests or test_lifespan_with_on_events"
%pytest --asyncio-mode=strict -k "not ($ignored_tests)"
%endif
++++++ starlette-0.35.1.tar.gz -> starlette-0.37.2.tar.gz ++++++
++++ 9557 lines of diff (skipped)