diff --git a/python-pyrsistent.spec b/python-pyrsistent.spec index db561db..16423af 100644 --- a/python-pyrsistent.spec +++ b/python-pyrsistent.spec @@ -135,8 +135,12 @@ PYTHONPATH="${PWD}" %make_build -C docs latex SPHINXOPTS='-n %{?_smp_mflags}' %check %pytest +# PMap order changes in Python 3.11a3, causing a doctest failure +# https://github.com/tobgu/pyrsistent/issues/238 +# https://bugzilla.redhat.com/show_bug.cgi?id=2040164 # See tox.ini: -env PYTHONHASHSEED=0 %pytest --doctest-modules pyrsistent +env PYTHONHASHSEED=0 %pytest --doctest-modules pyrsistent \ + -k 'not pyrsistent._pmap.PMap.update' %files -n python3-pyrsistent -f %{pyproject_files}