forked from pool/python-Werkzeug
Accepting request 1093739 from home:alarrosa:branches:devel:languages:python
- Update to 2.3.6:
* FileStorage.content_length does not fail if the form data did not provide
a value.
- Update to 2.3.5:
* Python 3.12 compatibility.
* Fix handling of invalid base64 values in Authorization.from_header.
* The debugger escapes the exception message in the page title.
* When binding routing.Map, a long IDNA server_name with a port does not
fail encoding.
* iri_to_uri shows a deprecation warning instead of an error when passing
bytes.
* When parsing numbers in HTTP request headers such as Content-Length, only
ASCII digits are accepted rather than any format that Python’s int and
float accept.
- Update to 2.3.4:
* Authorization.from_header and WWWAuthenticate.from_header detects tokens
that end with base64 padding (=).
* Remove usage of warnings.catch_warnings.
* Remove max_form_parts restriction from standard form data parsing and only
use if for multipart content.
* Response will avoid converting the Location header in some cases to
preserve invalid URL schemes like itms-services.
- Update to 2.3.3:
* Fix parsing of large multipart bodies. Remove invalid leading newline, and
restore parsing speed.
* The cookie Path attribute is set to / by default again, to prevent clients
from falling back to RFC 6265’s default-path behavior.
- Update to 2.3.2:
* Parse the cookie Expires attribute correctly in the test client.
* max_content_length can only be enforced on streaming requests if the
OBS-URL: https://build.opensuse.org/request/show/1093739
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Werkzeug?expand=0&rev=81
This commit is contained in:
@@ -27,17 +27,15 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-Werkzeug%{psuffix}
|
||||
Version: 2.2.3
|
||||
Version: 2.3.6
|
||||
Release: 0
|
||||
Summary: The Swiss Army knife of Python web development
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://werkzeug.palletsprojects.com
|
||||
Source: https://files.pythonhosted.org/packages/source/W/Werkzeug/Werkzeug-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM moved_root.patch bsc#[0-9]+ mcepl@suse.com
|
||||
# this patch makes things totally awesome
|
||||
Patch1: moved_root.patch
|
||||
BuildRequires: %{python_module base >= 3.7}
|
||||
Source1: setup.py
|
||||
BuildRequires: %{python_module base >= 3.8}
|
||||
BuildRequires: %{python_module setuptools_scm}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
%if %{with test}
|
||||
@@ -50,12 +48,13 @@ BuildRequires: %{python_module pytest-timeout}
|
||||
BuildRequires: %{python_module pytest-xprocess}
|
||||
BuildRequires: %{python_module requests}
|
||||
BuildRequires: %{python_module sortedcontainers}
|
||||
BuildRequires: %{python_module watchdog >= 3.0.0}
|
||||
%endif
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-MarkupSafe >= 2.1.1
|
||||
Requires: python-MarkupSafe >= 2.1.2
|
||||
Recommends: python-termcolor
|
||||
Recommends: python-watchdog
|
||||
Recommends: python-watchdog >= 3.0.0
|
||||
Obsoletes: python-Werkzeug-doc < %{version}
|
||||
Provides: python-Werkzeug-doc = %{version}
|
||||
BuildArch: noarch
|
||||
@@ -80,6 +79,7 @@ bulletin boards, etc.).
|
||||
%autosetup -p1 -n Werkzeug-%{version}
|
||||
|
||||
sed -i "1d" examples/manage-{i18nurls,simplewiki,shorty,couchy,cupoftee,webpylike,plnt,coolmagic}.py # Fix non-executable scripts
|
||||
cp %{S:1} .
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
Reference in New Issue
Block a user