Merge "Only install devel packages during python_venv_build"
This commit is contained in:
commit
5cdf4bb9f8
|
@ -70,6 +70,7 @@
|
|||
vars:
|
||||
venv_python_executable: "{{ magnum_venv_python_executable }}"
|
||||
venv_build_constraints: "{{ magnum_git_constraints }}"
|
||||
venv_build_distro_package_list: "{{ magnum_devel_distro_packages }}"
|
||||
venv_install_destination_path: "{{ magnum_bin | dirname }}"
|
||||
venv_install_distro_package_list: "{{ magnum_distro_packages }}"
|
||||
venv_pip_install_args: "{{ magnum_pip_install_args }}"
|
||||
|
|
|
@ -16,9 +16,11 @@
|
|||
## APT Cache options
|
||||
cache_timeout: 600
|
||||
|
||||
# Common apt packages
|
||||
magnum_distro_packages:
|
||||
- python-dev
|
||||
magnum_distro_packages: []
|
||||
|
||||
# Packages for buildind the python wheels
|
||||
magnum_devel_distro_packages:
|
||||
- python3-dev
|
||||
- libssl-dev
|
||||
- libxml2-dev
|
||||
- libxslt-dev
|
||||
|
|
|
@ -13,9 +13,12 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# Common apt packages
|
||||
magnum_distro_packages:
|
||||
- "{{ ansible_distribution_major_version is version('8', '<') | ternary('python-devel', 'python36-devel') }}"
|
||||
# Common packages
|
||||
magnum_distro_packages: []
|
||||
|
||||
# Packages for building the python wheels
|
||||
magnum_devel_distro_packages:
|
||||
- python36-devel
|
||||
- openssl-devel
|
||||
- libxml2-devel
|
||||
- libxslt-devel
|
||||
|
|
|
@ -14,8 +14,10 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# Common zypper packages
|
||||
magnum_distro_packages:
|
||||
magnum_distro_packages: []
|
||||
|
||||
# Packages for buildind the python wheels
|
||||
magnum_devel_distro_packages:
|
||||
- python-devel
|
||||
- libopenssl-devel
|
||||
- libxml2-devel
|
||||
|
|
Loading…
Reference in New Issue