Require Python 3.11 wheels when Python 3.11 is installed

The pip and setuptools wheel are already pulled in by Python, but it is better to be explicit.
The wheel wheel is not pulled in by Python, so we need to pull it explicitly.

The Python 3.11 wheels are only needed to create Python 3.11 virtual environments,
so the dependency is conditional on the python3.11 package.
epel9
Miro Hrončok 2 years ago
parent 6e2063b014
commit f69eedfe81

@ -67,6 +67,11 @@ Requires: %{python_wheel_pkg_prefix}-pip-wheel
Requires: %{python_wheel_pkg_prefix}-setuptools-wheel Requires: %{python_wheel_pkg_prefix}-setuptools-wheel
Requires: %{python_wheel_pkg_prefix}-wheel-wheel Requires: %{python_wheel_pkg_prefix}-wheel-wheel
# For Python 3.11
Requires: (python3.11-pip-wheel if python3.11)
Requires: (python3.11-setuptools-wheel if python3.11)
Requires: (python3.11-wheel-wheel if python3.11)
%description -n python3-virtualenv %description -n python3-virtualenv
virtualenv is a tool to create isolated Python environments. virtualenv virtualenv is a tool to create isolated Python environments. virtualenv
is a successor to workingenv, and an extension of virtual-python. It is is a successor to workingenv, and an extension of virtual-python. It is
@ -143,6 +148,7 @@ rm -r tmp_path
%changelog %changelog
* Mon Jan 30 2023 Miro Hrončok <mhroncok@redhat.com> - 20.17.1-2 * Mon Jan 30 2023 Miro Hrončok <mhroncok@redhat.com> - 20.17.1-2
- Use wheels from /usr/share/python3.11-wheels when creating Python 3.11 virtual environments - Use wheels from /usr/share/python3.11-wheels when creating Python 3.11 virtual environments
- Require Python 3.11 wheels when Python 3.11 is installed
* Wed Dec 07 2022 Lumír Balhar <lbalhar@redhat.com> - 20.17.1-1 * Wed Dec 07 2022 Lumír Balhar <lbalhar@redhat.com> - 20.17.1-1
- Update to 20.17.1 (rhbz#2151044) - Update to 20.17.1 (rhbz#2151044)

Loading…
Cancel
Save