forked from pool/python-zope.testbrowser
		
	- 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:
		| @@ -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 | ||||
|  | ||||
| @@ -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> | ||||
|  | ||||
| - update to 5.6.1  | ||||
| - update to 5.6.1 | ||||
|   * Ensure all objects have consistent resolution orders. | ||||
|  | ||||
| - 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 | ||||
|   * 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:  | ||||
|     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  | ||||
|   * 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 | ||||
|     on a single-valued control. | ||||
|   * 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. | ||||
|   * 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> | ||||
|  | ||||
| - update to version 5.3.2 | ||||
|   * Fix a bug where you couldn’t set a cookie expiration date when  | ||||
|   * Fix a bug where you couldn’t set a cookie expiration date when | ||||
|     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(). | ||||
|     * note: BeautifulSoup is not in requirements in setup.py and | ||||
|       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. | ||||
|   5.3.1 | ||||
|   * 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. | ||||
|   * Drop support for Python 3.3 and 3.4. | ||||
|   * 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. | ||||
|   * 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. | ||||
|   * 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 | ||||
|     to upstream issue #12). | ||||
|  | ||||
|   | ||||
| @@ -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 | ||||
|   | ||||
| @@ -1,3 +0,0 @@ | ||||
| version https://git-lfs.github.com/spec/v1 | ||||
| oid sha256:44b77a5e9037abedc36476a2ea3dc7e974d613ce5293dd77cc02f888ee31fa1a | ||||
| size 84690 | ||||
							
								
								
									
										3
									
								
								zope.testbrowser-7.0.tar.gz
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								zope.testbrowser-7.0.tar.gz
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| version https://git-lfs.github.com/spec/v1 | ||||
| oid sha256:5936d2a0d77d8781d001358fd0b11461285b02dc6e3b324b84c1ed9326b1ff3f | ||||
| size 85418 | ||||
		Reference in New Issue
	
	Block a user