diff --git a/python-zope.testbrowser.changes b/python-zope.testbrowser.changes index 472107c..c6a6000 100644 --- a/python-zope.testbrowser.changes +++ b/python-zope.testbrowser.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Jan 5 04:42:23 UTC 2026 - Steve Kowalik + +- Update to 8.0: + * Replace pkg_resources namespace with PEP 420 native namespace. + * Drop support for Python 3.8. + * Add preliminary support for Python 3.14. + ------------------------------------------------------------------- Tue Apr 1 16:06:01 UTC 2025 - Markéta Machová diff --git a/python-zope.testbrowser.spec b/python-zope.testbrowser.spec index 24543ad..92fd12d 100644 --- a/python-zope.testbrowser.spec +++ b/python-zope.testbrowser.spec @@ -1,7 +1,7 @@ # # spec file for package python-zope.testbrowser # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,13 +26,13 @@ %endif %{?sle15_python_module_pythons} Name: python-zope.testbrowser%{psuffix} -Version: 7.0 +Version: 8.0 Release: 0 Summary: Programmable browser for functional black-box tests License: ZPL-2.1 URL: https://github.com/zopefoundation/zope.testbrowser -Source: https://files.pythonhosted.org/packages/source/z/zope.testbrowser/zope.testbrowser-%{version}.tar.gz -BuildRequires: %{python_module base >= 3.8} +Source: https://files.pythonhosted.org/packages/source/z/zope.testbrowser/zope_testbrowser-%{version}.tar.gz +BuildRequires: %{python_module base >= 3.9} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} @@ -41,13 +41,15 @@ BuildRequires: python-rpm-macros Requires: python-WSGIProxy2 Requires: python-WebTest >= 2.0.30 Requires: python-beautifulsoup4 -Requires: python-pytz > dev +Requires: python-pytz Requires: python-setuptools Requires: python-soupsieve >= 1.9.0 Requires: python-zope.cachedescriptors Requires: python-zope.interface Requires: python-zope.schema -Suggests: python-mock +%if 0%{python_version_nodots} > 312 +Requires: python-legacy-cgi +%endif Suggests: python-zope.testing BuildArch: noarch # SECTION test requirements @@ -55,13 +57,14 @@ BuildArch: noarch BuildRequires: %{python_module WSGIProxy2} BuildRequires: %{python_module WebTest >= 2.0.30} BuildRequires: %{python_module beautifulsoup4} -BuildRequires: %{python_module pytz > dev} +BuildRequires: %{python_module legacy-cgi if %python-base > 3.12} +BuildRequires: %{python_module pytz} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module soupsieve >= 1.9.0} BuildRequires: %{python_module zope.cachedescriptors} BuildRequires: %{python_module zope.interface} BuildRequires: %{python_module zope.schema} -BuildRequires: %{python_module zope.testbrowser} +BuildRequires: %{python_module zope.testbrowser = %{version}} BuildRequires: %{python_module zope.testing} %endif # /SECTION @@ -74,7 +77,7 @@ specific. It can be used to test or otherwise interact with any web site. %prep -%autosetup -p1 -n zope.testbrowser-%{version} +%autosetup -p1 -n zope_testbrowser-%{version} %build %if !%{with test} @@ -100,7 +103,6 @@ cd src %license LICENSE.rst %dir %{python_sitelib}/zope %{python_sitelib}/zope/testbrowser -%{python_sitelib}/zope.testbrowser-%{version}-py*-nspkg.pth %{python_sitelib}/zope[_.]testbrowser-%{version}.dist-info %endif diff --git a/zope.testbrowser-7.0.tar.gz b/zope.testbrowser-7.0.tar.gz deleted file mode 100644 index f0ff12b..0000000 --- a/zope.testbrowser-7.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5936d2a0d77d8781d001358fd0b11461285b02dc6e3b324b84c1ed9326b1ff3f -size 85418 diff --git a/zope_testbrowser-8.0.tar.gz b/zope_testbrowser-8.0.tar.gz new file mode 100644 index 0000000..792f666 --- /dev/null +++ b/zope_testbrowser-8.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:35175e97be098cc4f8357ef83fbb5f3280e0e2400e8ea30b0e7e8533dd3d150d +size 85963