12
0

Compare commits

32 Commits

Author SHA256 Message Date
ed2dbb2598 Accepting request 1266269 from devel:languages:python
Make it compatible with new setuptools

OBS-URL: https://build.opensuse.org/request/show/1266269
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.testbrowser?expand=0&rev=18
2025-04-10 19:59:46 +00:00
8802c74311 Accepting request 1193900 from devel:languages:python
- switch to modern python for sle15

OBS-URL: https://build.opensuse.org/request/show/1193900
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.testbrowser?expand=0&rev=17
2024-08-16 10:23:09 +00:00
1b85d293d0 - switch to modern python for sle15
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testbrowser?expand=0&rev=29
2024-08-14 14:55:35 +00:00
0913c30954 Accepting request 1179663 from devel:languages:python
- 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/request/show/1179663
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.testbrowser?expand=0&rev=16
2024-06-10 15:38:11 +00:00
1998752f34 - 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
2024-06-10 09:16:11 +00:00
91fdc60a97 Accepting request 1077171 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1077171
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.testbrowser?expand=0&rev=15
2023-04-04 19:26:40 +00:00
d44c06fbe3 Accepting request 1076867 from home:pgajdos:python
- version update to 6.0
  - Drop support for Python 2.7, 3.5, 3.6.
  - Drop support for deprecated ``python setup.py test``.
  - Add support for Python 3.11.
  - Do not break in ``mechRepr`` when using ``<input type="date">``.
- deleted patches
  - zope.testbrowser-remove-bad-test.patch (upstreamed)

OBS-URL: https://build.opensuse.org/request/show/1076867
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testbrowser?expand=0&rev=25
2023-04-04 09:39:43 +00:00
442bc45166 Accepting request 1004589 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1004589
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.testbrowser?expand=0&rev=14
2022-09-19 14:03:31 +00:00
03b447c968 Accepting request 1004191 from home:yarunachalam:branches:devel:languages:python
- update to 5.6.1 
  * Ensure all objects have consistent resolution orders.
- update to 5.6.0
  * Add support for Python 3.9 and 3.10.

OBS-URL: https://build.opensuse.org/request/show/1004191
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testbrowser?expand=0&rev=23
2022-09-19 07:37:37 +00:00
d86b222b98 Accepting request 925088 from devel:languages:python
- Make tests verbose
- %check: use %pyunittest rpm macro

OBS-URL: https://build.opensuse.org/request/show/925088
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.testbrowser?expand=0&rev=13
2021-10-13 16:06:28 +00:00
a7ca67a034 - Make tests verbose
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testbrowser?expand=0&rev=22
2021-10-13 12:10:22 +00:00
0e5d39f4e1 Accepting request 925065 from home:pgajdos:python
- %check: use %pyunittest rpm macro

OBS-URL: https://build.opensuse.org/request/show/925065
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testbrowser?expand=0&rev=21
2021-10-13 12:07:13 +00:00
08b3b74d6a Accepting request 766054 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/766054
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.testbrowser?expand=0&rev=12
2020-01-21 20:02:37 +00:00
Tomáš Chvátal
6174729ed7 Accepting request 766041 from home:mcalabkova:branches:devel:languages:python
- 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 
    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 
    from the wrong response.
  * Support telling the browser not to follow redirects by setting Browser.follow_redirects to False.

OBS-URL: https://build.opensuse.org/request/show/766041
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testbrowser?expand=0&rev=19
2020-01-21 11:37:44 +00:00
219accaed7 Accepting request 745975 from devel:languages:python
- Update to 5.4.0:
  * Fix a bug where browser.reload() would not follow redirects or raise exceptions for bad HTTP statuses. See issue 75.
  * Add Python 3.8 support. See issue 80.

OBS-URL: https://build.opensuse.org/request/show/745975
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.testbrowser?expand=0&rev=11
2019-11-07 22:17:12 +00:00
Tomáš Chvátal
18d58dda0c - Update to 5.4.0:
* Fix a bug where browser.reload() would not follow redirects or raise exceptions for bad HTTP statuses. See issue 75.
  * Add Python 3.8 support. See issue 80.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testbrowser?expand=0&rev=17
