Don't BuildRequire python3-hypothesis and exclude affected tests from %check
Resolves: rhbz#1928125
This commit is contained in:
parent
50b0dadd27
commit
8e0bc62aae
|
@ -12,7 +12,7 @@ original structure is left untouched.}
|
|||
Name: python-%{srcname}
|
||||
Summary: Persistent/Functional/Immutable data structures
|
||||
Version: 0.17.3
|
||||
Release: 6%{?dist}
|
||||
Release: 7%{?dist}
|
||||
|
||||
# The entire source is MIT, except pyrsistent/_toolz.py which is BSD.
|
||||
License: MIT and BSD
|
||||
|
@ -28,9 +28,10 @@ BuildRequires: make
|
|||
|
||||
# ============================================================================
|
||||
# From requirements.txt:
|
||||
|
||||
# ----------------------------------------------------------------------------
|
||||
# We do not want these, since we don't want hypothesis in RHEL.
|
||||
# ----------------------------------------------------------------------------
|
||||
# hypothesis
|
||||
BuildRequires: python3dist(hypothesis)
|
||||
|
||||
# ----------------------------------------------------------------------------
|
||||
# We do not need these, since we are not running the memorytest* environment
|
||||
|
@ -109,7 +110,7 @@ rm -f docs/build/html/.buildinfo
|
|||
|
||||
|
||||
%check
|
||||
%pytest
|
||||
%pytest --ignore tests/hypothesis_vector_test.py
|
||||
# See tox.ini:
|
||||
env PYTHONHASHSEED=0 %pytest --doctest-modules %{srcname}
|
||||
|
||||
|
@ -132,6 +133,10 @@ env PYTHONHASHSEED=0 %pytest --doctest-modules %{srcname}
|
|||
|
||||
|
||||
%changelog
|
||||
* Mon Jun 14 2021 Miro Hrončok <mhroncok@redhat.com> - 0.17.3-7
|
||||
- Don't BuildRequire python3-hypothesis and exclude affected tests from %%check
|
||||
- Resolves: rhbz#1928125
|
||||
|
||||
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.17.3-6
|
||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||
|
||||
|
|
Loading…
Reference in New Issue