| |
@@ -10,7 +10,7 @@
|
| |
|
| |
Name: python-requests
|
| |
Version: 2.22.0
|
| |
- Release: 5%{?dist}
|
| |
+ Release: 6%{?dist}
|
| |
Summary: HTTP library, written in Python, for human beings
|
| |
|
| |
License: ASL 2.0
|
| |
@@ -55,11 +55,6 @@
|
| |
BuildRequires: python2-chardet
|
| |
BuildRequires: python2-urllib3
|
| |
BuildRequires: python2-idna
|
| |
- %if %{with tests}
|
| |
- BuildRequires: python2-pytest
|
| |
- BuildRequires: python2-pytest-cov
|
| |
- BuildRequires: python2-pytest-mock
|
| |
- %endif
|
| |
|
| |
|
| |
Requires: ca-certificates
|
| |
@@ -125,7 +120,6 @@
|
| |
|
| |
%if %{with tests}
|
| |
%check
|
| |
- PYTHONPATH=%{buildroot}%{python2_sitelib} %{__python2} -m pytest -v
|
| |
PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m pytest -v
|
| |
%endif # tests
|
| |
|
| |
@@ -144,6 +138,9 @@
|
| |
|
| |
|
| |
%changelog
|
| |
+ * Wed Sep 18 2019 Petr Viktorin <pviktori@redhat.com> - 2.22.0-6
|
| |
+ - Python 2: Remove tests and test dependencies
|
| |
+
|
| |
* Mon Aug 19 2019 Miro HronĨok <mhroncok@redhat.com> - 2.22.0-5
|
| |
- Rebuilt for Python 3.8
|
| |
|
| |
Requests is part of a large chain of (Build)Requires that I'd like to break up, so we can remove them more gradually rather than all at once in November.
The chances of someone requesting a Python 2 exception for Requests look very low. Even if it's requested, I doubt it would cover the (transitive) test dependencies.