From 6aa8af5e3d6ba914c15be985b6295ee96fe12a1b2d3ebf5672b7abe25c055c8e Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Tue, 25 Jul 2023 03:04:39 +0000 Subject: [PATCH] - Update to 1.12.1: * Pin urllib3 to < 2.0.0 (#70) - Switch to pyproject macros OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wsgi_intercept?expand=0&rev=56 --- python-wsgi_intercept.changes | 7 +++++++ python-wsgi_intercept.spec | 16 +++++++++------- wsgi_intercept-1.11.0.tar.gz | 3 --- wsgi_intercept-1.12.1.tar.gz | 3 +++ 4 files changed, 19 insertions(+), 10 deletions(-) delete mode 100644 wsgi_intercept-1.11.0.tar.gz create mode 100644 wsgi_intercept-1.12.1.tar.gz diff --git a/python-wsgi_intercept.changes b/python-wsgi_intercept.changes index 413cac0..c0df6fa 100644 --- a/python-wsgi_intercept.changes +++ b/python-wsgi_intercept.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Jul 25 03:03:51 UTC 2023 - Steve Kowalik + +- Update to 1.12.1: + * Pin urllib3 to < 2.0.0 (#70) +- Switch to pyproject macros + ------------------------------------------------------------------- Wed Nov 9 19:51:58 UTC 2022 - Yogalakshmi Arunachalam diff --git a/python-wsgi_intercept.spec b/python-wsgi_intercept.spec index 4c5de1a..db209e3 100644 --- a/python-wsgi_intercept.spec +++ b/python-wsgi_intercept.spec @@ -1,7 +1,7 @@ # # spec file for package python-wsgi_intercept # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,9 +16,8 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-wsgi_intercept -Version: 1.11.0 +Version: 1.12.1 Release: 0 Summary: Library for installing a WSGI application in place of a real URI for testing License: MIT @@ -26,14 +25,17 @@ URL: https://github.com/cdent/python3-wsgi-intercept Source: https://files.pythonhosted.org/packages/source/w/wsgi_intercept/wsgi_intercept-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module httplib2} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest >= 2.4} BuildRequires: %{python_module requests >= 2.0.1} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} -BuildRequires: %{python_module urllib3 >= 1.11.0} +BuildRequires: %{python_module urllib3 >= 1.11.0 with %python-urllib3 < 2} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-six +Requires: python-urllib3 < 2 Recommends: python-requests >= 2.0.1 BuildArch: noarch %python_subpackages @@ -49,10 +51,10 @@ can avoid spawning multiple processes or threads to test your Web app. %setup -q -n wsgi_intercept-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand rm -r %{buildroot}%{$python_sitelib}/wsgi_intercept/tests %python_expand %fdupes %{buildroot}%{$python_sitelib} @@ -63,7 +65,7 @@ export WSGI_INTERCEPT_SKIP_NETWORK=true %files %{python_files} %doc README %license LICENSE -%{python_sitelib}/wsgi_intercept-%{version}-*.egg-info %{python_sitelib}/wsgi_intercept +%{python_sitelib}/wsgi_intercept-%{version}.dist-info %changelog diff --git a/wsgi_intercept-1.11.0.tar.gz b/wsgi_intercept-1.11.0.tar.gz deleted file mode 100644 index 80ed933..0000000 --- a/wsgi_intercept-1.11.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2afad9b3e12078aec3bbb9e2ea270a1df705d16d110dd7b45ba023fc43d9d87c -size 30339 diff --git a/wsgi_intercept-1.12.1.tar.gz b/wsgi_intercept-1.12.1.tar.gz new file mode 100644 index 0000000..5633148 --- /dev/null +++ b/wsgi_intercept-1.12.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4ad53110df757d4eeaa29b47f6228916965620120eb487ba4b882f74180de3c1 +size 30891