Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-requests-mock for openSUSE:Factory checked in at 2024-03-13 22:16:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-requests-mock (Old) and /work/SRC/openSUSE:Factory/.python-requests-mock.new.1770 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-requests-mock" Wed Mar 13 22:16:05 2024 rev:23 rq:1157421 version:1.11.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-requests-mock/python-requests-mock.changes 2023-11-28 22:19:21.441683797 +0100 +++ /work/SRC/openSUSE:Factory/.python-requests-mock.new.1770/python-requests-mock.changes 2024-03-13 22:16:10.706974003 +0100 @@ -1,0 +2,6 @@ +Wed Mar 13 06:30:28 UTC 2024 - Steve Kowalik <steven.kowa...@suse.com> + +- Drop unneeded Requires, and also no longer restrict urllib3. +- Switch to pyproject macros. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-requests-mock.spec ++++++ --- /var/tmp/diff_new_pack.94xdnS/_old 2024-03-13 22:16:11.278995047 +0100 +++ /var/tmp/diff_new_pack.94xdnS/_new 2024-03-13 22:16:11.278995047 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-requests-mock # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,11 +26,13 @@ Source: https://files.pythonhosted.org/packages/source/r/requests-mock/requests-mock-%{version}.tar.gz BuildRequires: %{python_module fixtures} BuildRequires: %{python_module pbr} +BuildRequires: %{python_module pip} BuildRequires: %{python_module purl} BuildRequires: %{python_module pytest} BuildRequires: %{python_module requests >= 2.3} BuildRequires: %{python_module requests-futures} BuildRequires: %{python_module six} +BuildRequires: %{python_module wheel} BuildRequires: python-rpm-macros %if 0%{suse_version} >= 1550 || (0%{?suse_version} == 1500 && 0%{?sle_version} >= 154000) BuildRequires: %{python_module dbm} @@ -40,9 +42,7 @@ BuildRequires: fdupes Requires: python-requests >= 2.3 Requires: python-six -Requires: python-urllib3 < 2 BuildArch: noarch -Requires: python-dbm %python_subpackages %description @@ -53,10 +53,10 @@ %autosetup -p1 -n requests-mock-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -65,5 +65,6 @@ %files %{python_files} %license LICENSE %doc AUTHORS README.rst ChangeLog -%{python_sitelib}/requests_mock* +%{python_sitelib}/requests_mock +%{python_sitelib}/requests_mock-%{version}.dist-info