diff --git a/WebTest-2.0.35.tar.gz b/WebTest-2.0.35.tar.gz deleted file mode 100644 index 0f8f800..0000000 --- a/WebTest-2.0.35.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:aac168b5b2b4f200af4e35867cf316712210e3d5db81c1cbdff38722647bb087 -size 76227 diff --git a/WebTest-3.0.0.tar.gz b/WebTest-3.0.0.tar.gz new file mode 100644 index 0000000..976a1ef --- /dev/null +++ b/WebTest-3.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:54bd969725838d9861a9fa27f8d971f79d275d94ae255f5c501f53bb6d9929eb +size 75871 diff --git a/python-WebTest.changes b/python-WebTest.changes index 740c31b..eda3b85 100644 --- a/python-WebTest.changes +++ b/python-WebTest.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Fri Aug 27 11:45:04 UTC 2021 - pgajdos@suse.com + +- version update to 3.0.0 + - Dropped support for Python 2.7 and 3.5. + - Added support for Python 3.9. + - Clean up dependencies and requirements. + - Switch from Travis to GitHub Actions for building and testing. + - Prevent PytestCollectionWarning for TestApp + ------------------------------------------------------------------- Tue May 12 08:48:01 UTC 2020 - Dirk Mueller diff --git a/python-WebTest.spec b/python-WebTest.spec index dbac523..06a2a91 100644 --- a/python-WebTest.spec +++ b/python-WebTest.spec @@ -1,7 +1,7 @@ # # spec file for package python-WebTest # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,19 +18,19 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define oldpython python -%bcond_without tests Name: python-WebTest -Version: 2.0.35 +Version: 3.0.0 Release: 0 Summary: Helper to test WSGI applications License: MIT Group: Development/Languages/Python -URL: http://webtest.pythonpaste.org/ +URL: https://webtest.pythonpaste.org/ Source: https://files.pythonhosted.org/packages/source/W/WebTest/WebTest-%{version}.tar.gz BuildRequires: %{python_module PasteDeploy} BuildRequires: %{python_module WSGIProxy2} BuildRequires: %{python_module WebOb >= 1.2} BuildRequires: %{python_module beautifulsoup4} +BuildRequires: %{python_module coverage} BuildRequires: %{python_module cssselect} BuildRequires: %{python_module pyquery} BuildRequires: %{python_module setuptools} @@ -42,14 +42,8 @@ BuildRequires: python3-Sphinx BuildRequires: python3-pylons-sphinx-themes Requires: python-WebOb >= 1.2 Requires: python-beautifulsoup4 -Requires: python-six Requires: python-waitress >= 0.8.5 BuildArch: noarch -%if %{with tests} -BuildRequires: %{python_module coverage} -BuildRequires: %{python_module mock} -BuildRequires: %{python_module nose} -%endif %ifpython2 Obsoletes: %{oldpython}-webtest < %{version} Provides: %{oldpython}-webtest = %{version} @@ -84,10 +78,8 @@ python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%if %{with tests} %check -%python_exec setup.py -q test -%endif +%pyunittest -v %files %{python_files} %license license.rst