[packages/python3-werkzeug] - updated to 2.2.3

qboosh qboosh at pld-linux.org
Thu Oct 12 21:25:18 CEST 2023


commit 42a506a83c4f957812eb0f69dc1082a8c8769ec1
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Oct 12 21:27:19 2023 +0200

    - updated to 2.2.3

 python3-werkzeug.spec | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)
---
diff --git a/python3-werkzeug.spec b/python3-werkzeug.spec
index 9cf324d..5347102 100644
--- a/python3-werkzeug.spec
+++ b/python3-werkzeug.spec
@@ -7,28 +7,29 @@
 Summary:	The Swiss Army knife of Python web development
 Summary(pl.UTF-8):	Scyzoryk szwajcarski programisty aplikacji WWW
 Name:		python3-%{module}
-Version:	2.2.2
+Version:	2.2.3
 Release:	1
 License:	BSD
 Group:		Development/Languages/Python
 # pypi release misses docs/_themes directory
-##Source0Download: https://pypi.python.org/simple/Werkzeug
+##Source0Download: https://pypi.org/simple/Werkzeug
 #Source0:	https://files.pythonhosted.org/packages/source/W/Werkzeug/Werkzeug-%{version}.tar.gz
 #Source0Download: https://github.com/pallets/werkzeug/releases
 Source0:	https://github.com/pallets/werkzeug/archive/%{version}/werkzeug-%{version}.tar.gz
-# Source0-md5:	b822ba33e34f25c630e462457609c12f
+# Source0-md5:	3da84b7479521f8e8c2003cc4006b439
 URL:		https://werkzeug.palletsprojects.com/
-BuildRequires:	python3-devel >= 1:3.6
-BuildRequires:	python3-modules >= 1:3.6
+BuildRequires:	python3-devel >= 1:3.7
+BuildRequires:	python3-modules >= 1:3.7
 BuildRequires:	python3-setuptools
 %if %{with tests}
 BuildRequires:	python3-cryptography
+BuildRequires:	python3-ephemeral_port_reserve
 BuildRequires:	python3-greenlet
+BuildRequires:	python3-markupsafe >= 2.1.1
 BuildRequires:	python3-pyOpenSSL
 BuildRequires:	python3-pytest
 BuildRequires:	python3-pytest-timeout
-# optional
-#BuildRequires:	python3-pytest-xprocess
+BuildRequires:	python3-pytest-xprocess
 BuildRequires:	python3-requests
 # optional
 #BuildRequires:	python3-watchdog
@@ -37,12 +38,11 @@ BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.714
 %if %{with doc}
 BuildRequires:	python3-pallets-sphinx-themes
-BuildRequires:	python3-pylons-sphinx-themes
 BuildRequires:	python3-sphinx_issues
 BuildRequires:	python3-sphinxcontrib-log-cabinet
 BuildRequires:	sphinx-pdg-3
 %endif
-Requires:	python-modules >= 1:2.7
+Requires:	python3-modules >= 1:3.7
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -83,9 +83,11 @@ Dokumentacja do pakietu Pythona Werkzeug.
 %if %{with tests}
 LC_ALL=C.UTF-8 \
 PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
-PYTEST_PLUGINS=pytest_timeout \
+PYTEST_PLUGINS=pytest_timeout,xprocess.pytest_xprocess \
 PYTHONPATH=$(pwd)/src \
-%{__python3} -m pytest tests
+%{__python3} -m pytest tests -m 'not dev_server' -k 'not test_exclude_patterns'
+# dev_server tests fail with connection refused(?)
+# test_exclude_patterns seems to fail with sys.prefix == sys.base_prefix (?)
 %endif
 
 %if %{with doc}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-werkzeug.git/commitdiff/42a506a83c4f957812eb0f69dc1082a8c8769ec1



More information about the pld-cvs-commit mailing list