Merge "Ensure distro packages are present for utility wheel build"
This commit is contained in:
commit
8ba44b0f3a
@ -31,6 +31,17 @@ utility_distro_packages:
|
||||
- git
|
||||
- bash-completion
|
||||
|
||||
_utility_devel_distro_packages_debian:
|
||||
- gcc
|
||||
- python3-dev
|
||||
|
||||
_utility_devel_distro_packages_redhat:
|
||||
- gcc
|
||||
- "{{ ansible_distribution_major_version is version('8', '<') | ternary('python-devel', 'python36-devel') }}"
|
||||
|
||||
# Distribution packages needed for the utility pip package wheel build
|
||||
utility_devel_distro_packages: "{{ (ansible_os_family == 'RedHat') | ternary(_utility_devel_distro_packages_redhat, _utility_devel_distro_packages_debian) }}"
|
||||
|
||||
# Packages installed into the utility container for distro installs
|
||||
# NOTE(jrosser) this can be simplified when all supported
|
||||
# distros use python3
|
||||
|
@ -131,6 +131,7 @@
|
||||
vars:
|
||||
venv_python_executable: "{{ utility_venv_python_executable | default(openstack_venv_python_executable) }}"
|
||||
venv_install_destination_path: "{{ utility_venv_bin | dirname }}"
|
||||
venv_build_distro_package_list: "{{ utility_devel_distro_packages }}"
|
||||
venv_pip_install_args: "{{ pip_install_options | default('') }}"
|
||||
venv_build_constraints:
|
||||
- "--constraint {{ utility_upper_constraints_url }}"
|
||||
|
Loading…
Reference in New Issue
Block a user