From 8e0bc62aae217c0194f066d576183952a3cecf49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 14 Jun 2021 18:19:00 +0200 Subject: [PATCH] Don't BuildRequire python3-hypothesis and exclude affected tests from %check Resolves: rhbz#1928125 --- python-pyrsistent.spec | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/python-pyrsistent.spec b/python-pyrsistent.spec index 131cb8d..cf86f8a 100644 --- a/python-pyrsistent.spec +++ b/python-pyrsistent.spec @@ -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 - 0.17.3-7 +- Don't BuildRequire python3-hypothesis and exclude affected tests from %%check +- Resolves: rhbz#1928125 + * Fri Apr 16 2021 Mohan Boddu - 0.17.3-6 - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937