From d2d43008ea32e8f6a481c335471bc5b1ef99ea89 Mon Sep 17 00:00:00 2001 From: Nils Philippsen Date: Wed, 9 Nov 2022 09:51:37 +0100 Subject: [PATCH] Test without pytest-xdist on Fedora 38 For some reason, when running tests in parallel using pytest-xdist, worker processes are very prone to crash, causing test failures. Signed-off-by: Nils Philippsen --- python-sqlalchemy.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/python-sqlalchemy.spec b/python-sqlalchemy.spec index 49ecb8f..39341bc 100644 --- a/python-sqlalchemy.spec +++ b/python-sqlalchemy.spec @@ -1,5 +1,11 @@ # when bootstrapping Python, pytest-xdist is not yet available + +%if 0%{?fedora} != 38 %bcond_without xdist +%else +# on Fedora 38, tests crash when being run by xdist right now +%bcond_with xdist +%endif %global srcname SQLAlchemy