Disable tests on RHEL9 to avoid pulling in the test dependencies

This commit is contained in:
Charalampos Stratakis 2021-03-08 19:03:43 +01:00
parent 029f46c2b2
commit 488327aa0f

View File

@ -1,16 +1,11 @@
%if 0%{?_module_build} # Disable tests on RHEL9 as to not pull in the test dependencies
# Don't run tests on module-build for now # Specify --with tests to run the tests e.g. on EPEL
# See: https://bugzilla.redhat.com/show_bug.cgi?id=1450608
%bcond_with tests %bcond_with tests
%else
# When bootstrapping Python, we cannot test this yet
%bcond_without tests
%endif
Name: python-requests Name: python-requests
Version: 2.25.1 Version: 2.25.1
Release: 1%{?dist} Release: 2%{?dist}
Summary: HTTP library, written in Python, for human beings Summary: HTTP library, written in Python, for human beings
License: ASL 2.0 License: ASL 2.0
@ -105,6 +100,9 @@ sed -i 's/ --doctest-modules//' pytest.ini
%changelog %changelog
* Mon Mar 08 2021 Charalampos Stratakis <cstratak@redhat.com> - 2.25.1-2
- Disable tests on RHEL9 to avoid pulling in the test dependencies
* Tue Feb 02 2021 Kevin Fenzi <kevin@scrye.com> - 2.25.1-1 * Tue Feb 02 2021 Kevin Fenzi <kevin@scrye.com> - 2.25.1-1
- Update 2.25.1. Fix is rhbz#1908487 - Update 2.25.1. Fix is rhbz#1908487