Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-requests for openSUSE:Factory
checked in at 2024-10-25 19:18:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
and /work/SRC/openSUSE:Factory/.python-requests.new.2020 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-requests"
Fri Oct 25 19:18:46 2024 rev:85 rq:1217932 version:2.32.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes
2024-10-18 15:52:58.508522023 +0200
+++
/work/SRC/openSUSE:Factory/.python-requests.new.2020/python-requests.changes
2024-10-25 19:19:03.665170590 +0200
@@ -1,0 +2,5 @@
+Thu Oct 24 07:48:08 UTC 2024 - Steve Kowalik <[email protected]>
+
+- Switch to pyproject macros.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-requests.spec ++++++
--- /var/tmp/diff_new_pack.YfK7QZ/_old 2024-10-25 19:19:04.437202801 +0200
+++ /var/tmp/diff_new_pack.YfK7QZ/_new 2024-10-25 19:19:04.445203135 +0200
@@ -35,7 +35,9 @@
# PATCH-FIX-UPSTREAM gh#psf/requests#6731
Patch0: inject-default-ca-bundles.patch
BuildRequires: %{python_module base >= 3.7}
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: ca-certificates
@@ -95,11 +97,11 @@
sed -i "s#\(httpbin.*\), 'never'#\1#" tests/test_requests.py
%build
-%python_build
+%pyproject_wheel
%install
%if !%{with test}
-%python_install
+%pyproject_install
# check that urllib3 is not installed
test ! -e %{buildroot}%{python3_sitelib}/requests/packages/urllib3
%python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -120,6 +122,6 @@
%license LICENSE
%doc HISTORY.md README.md
%{python_sitelib}/requests
-%{python_sitelib}/requests-%{version}*.egg-info
+%{python_sitelib}/requests-%{version}.dist-info
%endif