14
0

12 Commits

Author SHA256 Message Date
52dfa0a462 Accepting request 1298838 from home:glaubitz:branches:devel:languages:python
- Update to 1.4.0
  * Added support for Python 3.12 and 3.13.
  * Removed support for end of life python versions 3.6, 3.7, and 3.8.
  * Minimum versions of dependencies ``urllib3`` and ``certifi`` have
    been specified to mitigate security vulnerabilities.
- Adjust upstream source name in spec file
- Update BuildRequires and Requires from requirements.txt
- Use Python 3.11 on SLE-15 by default

OBS-URL: https://build.opensuse.org/request/show/1298838
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-MechanicalSoup?expand=0&rev=23
2025-08-11 21:26:54 +00:00
b79145dd07 Accepting request 1274842 from home:mcalabkova:branches:devel:languages:python
- Convert to pip-based build

OBS-URL: https://build.opensuse.org/request/show/1274842
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-MechanicalSoup?expand=0&rev=21
2025-05-06 11:47:02 +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
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
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
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
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
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
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
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
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
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