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
- Created by scarabeus_iv
- In state accepted
- Supersedes 776316
Request History
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 accepted review
Check script succeeded
staging-bot added as a reviewer
Being evaluated by staging project "openSUSE:Leap:15.2:Staging:adi:34"
staging-bot accepted review
Picked "openSUSE:Leap:15.2:Staging:adi:34"
licensedigger accepted review
ok
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 accepted review
origin: openSUSE:Factory
origin_old: openSUSE:Leap:15.1:Update
maxlin_factory added factory-staging as a reviewer
Being evaluated by group "factory-staging"
maxlin_factory accepted review
Unstaged from project "openSUSE:Leap:15.2:Staging:adi:34"
maxlin_factory added as a reviewer
Being evaluated by staging project "openSUSE:Leap:15.2:Staging:adi:103"
maxlin_factory accepted review
Picked "openSUSE:Leap:15.2:Staging:adi:103"
mlin7442 accepted review
maxlin_factory accepted review
Staging Project openSUSE:Leap:15.2:Staging:adi:103 got accepted.
maxlin_factory approved review
Staging Project openSUSE:Leap:15.2:Staging:adi:103 got accepted.
maxlin_factory accepted request
Staging Project openSUSE:Leap:15.2:Staging:adi:103 got accepted.
Previous comment no longer relevant.