1
0

20 Commits

Author SHA256 Message Date
f8ba0f9dbf Accepting request 1131724 from devel:languages:python
- update to 1.3.0 (bsc#1213006, CVE-2023-34457):
  * To prevent malicious web servers from reading arbitrary files
    from the  client, files must now be opened explicitly by the
    user in order to upload their contents in form submission.
    This remediates CVE-2023-34457
  * Added support for Python 3.11.
  * Allow submitting a form with no submit element. This can be
    achieved by passing ``submit=False`` to
    ``StatefulBrowser.submit_selected``. Thanks @alexreg! [#480]

- Update to version 1.2.0
    Add support for HTML form-associated elements
    which exposed more local information than users may have been expecting. [#375]

OBS-URL: https://build.opensuse.org/request/show/1131724
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-MechanicalSoup?expand=0&rev=10
2023-12-08 21:32:01 +00:00
3464170380 - update to 1.3.0 (bsc#1213006, CVE-2023-34457):
* To prevent malicious web servers from reading arbitrary files
    from the  client, files must now be opened explicitly by the
    user in order to upload their contents in form submission.
    This remediates CVE-2023-34457
  * Added support for Python 3.11.
  * Allow submitting a form with no submit element. This can be
    achieved by passing ``submit=False`` to
    ``StatefulBrowser.submit_selected``. Thanks @alexreg! [#480]
- Update to version 1.2.0
    Add support for HTML form-associated elements
    which exposed more local information than users may have been expecting. [#375]

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-MechanicalSoup?expand=0&rev=19
2023-12-07 22:26:10 +00:00
f1ca374983 Accepting request 1074963 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1074963
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-MechanicalSoup?expand=0&rev=9
2023-03-28 15:51:36 +00:00
711dd2ffc9 Accepting request 1074942 from home:pgajdos:python
- six is not required

OBS-URL: https://build.opensuse.org/request/show/1074942
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-MechanicalSoup?expand=0&rev=17
2023-03-28 10:20:10 +00:00
a04ebbad22 Accepting request 1010200 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1010200
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-MechanicalSoup?expand=0&rev=8
2022-10-12 16:26:46 +00:00
f24cfef974 Accepting request 1009955 from home:yarunachalam:branches:devel:languages:python
- Update to version 1.2.0 
  * Main changes
    Added support for Python 3.10.
    Add support for HTML form-associated elements 
    (i.e. input elements that are associated with a form by a form attribute, but are not a child element of the form.) [#380]
  * Bug fixes
    When uploading a file, only the filename is now submitted to the server. Previously, the full file path was being submitted,
    which exposed more local information than users may have been expecting. [#375]

OBS-URL: https://build.opensuse.org/request/show/1009955
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-MechanicalSoup?expand=0&rev=15
2022-10-12 10:47:59 +00:00
6f000029cb Accepting request 862170 from devel:languages:python
- Update to 1.0.0
  * Added support for Python 3.8 and 3.9.
  * ``StatefulBrowser`` has new properties ``page``, ``form``, and ``url``,
    which can be used in place of the methods ``get_current_page``,
    ``get_current_form`` and ``get_url`` respectively
  * ``StatefulBrowser.form`` will raise an ``AttributeError`` instead of
    returning ``None`` if no form has been selected yet.
  * Decompose ``<select>`` elements with the same name when adding a new
    input element to a form.
  * The ``params`` and ``data`` kwargs passed to ``submit`` will now properly
    be forwarded to the underlying request for GET methods (whereas previously
    ``params`` was being overwritten by ``data``).

OBS-URL: https://build.opensuse.org/request/show/862170
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-MechanicalSoup?expand=0&rev=7
2021-01-11 16:13:52 +00:00
8c85faa7a1 - Update to 1.0.0
* Added support for Python 3.8 and 3.9.
  * ``StatefulBrowser`` has new properties ``page``, ``form``, and ``url``,
    which can be used in place of the methods ``get_current_page``,
    ``get_current_form`` and ``get_url`` respectively
  * ``StatefulBrowser.form`` will raise an ``AttributeError`` instead of
    returning ``None`` if no form has been selected yet.
  * Decompose ``<select>`` elements with the same name when adding a new
    input element to a form.
  * The ``params`` and ``data`` kwargs passed to ``submit`` will now properly
    be forwarded to the underlying request for GET methods (whereas previously
    ``params`` was being overwritten by ``data``).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-MechanicalSoup?expand=0&rev=13
2021-01-11 05:50:13 +00:00
38e124d0f8 Accepting request 785889 from devel:languages:python
- Fix build on Leap

OBS-URL: https://build.opensuse.org/request/show/785889
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-MechanicalSoup?expand=0&rev=6
2020-03-17 12:12:16 +00:00
Tomáš Chvátal
dfd17aefb0 - Fix build on Leap
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-MechanicalSoup?expand=0&rev=11
2020-03-17 10:58:26 +00:00
b8736b63a0 Accepting request 728560 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/728560
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-MechanicalSoup?expand=0&rev=5
2019-09-07 09:52:17 +00:00
Todd R
6046665629 Accepting request 728549 from home:TheBlackCat:branches:devel:languages:python
Update to 0.12.0

OBS-URL: https://build.opensuse.org/request/show/728549
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-MechanicalSoup?expand=0&rev=9
2019-09-05 15:48:43 +00:00
9665fcd96d Accepting request 681856 from devel:languages:python
- Add patch to work with beautifulsoup4-4.7+:
  * bs4-47.patch

- Update to 0.11.0:
  * Constructing a Form instance from a bs4.element.Tag whose tag name is not form will now emit a warning, and may be deprecated in the future. [#228]
  * Breaking Change: LinkNotFoundError now derives from Exception instead of BaseException. While this will bring the behavior in line with most people's expectations, it may affect the behavior of your code if you were heavily relying on this implementation detail in your exception handling. [#203]
  * Improve handling of button submit elements. Will now correctly ignore buttons of type button and reset during form submission, since they are not considered to be submit elements. [#199]
  * Do a better job of inferring the content type of a response if the Content-Type header is not provided. [#195]
  * Improve consistency of query string construction between MechanicalSoup and web browsers in edge cases where form elements have duplicate name attributes. This prevents errors in valid use cases, and also makes MechanicalSoup more tolerant of invalid HTML. [#158]

OBS-URL: https://build.opensuse.org/request/show/681856
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-MechanicalSoup?expand=0&rev=4
2019-03-12 08:52:15 +00:00
Tomáš Chvátal
7ec0428156 - Add patch to work with beautifulsoup4-4.7+:
* bs4-47.patch

- Update to 0.11.0:
  * Constructing a Form instance from a bs4.element.Tag whose tag name is not form will now emit a warning, and may be deprecated in the future. [#228]
  * Breaking Change: LinkNotFoundError now derives from Exception instead of BaseException. While this will bring the behavior in line with most people's expectations, it may affect the behavior of your code if you were heavily relying on this implementation detail in your exception handling. [#203]
  * Improve handling of button submit elements. Will now correctly ignore buttons of type button and reset during form submission, since they are not considered to be submit elements. [#199]
  * Do a better job of inferring the content type of a response if the Content-Type header is not provided. [#195]
  * Improve consistency of query string construction between MechanicalSoup and web browsers in edge cases where form elements have duplicate name attributes. This prevents errors in valid use cases, and also makes MechanicalSoup more tolerant of invalid HTML. [#158]

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-MechanicalSoup?expand=0&rev=7
2019-03-05 16:58:09 +00:00
da38302815 Accepting request 659276 from devel:languages:python
- Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/659276
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-MechanicalSoup?expand=0&rev=3
2019-01-24 13:02:32 +00:00
795dc9bd9c Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-MechanicalSoup?expand=0&rev=5
2018-12-04 13:40:02 +00:00
ab9cf178f0 Accepting request 610488 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/610488
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-MechanicalSoup?expand=0&rev=2
2018-05-29 08:31:20 +00:00
Tomáš Chvátal
6706fa166a Accepting request 610469 from home:jengelh:branches:devel:languages:python
- Trim personal impressions from description.

OBS-URL: https://build.opensuse.org/request/show/610469
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-MechanicalSoup?expand=0&rev=3
2018-05-18 18:07:33 +00:00
0e6347ec48 Accepting request 606012 from devel:languages:python
Automating interaction with websites

OBS-URL: https://build.opensuse.org/request/show/606012
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-MechanicalSoup?expand=0&rev=1
2018-05-15 08:12:56 +00:00
Todd R
77a5660a99 Accepting request 606009 from devel:languages:python:misc
Automating interaction with websites

OBS-URL: https://build.opensuse.org/request/show/606009
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-MechanicalSoup?expand=0&rev=1
2018-05-10 03:00:32 +00:00