| |
@@ -10,7 +10,7 @@
|
| |
|
| |
Name: python-requests
|
| |
Version: 2.23.0
|
| |
- Release: 4%{?dist}
|
| |
+ Release: 5%{?dist}
|
| |
Summary: HTTP library, written in Python, for human beings
|
| |
|
| |
License: ASL 2.0
|
| |
@@ -70,6 +70,8 @@
|
| |
capabilities you should need, but the API is thoroughly broken. This library is
|
| |
designed to make HTTP requests easy for developers.
|
| |
|
| |
+ %{?python_extras_subpkg:%python_extras_subpkg -n python%{python3_pkgversion}-requests -i %{python3_sitelib}/*.egg-info security socks}
|
| |
+
|
| |
%prep
|
| |
%autosetup -p1 -n requests-%{version}
|
| |
|
| |
@@ -94,7 +96,8 @@
|
| |
|
| |
%if %{with tests}
|
| |
%check
|
| |
- PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m pytest -v
|
| |
+ # test_https_warnings: https://github.com/psf/requests/issues/5530
|
| |
+ %pytest -v -k "not test_https_warnings"
|
| |
%endif # tests
|
| |
|
| |
%files -n python%{python3_pkgversion}-requests
|
| |
@@ -105,6 +108,9 @@
|
| |
|
| |
|
| |
%changelog
|
| |
+ * Fri Jul 10 2020 Miro Hrončok <mhroncok@redhat.com> - 2.23.0-5
|
| |
+ - Add requests[security] and requests[socks] subpackages
|
| |
+
|
| |
* Sat May 30 2020 Miro Hrončok <mhroncok@redhat.com> - 2.23.0-4
|
| |
- Test with pytest 4, drop manual requires
|
| |
|
| |
https://fedoraproject.org/wiki/Changes/PythonExtras