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,3 +1,11 @@
-------------------------------------------------------------------
Mon Jun 10 09:12:39 UTC 2024 - Dirk Müller <dmueller@suse.com>
- 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
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Apr 3 09:34:27 UTC 2023 - pgajdos@suse.com Mon Apr 3 09:34:27 UTC 2023 - pgajdos@suse.com
@@ -12,7 +20,7 @@ Mon Apr 3 09:34:27 UTC 2023 - pgajdos@suse.com
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Sep 16 19:36:33 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com> Fri Sep 16 19:36:33 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- update to 5.6.1 - update to 5.6.1
* Ensure all objects have consistent resolution orders. * Ensure all objects have consistent resolution orders.
- update to 5.6.0 - update to 5.6.0
@@ -33,12 +41,12 @@ Tue Jan 21 10:36:36 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- update to 5.5.1 - update to 5.5.1
* Stop sending a Referer header when browser.open or browser.post is called directly. * Stop sending a Referer header when browser.open or browser.post is called directly.
* Add error checking to the setters for ListControl.displayValue and CheckboxListControl.displayValue: * 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 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 if any of the given values are not found, or ItemCountError on trying to set more than one value
on a single-valued control. on a single-valued control.
* Fix AttributeError in add_file when trying to add to a control which is not a file upload. * Fix AttributeError in add_file when trying to add to a control which is not a file upload.
* Fix a bug where browser.goBack() did not invalidate caches, so subsequent queries could use data * Fix a bug where browser.goBack() did not invalidate caches, so subsequent queries could use data
from the wrong response. from the wrong response.
* Support telling the browser not to follow redirects by setting Browser.follow_redirects to False. * Support telling the browser not to follow redirects by setting Browser.follow_redirects to False.
@@ -60,13 +68,13 @@ Mon Jul 22 10:57:47 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
Mon Apr 8 15:39:10 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com> Mon Apr 8 15:39:10 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
- update to version 5.3.2 - update to version 5.3.2
* Fix a bug where you couldnt set a cookie expiration date when * Fix a bug where you couldnt set a cookie expiration date when
your locale was not English. your locale was not English.
* Fix an incompatibility with BeautifulSoup4 >= 4.7 that could * Fix an incompatibility with BeautifulSoup4 >= 4.7 that could
result in a SyntaxError from browser.getControl(). result in a SyntaxError from browser.getControl().
* note: BeautifulSoup is not in requirements in setup.py and * note: BeautifulSoup is not in requirements in setup.py and
we are successfully building the package without it we are successfully building the package without it
* Fix narrative doctests that started failing on January 1st, * Fix narrative doctests that started failing on January 1st,
2019 due to a hardcoded “future” date. 2019 due to a hardcoded “future” date.
5.3.1 5.3.1
* Fix a DeprecationWarning on Python 3. * Fix a DeprecationWarning on Python 3.
@@ -74,12 +82,12 @@ Mon Apr 8 15:39:10 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
* Add support for Python 3.7. * Add support for Python 3.7.
* Drop support for Python 3.3 and 3.4. * Drop support for Python 3.3 and 3.4.
* Drop support for pystone as Python 3.7 dropped pystone. * Drop support for pystone as Python 3.7 dropped pystone.
* Fix mechRepr of CheckboxListControl to always return a * Fix mechRepr of CheckboxListControl to always return a
native str. native str.
* Add mechRepr to input fields having the type email. * Add mechRepr to input fields having the type email.
- Added patch zope.testbrowser-remove-bad-test.patch to disable - Added patch zope.testbrowser-remove-bad-test.patch to disable
failing test. failing test.
* It seems to me that Google has changed the robot policy again * It seems to me that Google has changed the robot policy again
and therefore it is not a bug in the software itself (similar and therefore it is not a bug in the software itself (similar
to upstream issue #12). to upstream issue #12).

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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -25,13 +25,16 @@
%bcond_with test %bcond_with test
%endif %endif
Name: python-zope.testbrowser%{psuffix} Name: python-zope.testbrowser%{psuffix}
Version: 6.0 Version: 7.0
Release: 0 Release: 0
Summary: Programmable browser for functional black-box tests Summary: Programmable browser for functional black-box tests
License: ZPL-2.1 License: ZPL-2.1
URL: https://github.com/zopefoundation/zope.testbrowser URL: https://github.com/zopefoundation/zope.testbrowser
Source: https://files.pythonhosted.org/packages/source/z/zope.testbrowser/zope.testbrowser-%{version}.tar.gz 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 setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-WSGIProxy2 Requires: python-WSGIProxy2
@@ -74,12 +77,12 @@ site.
%build %build
%if !%{with test} %if !%{with test}
%python_build %pyproject_wheel
%endif %endif
%install %install
%if !%{with test} %if !%{with test}
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%endif %endif
@@ -94,7 +97,10 @@ cd src
%if !%{with test} %if !%{with test}
%doc CHANGES.rst README.rst %doc CHANGES.rst README.rst
%license LICENSE.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 %endif
%changelog %changelog

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:44b77a5e9037abedc36476a2ea3dc7e974d613ce5293dd77cc02f888ee31fa1a
size 84690

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5936d2a0d77d8781d001358fd0b11461285b02dc6e3b324b84c1ed9326b1ff3f
size 85418