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 2021-02-11 12:46:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-requests (Old) and /work/SRC/openSUSE:Factory/.python-requests.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-requests" Thu Feb 11 12:46:29 2021 rev:68 rq:869036 version:2.25.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes 2020-12-23 14:18:42.353561252 +0100 +++ /work/SRC/openSUSE:Factory/.python-requests.new.28504/python-requests.changes 2021-02-11 12:47:38.377510911 +0100 @@ -1,0 +2,6 @@ +Wed Feb 3 14:04:52 UTC 2021 - Ben Greiner <c...@bnavigator.de> + +- Don't pin idna<3 in the egg-info so that depending packages + can install the new idna dropping python2 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-requests.spec ++++++ --- /var/tmp/diff_new_pack.UI7mQ7/_old 2021-02-11 12:47:38.949511744 +0100 +++ /var/tmp/diff_new_pack.UI7mQ7/_new 2021-02-11 12:47:38.953511750 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-requests # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -104,6 +104,11 @@ %install %if !%{with test} %python_install +%{python_expand # don't pin to idna<3 for python3, because many package installers check this and fail with newer idna +if [ ! 0%{$python_version_nodots} -lt 30 ]; then + sed -i -E 's/idna<3,?/idna/' %{buildroot}%{$python_sitelib}/requests-%{version}*-info/requires.txt +fi +} # check that urllib3 is not installed test ! -e %{buildroot}%{python3_sitelib}/requests/packages/urllib3 %python_expand %fdupes %{buildroot}%{$python_sitelib}