From 8cb4b2b9929829ac1d9a91654532fb471f6b5f27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 8 Apr 2026 15:03:14 +0200 Subject: [PATCH] Adjust %check for an EPEL-only virtualenv change Reference: https://src.fedoraproject.org/rpms/python-virtualenv/c/b0c100d5e8ba11d427bae44d02de7ee4264ea342?branch=epel10 [skip changelog] --- python-tox.spec | 2 -- 1 file changed, 2 deletions(-) diff --git a/python-tox.spec b/python-tox.spec index 022afbc..2238c5a 100644 --- a/python-tox.spec +++ b/python-tox.spec @@ -126,9 +126,7 @@ export SETUPTOOLS_SCM_PRETEND_VERSION="%{version}" %check # Upstream requires virtualenv >= 20.31 for tests, and no longer sets VIRTUALENV_WHEEL. # To support environments with older virtualenv, we set it manually: -%if v"%(%{python3} -c 'import importlib.metadata as im; print(im.version("virtualenv"))' 2>/dev/null || echo 0)" < v"20.31" export VIRTUALENV_WHEEL=bundle -%endif # Skipped tests use internal virtualenv functionality to # download wheels which does not work with "bundled" version of wheel in