- Update to 2.3.7:

* Use ``flit_core`` instead of ``setuptools`` as build backend.
  * Fix parsing of multipart bodies.
    Adjust index of last newline in data start.
  * ``_plain_int`` and ``_plain_float`` strip whitespace before type
    enforcement.
  * Fix empty file streaming when testing.
  * Clearer error message when URL rule does not start with slash.
  * ``Accept`` ``q`` value can be a float without a decimal part.
- Drop captialisation again.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Werkzeug?expand=0&rev=88
This commit is contained in:
Steve Kowalik 2023-09-25 02:08:05 +00:00 committed by Git OBS Bridge
parent 8dcaa71674
commit 0a891ec61f
4 changed files with 22 additions and 9 deletions

View File

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

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Mon Sep 25 02:04:19 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 2.3.7:
* Use ``flit_core`` instead of ``setuptools`` as build backend.
* Fix parsing of multipart bodies.
Adjust index of last newline in data start.
* ``_plain_int`` and ``_plain_float`` strip whitespace before type
enforcement.
* Fix empty file streaming when testing.
* Clearer error message when URL rule does not start with slash.
* ``Accept`` ``q`` value can be a float without a decimal part.
- Drop captialisation again.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jun 19 06:24:50 UTC 2023 - Antonio Larrosa <alarrosa@suse.com> Mon Jun 19 06:24:50 UTC 2023 - Antonio Larrosa <alarrosa@suse.com>

View File

@ -27,16 +27,15 @@
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-Werkzeug%{psuffix} Name: python-Werkzeug%{psuffix}
Version: 2.3.6 Version: 2.3.7
Release: 0 Release: 0
Summary: The Swiss Army knife of Python web development Summary: The Swiss Army knife of Python web development
License: BSD-3-Clause License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://werkzeug.palletsprojects.com URL: https://werkzeug.palletsprojects.com
Source: https://files.pythonhosted.org/packages/source/W/Werkzeug/Werkzeug-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/w/werkzeug/werkzeug-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.8} BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module flit-core}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel} BuildRequires: %{python_module wheel}
%if %{with test} %if %{with test}
BuildRequires: %{python_module Werkzeug = %{version}} BuildRequires: %{python_module Werkzeug = %{version}}
@ -76,7 +75,7 @@ on as many server environments as possible (such as blogs, wikis,
bulletin boards, etc.). bulletin boards, etc.).
%prep %prep
%autosetup -p1 -n Werkzeug-%{version} %autosetup -p1 -n werkzeug-%{version}
sed -i "1d" examples/manage-{i18nurls,simplewiki,shorty,couchy,cupoftee,webpylike,plnt,coolmagic}.py # Fix non-executable scripts sed -i "1d" examples/manage-{i18nurls,simplewiki,shorty,couchy,cupoftee,webpylike,plnt,coolmagic}.py # Fix non-executable scripts
@ -101,7 +100,7 @@ export LANG=en_US.UTF-8
%license LICENSE.rst %license LICENSE.rst
%doc CHANGES.rst README.rst %doc CHANGES.rst README.rst
%{python_sitelib}/werkzeug %{python_sitelib}/werkzeug
%{python_sitelib}/Werkzeug-%{version}*-info %{python_sitelib}/werkzeug-%{version}.dist-info
%endif %endif
%changelog %changelog

3
werkzeug-2.3.7.tar.gz Normal file
View File

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