Accepting request 869036 from devel:languages:python
baserev update by copy to link target OBS-URL: https://build.opensuse.org/request/show/869036 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=151
This commit is contained in:
parent
9bd743bea9
commit
0b85023e40
@ -106,11 +106,6 @@ sed -i "s#\(httpbin.*\), 'never'#\1#" tests/test_requests.py
|
||||
%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}
|
||||
|
Loading…
Reference in New Issue
Block a user