From 66dbb1eb619917d7abb17bf6bf1b412fe9f4abc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 29 Jun 2023 19:07:27 +0200 Subject: [PATCH] Revert "Skip tests using mercurial on Fedora 39 and higher" This reverts commit 3bf5e2c4d70ba7e0276ee841d6771ff0b37b6c41. --- python-setuptools_scm.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/python-setuptools_scm.spec b/python-setuptools_scm.spec index 20ba31c..5bc9ddb 100644 --- a/python-setuptools_scm.spec +++ b/python-setuptools_scm.spec @@ -18,9 +18,7 @@ BuildRequires: pyproject-rpm-macros %if %{with tests} BuildRequires: git-core # Don't pull mercurial into RHEL just to test this work with it -# 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 +%if %{undefined rhel} BuildRequires: mercurial %endif # Manually listed test dependencies from tox.ini, to avoid pulling tox into RHEL