12
0

Compare commits

4 Commits

Author SHA256 Message Date
21bb672b1f Accepting request 1298936 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1298936
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-MechanicalSoup?expand=0&rev=12
2025-08-12 15:04:45 +00:00
52dfa0a462 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
2025-08-11 21:26:54 +00:00
a33fe45bb8 Accepting request 1274906 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1274906
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-MechanicalSoup?expand=0&rev=11
2025-05-06 14:44:06 +00:00
b79145dd07 Accepting request 1274842 from home:mcalabkova:branches:devel:languages:python
- Convert to pip-based build

OBS-URL: https://build.opensuse.org/request/show/1274842
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-MechanicalSoup?expand=0&rev=21
2025-05-06 11:47:02 +00:00
4 changed files with 35 additions and 15 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,20 @@
-------------------------------------------------------------------
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>
- Convert to pip-based build
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Dec 7 22:24:59 UTC 2023 - Dirk Müller <dmueller@suse.com> Thu Dec 7 22:24:59 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-MechanicalSoup # spec file for package python-MechanicalSoup
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,28 +16,31 @@
# #
%{?sle15_python_module_pythons}
Name: python-MechanicalSoup Name: python-MechanicalSoup
Version: 1.3.0 Version: 1.4.0
Release: 0 Release: 0
Summary: A Python library for automating interaction with websites Summary: A Python library for automating interaction with websites
License: MIT License: MIT
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 Source: https://files.pythonhosted.org/packages/source/m/mechanicalsoup/mechanicalsoup-%{version}.tar.gz
BuildRequires: %{python_module beautifulsoup4 >= 4.4} BuildRequires: %{python_module beautifulsoup4 >= 4.7}
BuildRequires: %{python_module httpbin} BuildRequires: %{python_module httpbin}
BuildRequires: %{python_module jsonschema >= 2.5.1} BuildRequires: %{python_module jsonschema >= 2.5.1}
BuildRequires: %{python_module lxml} BuildRequires: %{python_module lxml}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest-httpbin} BuildRequires: %{python_module pytest-httpbin}
BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module pytest-mock}
BuildRequires: %{python_module pytest} 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 requests-mock}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-beautifulsoup4 >= 4.4 Requires: python-beautifulsoup4 >= 4.7
Requires: python-lxml Requires: python-lxml
Requires: python-requests >= 2.0 Requires: python-requests >= 2.22.0
Recommends: python-httpbin Recommends: python-httpbin
Recommends: python-jsonschema >= 2.5.1 Recommends: python-jsonschema >= 2.5.1
BuildArch: noarch BuildArch: noarch
@@ -55,15 +58,15 @@ Python giants Requests (for http sessions) and BeautifulSoup (for
document navigation). document navigation).
%prep %prep
%setup -q -n MechanicalSoup-%{version} %setup -q -n mechanicalsoup-%{version}
# do not require cov/xdist/etc # do not require cov/xdist/etc
sed -i -e '/addopts/d' setup.cfg sed -i -e '/addopts/d' setup.cfg
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
@@ -73,7 +76,7 @@ sed -i -e '/addopts/d' setup.cfg
%files %{python_files} %files %{python_files}
%doc README.rst %doc README.rst
%license LICENSE %license LICENSE
%{python_sitelib}/MechanicalSoup* %{python_sitelib}/mechanicalsoup
%{python_sitelib}/mechanicalsoup* %{python_sitelib}/[Mm]echanical[Ss]oup-%{version}*info
%changelog %changelog