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 2022-02-23 16:26:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-starlette (Old)
 and      /work/SRC/openSUSE:Factory/.python-starlette.new.1958 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-starlette"

Wed Feb 23 16:26:02 2022 rev:5 rq:956892 version:0.18.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-starlette/python-starlette.changes        
2021-12-12 21:28:30.176373296 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-starlette.new.1958/python-starlette.changes  
    2022-02-23 16:26:48.639509604 +0100
@@ -1,0 +2,25 @@
+Wed Feb 23 01:08:10 UTC 2022 - Steve Kowalik <steven.kowa...@suse.com>
+
+- Update to 0.18.0:
+  * Change default chunk size from 4Kb to 64Kb on FileResponse #1345.
+  * Add support for functools.partial in WebSocketRoute #1356.
+  * Add StaticFiles packages with directory #1350.
+  * Allow environment options in Jinja2Templates #1401.
+  * Allow HEAD method on HttpEndpoint #1346.
+  * Accept additional headers on websocket.accept message #1361 and #1422.
+  * Add reason to WebSocket close ASGI event #1417.
+  * Add headers attribute to UploadFile #1382.
+  * Don't omit Content-Length header for Content-Length: 0 cases #1395.
+  * Don't set headers for responses with 1xx, 204 and 304 status code #1397.
+  * SessionMiddleware.max_age now accepts None, so cookie can last as long
+    as the browser session #1387.
+  * Tweak hashlib.md5() function on FileResponses ETag generation. The
+    parameter usedforsecurity flag is set to False, if the flag is available
+    on the system. This fixes an error raised on systems with FIPS
+    enabled #1366 and #1410.
+  * Fix path_params type on url_path_for() method i.e. turn str into Any #1341.
+  * Host now ignores port on routing #1322. 
+- Set asyncio_mode when running pytest, and stop turning warnings into
+  errors.
+
+-------------------------------------------------------------------

Old:
----
  starlette-0.17.1.tar.gz

New:
----
  starlette-0.18.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-starlette.spec ++++++
--- /var/tmp/diff_new_pack.niHR1D/_old  2022-02-23 16:26:49.179509624 +0100
+++ /var/tmp/diff_new_pack.niHR1D/_new  2022-02-23 16:26:49.183509624 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-starlette
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,14 +16,13 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%{?!python_module:%define python_module() python3-%{**}}
 %define skip_python2 1
 Name:           python-starlette
-Version:        0.17.1
+Version:        0.18.0
 Release:        0
 Summary:        Lightweight ASGI framework/toolkit
 License:        BSD-3-Clause
-Group:          Development/Languages/Python
 URL:            https://github.com/encode/starlette
 Source:         
https://github.com/encode/starlette/archive/refs/tags/%{version}.tar.gz#/starlette-%{version}.tar.gz
 BuildRequires:  %{python_module Jinja2}
@@ -43,6 +42,7 @@
 BuildRequires:  %{python_module requests}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module trio}
+BuildRequires:  %{python_module typing_extensions}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildRequires:  (python3-aiocontextvars if python3-base < 3.7)
@@ -65,12 +65,11 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-# Deprecate built-in GraphQL support gh#encode/starlette#1135
-# rm tests/test_graphql.py
 # Remove unrecognized arguments: --strict-config --strict-markers
 sed -i "s|--strict-config||" setup.cfg
 sed -i "s|--strict-markers||" setup.cfg
-%pytest
+sed -i "s| error$||" setup.cfg
+%pytest --asyncio-mode=strict
 
 %files %{python_files}
 %doc README.md

++++++ starlette-0.17.1.tar.gz -> starlette-0.18.0.tar.gz ++++++
++++ 2241 lines of diff (skipped)

Reply via email to