14
0

- update to 7.0:

* Add support for Python 3.12 and 3.13 as of 3.13b1.
  * Drop support for Python 3.7.
- use PEP517 build
- update to 5.6.1
  * Add error checking to the setters for ListControl.displayValue and CheckboxListControl.displayValue:
    in line with the old mechanize-based implementation, these will now raise ItemNotFoundError
    if any of the given values are not found, or ItemCountError on trying to set more than one value
  * Fix a bug where browser.goBack() did not invalidate caches, so subsequent queries could use data
  * Fix a bug where you couldn’t set a cookie expiration date when
  * Fix an incompatibility with BeautifulSoup4 >= 4.7 that could
  * Fix narrative doctests that started failing on January 1st,
  * Fix mechRepr of CheckboxListControl to always return a
- Added patch zope.testbrowser-remove-bad-test.patch to disable
  * It seems to me that Google has changed the robot policy again

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testbrowser?expand=0&rev=27
This commit is contained in:
2024-06-10 09:16:11 +00:00
committed by Git OBS Bridge
parent d44c06fbe3
commit 1998752f34
4 changed files with 34 additions and 20 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file
# spec file for package python-zope.testbrowser
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -25,13 +25,16 @@
%bcond_with test
%endif
Name: python-zope.testbrowser%{psuffix}
Version: 6.0
Version: 7.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}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-WSGIProxy2
@@ -74,12 +77,12 @@ site.
%build
%if !%{with test}
%python_build
%pyproject_wheel
%endif
%install
%if !%{with test}
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%endif
@@ -94,7 +97,10 @@ cd src
%if !%{with test}
%doc CHANGES.rst README.rst
%license LICENSE.rst
%{python_sitelib}/zope*
%dir %{python_sitelib}/zope
%{python_sitelib}/zope/testbrowser
%{python_sitelib}/zope.testbrowser-%{version}-py*-nspkg.pth
%{python_sitelib}/zope.testbrowser-%{version}.dist-info
%endif
%changelog