2019-11-06 12:06:54 +00:00
df931a3951 Accepting request 717543 from devel:languages:python
- Update to 5.3.3:
  * Fix a bug where clicking the selected radio button would unselect it. See issue 68.
  * Fix another incompatibility with BeautifulSoup4 >= 4.7 that could result in a SyntaxError from browser.getLink(). See issue 61.

OBS-URL: https://build.opensuse.org/request/show/717543
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.testbrowser?expand=0&rev=10
2019-07-22 15:19:00 +00:00
Tomáš Chvátal
d9b000b309 - Update to 5.3.3:
* Fix a bug where clicking the selected radio button would unselect it. See issue 68.
  * Fix another incompatibility with BeautifulSoup4 >= 4.7 that could result in a SyntaxError from browser.getLink(). See issue 61.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testbrowser?expand=0&rev=15
2019-07-22 11:16:50 +00:00
c5430db011 Accepting request 692484 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/692484
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.testbrowser?expand=0&rev=9
2019-04-23 12:35:11 +00:00
Tomáš Chvátal
9f2c0a1044 Accepting request 692343 from home:mcalabkova:branches:devel:languages:python
- update to version 5.3.2
  * 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 
    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, 
    2019 due to a hardcoded “future” date.
  5.3.1
  * Fix a DeprecationWarning on Python 3.
  5.3.0
  * 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 
    native str.
  * Add mechRepr to input fields having the type email.
- Added patch zope.testbrowser-remove-bad-test.patch to disable 
  failing test.
  * 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).

