From f4b48092429962ae67065103d1c03350b3b8c9a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Fri, 25 Nov 2022 13:11:46 +0100 Subject: [PATCH] Relax the upper bounds of distlib, filelock and platformdirs --- python-virtualenv.spec | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/python-virtualenv.spec b/python-virtualenv.spec index d5e6523..657933d 100644 --- a/python-virtualenv.spec +++ b/python-virtualenv.spec @@ -108,6 +108,13 @@ test ! -f src/virtualenv/seed/embed/wheels/*.whl # On Fedora, this should change nothing, but when building for RHEL9+, it will sed -i "s|/usr/share/python-wheels|%{python_wheel_dir}|" src/virtualenv/util/path/_system_wheels.py +# Relax the upper bounds of some dependencies to their known available versions in EL 9 +# We run tests and CI to verify nothing broke +sed -i -e 's/distlib>=0.3.6/distlib>=0.3.2/' \ + -e 's/filelock>=3.4.1/filelock>=3.3.1/' \ + -e 's/platformdirs>=2.4/platformdirs>=2.3/' \ + setup.cfg + %build # Build code %{py3_build}