commit python-MechanicalSoup for openSUSE:Factory
Hello community, here is the log from the commit of package python-MechanicalSoup for openSUSE:Factory checked in at 2020-03-17 13:12:16 Comparing /work/SRC/openSUSE:Factory/python-MechanicalSoup (Old) and /work/SRC/openSUSE:Factory/.python-MechanicalSoup.new.3160 (New) Package is "python-MechanicalSoup" Tue Mar 17 13:12:16 2020 rev:6 rq:785889 version:0.12.0 Changes: --- /work/SRC/openSUSE:Factory/python-MechanicalSoup/python-MechanicalSoup.changes 2019-09-07 11:52:19.594283511 +0200 +++ /work/SRC/openSUSE:Factory/.python-MechanicalSoup.new.3160/python-MechanicalSoup.changes 2020-03-17 13:12:18.673898752 +0100 @@ -1,0 +2,5 @@ +Tue Mar 17 10:58:15 UTC 2020 - Tomáš Chvátal + +- Fix build on Leap + +--- Other differences: -- ++ python-MechanicalSoup.spec ++ --- /var/tmp/diff_new_pack.b5HQtn/_old 2020-03-17 13:12:20.013899781 +0100 +++ /var/tmp/diff_new_pack.b5HQtn/_new 2020-03-17 13:12:20.013899781 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-MechanicalSoup # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,7 +22,6 @@ Release:0 Summary:A Python library for automating interaction with websites License:MIT -Group: Development/Languages/Python URL:https://github.com/hickford/MechanicalSoup Source: https://files.pythonhosted.org/packages/source/M/MechanicalSoup/MechanicalSoup-%{version}.tar.gz BuildRequires: %{python_module beautifulsoup4 >= 4.4} @@ -71,7 +70,8 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v +# https://github.com/MechanicalSoup/MechanicalSoup/issues/299 test_enctype_and_file_submit +%pytest -k 'not test_enctype_and_file_submit' %files %{python_files} %doc README.rst
commit python-MechanicalSoup for openSUSE:Factory
Hello community, here is the log from the commit of package python-MechanicalSoup for openSUSE:Factory checked in at 2019-09-07 11:52:17 Comparing /work/SRC/openSUSE:Factory/python-MechanicalSoup (Old) and /work/SRC/openSUSE:Factory/.python-MechanicalSoup.new.7948 (New) Package is "python-MechanicalSoup" Sat Sep 7 11:52:17 2019 rev:5 rq:728560 version:0.12.0 Changes: --- /work/SRC/openSUSE:Factory/python-MechanicalSoup/python-MechanicalSoup.changes 2019-03-12 09:52:21.279550740 +0100 +++ /work/SRC/openSUSE:Factory/.python-MechanicalSoup.new.7948/python-MechanicalSoup.changes 2019-09-07 11:52:19.594283511 +0200 @@ -1,0 +2,27 @@ +Thu Sep 5 15:01:16 UTC 2019 - Todd R + +- 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 + +--- Old: MechanicalSoup-0.11.0.tar.gz bs4-47.patch New: MechanicalSoup-0.12.0.tar.gz Other differences: -- ++ python-MechanicalSoup.spec ++ --- /var/tmp/diff_new_pack.uXfQEQ/_old 2019-09-07 11:52:20.266283416 +0200 +++ /var/tmp/diff_new_pack.uXfQEQ/_new 2019-09-07 11:52:20.270283416 +0200 @@ -18,15 +18,16 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-MechanicalSoup -Version:0.11.0 +Version:0.12.0 Release:0 Summary:A Python library for automating interaction with websites License:MIT Group: Development/Languages/Python URL:https://github.com/hickford/MechanicalSoup Source: https://files.pythonhosted.org/packages/source/M/MechanicalSoup/MechanicalSoup-%{version}.tar.gz -Patch0: bs4-47.patch BuildRequires: %{python_module beautifulsoup4 >= 4.4} +BuildRequires: %{python_module httpbin} +BuildRequires: %{python_module jsonschema >= 2.5.1} BuildRequires: %{python_module lxml} BuildRequires: %{python_module pytest-httpbin} BuildRequires: %{python_module pytest-mock} @@ -41,6 +42,8 @@ Requires: python-lxml Requires: python-requests >= 2.0 Requires: python-six >= 1.4 +Recommends: python-httpbin +Recommends: python-jsonschema >= 2.5.1 BuildArch: noarch %python_subpackages @@ -57,7 +60,6 @@ %prep %setup -q -n MechanicalSoup-%{version} -%patch0 -p1 # do not require cov/xdist/etc sed -i -e '/addopts/d' setup.cfg ++ MechanicalSoup-0.11.0.tar.gz -> MechanicalSoup-0.12.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MechanicalSoup-0.11.0/MechanicalSoup.egg-info/PKG-INFO new/MechanicalSoup-0.12.0/MechanicalSoup.egg-info/PKG-INFO --- old/MechanicalSoup-0.11.0/MechanicalSoup.egg-info/PKG-INFO 2018-09-12 00:56:35.0 +0200 +++ new/MechanicalSoup-0.12.0/MechanicalSoup.egg-info/PKG-INFO 2019-08-27 18:44:28.0 +0200 @@ -1,14 +1,13 @@ Metadata-Version: 1.1 Name: MechanicalSoup -Version: 0.11.0 +Version: 0.12.0 Summary: A Python library for automating interaction with websites Home-page: https://mechanicalsoup.readthedocs.io/ Author: UNKNOWN Author-email: UNKNOWN License: MIT -Description: .. image:: /assets/mechanical-soup-logo.png - :alt: MechanicalSoup. A Python library for automating website -interaction. +Description: .. image::
commit python-MechanicalSoup for openSUSE:Factory
Hello community, here is the log from the commit of package python-MechanicalSoup for openSUSE:Factory checked in at 2019-03-12 09:52:15 Comparing /work/SRC/openSUSE:Factory/python-MechanicalSoup (Old) and /work/SRC/openSUSE:Factory/.python-MechanicalSoup.new.28833 (New) Package is "python-MechanicalSoup" Tue Mar 12 09:52:15 2019 rev:4 rq:681856 version:0.11.0 Changes: --- /work/SRC/openSUSE:Factory/python-MechanicalSoup/python-MechanicalSoup.changes 2019-01-24 14:02:33.576110082 +0100 +++ /work/SRC/openSUSE:Factory/.python-MechanicalSoup.new.28833/python-MechanicalSoup.changes 2019-03-12 09:52:21.279550740 +0100 @@ -1,0 +2,16 @@ +Tue Mar 5 16:57:10 UTC 2019 - Tomáš Chvátal + +- Add patch to work with beautifulsoup4-4.7+: + * bs4-47.patch + +--- +Tue Mar 5 16:49:39 UTC 2019 - Tomáš Chvátal + +- 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] + +--- Old: MechanicalSoup-0.10.0.tar.gz New: MechanicalSoup-0.11.0.tar.gz bs4-47.patch Other differences: -- ++ python-MechanicalSoup.spec ++ --- /var/tmp/diff_new_pack.cqerR0/_old 2019-03-12 09:52:22.70445 +0100 +++ /var/tmp/diff_new_pack.cqerR0/_new 2019-03-12 09:52:22.759550444 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-MechanicalSoup # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,33 +17,31 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -# Tests require network connection -%bcond_with test Name: python-MechanicalSoup -Version:0.10.0 +Version:0.11.0 Release:0 Summary:A Python library for automating interaction with websites License:MIT Group: Development/Languages/Python -Url:https://github.com/hickford/MechanicalSoup +URL:https://github.com/hickford/MechanicalSoup Source: https://files.pythonhosted.org/packages/source/M/MechanicalSoup/MechanicalSoup-%{version}.tar.gz -BuildRequires: %{python_module pytest-runner} -BuildRequires: %{python_module setuptools} -BuildRequires: fdupes -BuildRequires: python-rpm-macros -%if %{with test} -BuildRequires: %{python_module beautifulsoup4} -BuildRequires: %{python_module pytest-cov} +Patch0: bs4-47.patch +BuildRequires: %{python_module beautifulsoup4 >= 4.4} +BuildRequires: %{python_module lxml} +BuildRequires: %{python_module pytest-httpbin} +BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module pytest} BuildRequires: %{python_module requests >= 2.0} BuildRequires: %{python_module requests-mock} +BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six >= 1.4} -%endif -Requires: python-beautifulsoup4 +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-beautifulsoup4 >= 4.4 +Requires: python-lxml Requires: python-requests >= 2.0 Requires: python-six >= 1.4 BuildArch: noarch - %python_subpackages %description @@ -59,6 +57,9 @@ %prep %setup -q -n MechanicalSoup-%{version} +%patch0 -p1 +# do not require cov/xdist/etc +sed -i -e '/addopts/d' setup.cfg %build %python_build @@ -67,13 +68,10 @@ %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%if %{with test} %check -%python_exec setup.py test -%endif +%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib}
commit python-MechanicalSoup for openSUSE:Factory
Hello community, here is the log from the commit of package python-MechanicalSoup for openSUSE:Factory checked in at 2019-01-24 14:02:32 Comparing /work/SRC/openSUSE:Factory/python-MechanicalSoup (Old) and /work/SRC/openSUSE:Factory/.python-MechanicalSoup.new.28833 (New) Package is "python-MechanicalSoup" Thu Jan 24 14:02:32 2019 rev:3 rq:659276 version:0.10.0 Changes: --- /work/SRC/openSUSE:Factory/python-MechanicalSoup/python-MechanicalSoup.changes 2018-05-29 10:31:35.938000690 +0200 +++ /work/SRC/openSUSE:Factory/.python-MechanicalSoup.new.28833/python-MechanicalSoup.changes 2019-01-24 14:02:33.576110082 +0100 @@ -1,0 +2,5 @@ +Tue Dec 4 12:50:19 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + +--- Other differences: -- ++ python-MechanicalSoup.spec ++ --- /var/tmp/diff_new_pack.HUPvck/_old 2019-01-24 14:02:34.020109575 +0100 +++ /var/tmp/diff_new_pack.HUPvck/_new 2019-01-24 14:02:34.020109575 +0100 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -27,7 +27,6 @@ Group: Development/Languages/Python Url:https://github.com/hickford/MechanicalSoup Source: https://files.pythonhosted.org/packages/source/M/MechanicalSoup/MechanicalSoup-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module pytest-runner} BuildRequires: %{python_module setuptools} BuildRequires: fdupes
commit python-MechanicalSoup for openSUSE:Factory
Hello community, here is the log from the commit of package python-MechanicalSoup for openSUSE:Factory checked in at 2018-05-29 10:31:20 Comparing /work/SRC/openSUSE:Factory/python-MechanicalSoup (Old) and /work/SRC/openSUSE:Factory/.python-MechanicalSoup.new (New) Package is "python-MechanicalSoup" Tue May 29 10:31:20 2018 rev:2 rq:610488 version:0.10.0 Changes: --- /work/SRC/openSUSE:Factory/python-MechanicalSoup/python-MechanicalSoup.changes 2018-05-15 10:32:48.661490462 +0200 +++ /work/SRC/openSUSE:Factory/.python-MechanicalSoup.new/python-MechanicalSoup.changes 2018-05-29 10:31:35.938000690 +0200 @@ -1,0 +2,5 @@ +Fri May 18 17:33:40 UTC 2018 - jeng...@inai.de + +- Trim personal impressions from description. + +--- Other differences: -- ++ python-MechanicalSoup.spec ++ --- /var/tmp/diff_new_pack.305MDT/_old 2018-05-29 10:31:37.537941593 +0200 +++ /var/tmp/diff_new_pack.305MDT/_new 2018-05-29 10:31:37.537941593 +0200 @@ -53,11 +53,10 @@ follows redirects, and can follow links and submit forms. It doesn't do Javascript. -I was a fond user of the Mechanize library, but unfortunately -it's incompatible with Python 3 and development is inactive. -MechanicalSoup provides a similar API, built on Python giants -Requests (for http sessions) and BeautifulSoup (for document -navigation). +The Mechanize library is incompatible with Python 3 and development +is inactive. MechanicalSoup provides a similar API to it, built on +Python giants Requests (for http sessions) and BeautifulSoup (for +document navigation). %prep %setup -q -n MechanicalSoup-%{version}