15
0

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
This commit is contained in:
2025-08-11 21:26:54 +00:00
committed by Git OBS Bridge
parent b79145dd07
commit 52dfa0a462
4 changed files with 23 additions and 10 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:38e8748f62fd9455a0818701a9e2dbfa549639d09f829f3fdd03665c825e7ce1
size 50826

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dce8a797635a748c4724471b5ebee5b1be42531a8464ed4a955e9a46cf612a4c
size 51131

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Aug 11 12:52:15 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- 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á <mmachova@suse.com>

View File

@@ -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