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