Skip tests using mercurial on Fedora 39 and higher
This commit is contained in:
parent
2ae0721edd
commit
3bf5e2c4d7
@ -17,7 +17,9 @@ BuildRequires: pyproject-rpm-macros
|
||||
%if %{with tests}
|
||||
BuildRequires: git-core
|
||||
# Don't pull mercurial into RHEL just to test this work with it
|
||||
%if %{undefined rhel}
|
||||
# Mercurial uses imp module which was removed in Python 3.12,
|
||||
# we skip the tests until it is fixed in mercurial
|
||||
%if 0%{?fedora} && 0%{?fedora} < 39
|
||||
BuildRequires: mercurial
|
||||
%endif
|
||||
# Manually listed test dependencies from tox.ini, to avoid pulling tox into RHEL
|
||||
|
Loading…
Reference in New Issue
Block a user