Relax the upper bounds of distlib, filelock and platformdirs

epel9
Miro Hrončok 2 years ago
parent a5d7c433d2
commit f4b4809242

@ -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}

Loading…
Cancel
Save