OBS-URL: https://build.opensuse.org/request/show/692343
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testbrowser?expand=0&rev=13
2019-04-09 06:18:58 +00:00
8e7f1499cf Accepting request 654092 from devel:languages:python
Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/654092
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.testbrowser?expand=0&rev=8
2018-12-13 18:46:36 +00:00
baf3edf347 Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testbrowser?expand=0&rev=11
2018-12-04 14:16:56 +00:00
702d1081bc Accepting request 627761 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/627761
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.testbrowser?expand=0&rev=7
2018-08-07 07:44:41 +00:00
Todd R
8e723cd5c6 Accepting request 627760 from home:TheBlackCat:branches:devel:languages:python
- Update to 5.2.4
  * Fix form submit with GET method if the form action contains a query string
    (https://github.com/zopefoundation/zope.testbrowser/pull/42).
  * Restore ignoring hidden elements when searching by label
    (https://github.com/zopefoundation/zope.testbrowser/pull/41).
- Update to 5.2.3
  * Fix ``mechRepr`` on controls to always return a native str
    (https://github.com/zopefoundation/zope.testbrowser/issues/38).
- Update to 5.2.2
  * Restore raising of AttributeError when trying to set value of a
    read only control.
  * Fix selecting radio and select control options by index
    (https://github.com/zopefoundation/zope.testbrowser/issues/31).
- Update to 5.2.1
  * Exclude version 2.0.27 of `WebTest` from allowed versions as it breaks some
    tests.
  * Adapt tests to version 2.0.28 of `WebTest` but keeping compatibility to older
    versions.
- Update to 5.2
  * Fixed ``toStr`` to handle lists, for example a list of class names.
    [maurits]
  * Fixed browser to only follow redirects for HTTP statuses
    301, 302, 303, and 307; not other 30x statuses such as 304.
  * Fix passing a real file to ``add_file``.
  * Add ``controls`` property to Form class to list all form controls.
  * Restore the ability to use parts of the actually displayed select box titles.
  * Allow to set a string value instead of a list on ``Browser.displayValue``.
  * Fix setting empty values on a select control.
  * Support Python 3.6, PyPy2.7 an PyPy3.3.
- Update to 5.1
  * Alias ``.browser.urllib_request.HTTPError`` to ``.browser.HTTPError`` to have
    a better API.
- Update to 5.0.0
  * Converted most doctests to Sphinx documentation, and published to
    https://zopetestbrowser.readthedocs.io/ .
  * Internal implementation now uses WebTest instead of ``mechanize``.
    The ``mechanize`` dependency is completely dropped.
    **This is a backwards-incompatible change.**
  * Remove APIs:
    > ``zope.testbrowser.testing.Browser`` (this is a big one).
  * Remove modules:
    > ``zope.testbrowser.connection``
  * Remove internal classes you were not supposed to use anyway:
    > ``zope.testbrowser.testing.PublisherResponse``
    > ``zope.testbrowser.testing.PublisherConnection``
    > ``zope.testbrowser.testing.PublisherHTTPHandler``
    > ``zope.testbrowser.testing.PublisherMechanizeBrowser``
    > ``zope.testbrowser.wsgi.WSGIConnection``
    > ``zope.testbrowser.wsgi.WSGIHTTPHandler``
    > ``zope.testbrowser.wsgi.WSGIMechanizeBrowser``
  * Remove internal attributes you were not supposed to use anyway (this
    list is not necessarily complete):
    > ``Browser._mech_browser``
  * Remove setuptools extras:
    > ``zope.testbrowser[zope-functional-testing]``
  * Changed behavior:
    > The testbrowser no longer follows HTML redirects aka
      ``<meta http-equiv="refresh" ... />``. This was a `mechanize` feature which
      does not seem to be provided by `WebTest`.
  * Add support for Python 3.3, 3.4 and 3.5.
  * Drop support for Python 2.5 and 2.6.
  * Drop the ``WebTest <= 1.3.4`` pin.  We require ``WebTest >= 2.0.8`` now.
  * Remove dependency on deprecated ``zope.app.testing``.
  * Bugfix: ``browser.getLink()`` could fail if your HTML contained ``<a>``
    elements with no href attribute
   (https://github.com/zopefoundation/zope.testbrowser/pull/3).
- Implement single-spec version

OBS-URL: https://build.opensuse.org/request/show/627760
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testbrowser?expand=0&rev=9
2018-08-06 21:02:48 +00:00
f0e2a72a06 Accepting request 307907 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/307907
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.testbrowser?expand=0&rev=6
2015-05-19 21:47:37 +00:00
Michal Čihař
2b88ec233d Accepting request 307357 from home:benoit_monin:branches:devel:languages:python
- update to version 4.0.4
- switch the source archive to zip (tar.gz not available)
- add unzip to BuildRequires
- add fdupes as BuildRequires and call it after install
- set a minimum version for python-mechanize
- update the test requirements (still commented, the tests fail)
- add the runtime requirements as build requirements to ensure their availability
- update the documentation files

OBS-URL: https://build.opensuse.org/request/show/307357
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testbrowser?expand=0&rev=7
2015-05-19 07:18:23 +00:00
Tomáš Chvátal
bd3574b940 Accepting request 204695 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/204695
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.testbrowser?expand=0&rev=4
2013-10-30 14:51:23 +00:00
Sascha Peilicke
9538f9f160 - Require python-setuptools instead of distribute (upstreams merged)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testbrowser?expand=0&rev=5
2013-10-24 11:18:00 +00:00
Stephan Kulow
2f39aa34fd Accepting request 161951 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/161951
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.testbrowser?expand=0&rev=2
2013-04-02 18:42:50 +00:00
Sascha Peilicke
876efcd2ff - More on testing
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testbrowser?expand=0&rev=3
2013-03-25 08:57:57 +00:00
Stephan Kulow
f4cfd3033e Accepting request 159560 from devel:languages:python
Useful zope package

OBS-URL: https://build.opensuse.org/request/show/159560
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.testbrowser?expand=0&rev=1
2013-03-22 20:11:50 +00:00
Sascha Peilicke
83559c6c56 - Initial version
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testbrowser?expand=0&rev=1
2013-03-15 14:24:13 +00:00

Diff Content Not Available