Enable all tests in %check, now when we can BuildRequire pytest once again

This commit is contained in:
Miro Hrončok 2021-08-27 20:46:45 +02:00
parent 8aeca5531b
commit 55f92cbb2d

View File

@ -1,6 +1,6 @@
Name: pytest
Version: 6.2.4
Release: 6%{?dist}
Release: 7%{?dist}
Summary: Simple powerful testing with Python
License: MIT
URL: https://pytest.org
@ -35,13 +35,13 @@ Patch4: 9040.patch
# Only disabling the optional tests is a more complex but careful approach
# Pytest will skip the related tests, so we only conditionalize the BRs
# This bcond is ignored when tests are disabled
%bcond_with optional_tests
%bcond_without optional_tests
# To run the tests in %%check we use pytest-timeout
# When building pytest for the first time with new Python version
# that is not possible as it depends on pytest
# The bcond is ignored when tests are disabled
%bcond_with timeout
%bcond_without timeout
# When building pytest for the first time with new Python version
# we also don't have sphinx yet and cannot build docs.
@ -179,6 +179,9 @@ export INPUTRC=$PWD/.inputrc
%{python3_sitelib}/pytest/
%changelog
* Fri Aug 27 2021 Miro Hrončok <mhroncok@redhat.com> - 6.2.4-7
- Enable all tests during package build
* Fri Aug 27 2021 Miro Hrončok <mhroncok@redhat.com> - 6.2.4-6
- Allow pluggy >=1.0