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}
# Don't run tests on module-build for now
# See: https://bugzilla.redhat.com/show_bug.cgi?id=1450608
# Disable tests on RHEL9 as to not pull in the test dependencies
# Specify --with tests to run the tests e.g. on EPEL
%bcond_with tests
%else
# When bootstrapping Python, we cannot test this yet
%bcond_without tests
%endif
Name: python-requests
Version: 2.25.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: HTTP library, written in Python, for human beings
License: ASL 2.0
@ -105,6 +100,9 @@ sed -i 's/ --doctest-modules//' pytest.ini
%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
- Update 2.25.1. Fix is rhbz#1908487