Overview

Request 785890 accepted

- Fix build on Leap

- Update to 0.12.0:
+ Main changes:
* Changes in official python version support: added 3.7 and dropped 3.4.
* Added ability to submit a form without updating ``StatefulBrowser`` internal
state: ``submit_selected(..., update_state=False)``. This means you get a
response from the form submission, but your browser stays on the same page.
Useful for handling forms that result in a file download or open a new tab.
+ Bug fixes
* Improve handling of form enctype to behave like a real browser.
* HTML ``type`` attributes are no longer required to be lowercase.
* Form controls with the ``disabled`` attribute will no longer be submitted
to improve compliance with the HTML standard. If you were relying on this
bug to submit disabled elements, you can still achieve this by deleting the
``disabled`` attribute from the element in the :class:`~mechanicalsoup.Form`
object directly.
* When a form containing a file input field is submitted without choosing a
file, an empty filename & content will be sent just like in a real browser.
* ```` tags without a ``value`` attribute will now use their text as
the value.
* The optional ``url_regex`` argument to ``follow_link`` and ``download_link``
was fixed so that it is no longer ignored.
* Allow duplicate submit elements instead of raising a LinkNotFoundError.
- Drop upstream-included bs4-47.patch


Origin Manager's avatar

Previous comment no longer relevant.

Request History
Tomáš Chvátal's avatar

scarabeus_iv created request

- Fix build on Leap

- Update to 0.12.0:
+ Main changes:
* Changes in official python version support: added 3.7 and dropped 3.4.
* Added ability to submit a form without updating ``StatefulBrowser`` internal
state: ``submit_selected(..., update_state=False)``. This means you get a
response from the form submission, but your browser stays on the same page.
Useful for handling forms that result in a file download or open a new tab.
+ Bug fixes
* Improve handling of form enctype to behave like a real browser.
* HTML ``type`` attributes are no longer required to be lowercase.
* Form controls with the ``disabled`` attribute will no longer be submitted
to improve compliance with the HTML standard. If you were relying on this
bug to submit disabled elements, you can still achieve this by deleting the
``disabled`` attribute from the element in the :class:`~mechanicalsoup.Form`
object directly.
* When a form containing a file input field is submitted without choosing a
file, an empty filename & content will be sent just like in a real browser.
* ```` tags without a ``value`` attribute will now use their text as
the value.
* The optional ``url_regex`` argument to ``follow_link`` and ``download_link``
was fixed so that it is no longer ignored.
* Allow duplicate submit elements instead of raising a LinkNotFoundError.
- Drop upstream-included bs4-47.patch


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Staging Bot's avatar

staging-bot added as a reviewer

Being evaluated by staging project "openSUSE:Leap:15.2:Staging:adi:34"


Staging Bot's avatar

staging-bot accepted review

Picked "openSUSE:Leap:15.2:Staging:adi:34"


Saul Goodman's avatar

licensedigger accepted review

ok


Origin Manager's avatar

origin-manager added origin-reviewers as a reviewer

Changing to a lower priority origin.

origin: openSUSE:Factory
origin_old: openSUSE:Leap:15.1:Update
pending: request#785889


Origin Manager's avatar

origin-manager accepted review

origin: openSUSE:Factory
origin_old: openSUSE:Leap:15.1:Update


Yuchen Lin's avatar

maxlin_factory added factory-staging as a reviewer

Being evaluated by group "factory-staging"


Yuchen Lin's avatar

maxlin_factory accepted review

Unstaged from project "openSUSE:Leap:15.2:Staging:adi:34"


Yuchen Lin's avatar

maxlin_factory added as a reviewer

Being evaluated by staging project "openSUSE:Leap:15.2:Staging:adi:103"


Yuchen Lin's avatar

maxlin_factory accepted review

Picked "openSUSE:Leap:15.2:Staging:adi:103"


Max Lin's avatar

mlin7442 accepted review


Yuchen Lin's avatar

maxlin_factory accepted review

Staging Project openSUSE:Leap:15.2:Staging:adi:103 got accepted.


Yuchen Lin's avatar

maxlin_factory approved review

Staging Project openSUSE:Leap:15.2:Staging:adi:103 got accepted.


Yuchen Lin's avatar

maxlin_factory accepted request

Staging Project openSUSE:Leap:15.2:Staging:adi:103 got accepted.

openSUSE Build Service is sponsored by