diff --git a/MechanicalSoup-1.3.0.tar.gz b/MechanicalSoup-1.3.0.tar.gz deleted file mode 100644 index b28e4e7..0000000 --- a/MechanicalSoup-1.3.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:38e8748f62fd9455a0818701a9e2dbfa549639d09f829f3fdd03665c825e7ce1 -size 50826 diff --git a/mechanicalsoup-1.4.0.tar.gz b/mechanicalsoup-1.4.0.tar.gz new file mode 100644 index 0000000..50f9ffd --- /dev/null +++ b/mechanicalsoup-1.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dce8a797635a748c4724471b5ebee5b1be42531a8464ed4a955e9a46cf612a4c +size 51131 diff --git a/python-MechanicalSoup.changes b/python-MechanicalSoup.changes index cb577ef..cd02cc6 100644 --- a/python-MechanicalSoup.changes +++ b/python-MechanicalSoup.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Mon Aug 11 12:52:15 UTC 2025 - John Paul Adrian Glaubitz + +- 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 + ------------------------------------------------------------------- Tue May 6 09:10:35 UTC 2025 - Markéta Machová diff --git a/python-MechanicalSoup.spec b/python-MechanicalSoup.spec index 324fe1a..ac44fba 100644 --- a/python-MechanicalSoup.spec +++ b/python-MechanicalSoup.spec @@ -16,14 +16,15 @@ # +%{?sle15_python_module_pythons} Name: python-MechanicalSoup -Version: 1.3.0 +Version: 1.4.0 Release: 0 Summary: A Python library for automating interaction with websites License: MIT 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} +Source: https://files.pythonhosted.org/packages/source/m/mechanicalsoup/mechanicalsoup-%{version}.tar.gz +BuildRequires: %{python_module beautifulsoup4 >= 4.7} BuildRequires: %{python_module httpbin} BuildRequires: %{python_module jsonschema >= 2.5.1} BuildRequires: %{python_module lxml} @@ -31,15 +32,15 @@ BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest-httpbin} BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module requests >= 2.0} +BuildRequires: %{python_module requests >= 2.22.0} BuildRequires: %{python_module requests-mock} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-beautifulsoup4 >= 4.4 +Requires: python-beautifulsoup4 >= 4.7 Requires: python-lxml -Requires: python-requests >= 2.0 +Requires: python-requests >= 2.22.0 Recommends: python-httpbin Recommends: python-jsonschema >= 2.5.1 BuildArch: noarch @@ -57,7 +58,7 @@ Python giants Requests (for http sessions) and BeautifulSoup (for document navigation). %prep -%setup -q -n MechanicalSoup-%{version} +%setup -q -n mechanicalsoup-%{version} # do not require cov/xdist/etc sed -i -e '/addopts/d' setup.cfg