From bd4f93f6d1ffbc6c0363635cd58afd7c51120319 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Thu, 13 Jan 2022 09:43:52 -0500 Subject: [PATCH] Skip doctest that fails on Python 3.11a3 (close RHBZ#2040164) PMap order changes in Python 3.11a3, causing a doctest failure https://github.com/tobgu/pyrsistent/issues/238 --- python-pyrsistent.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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}