diskimage-builder/diskimage_builder/elements/pip-and-virtualenv/package-installs.yaml
Ian Wienand f2e0b01336 pip-and-virtualenv: include python3-venv for Debuntu
This package is not installed by default on Debuntu, but is on RH
platforms.  This is causing a build breakage as DIB_PYTHON_VIRTUALENV
tries to use this (I3414fb9e503f94ff744b560eff9ec0f4afdbb50e).

Add the package.

Change-Id: I9a551c57dd128bbb4b095c847f634c777b2cb553
2019-10-25 16:26:33 +11:00

37 lines
1013 B
YAML

# The python-xml and python3 openSUSE packages contain core python modules
# such as the XML one but the python devel packages do not pull them. As
# such we need to install them during the pre-install.d phase so they are
# available as early as possible. See
# - https://bugzilla.suse.com/show_bug.cgi?id=1046990
# - https://review.opendev.org/#/c/478648/
# - https://review.opendev.org/#/c/478650/
# for discussions about this issue.
python-xml:
phase: pre-install.d
dib_python_version: 2
python3:
phase: pre-install.d
installtype: package
dib_python_version: 3
python-pip:
installtype: package
dib_python_version: 2
python3-pip:
installtype: package
dib_python_version: 3
python-virtualenv:
installtype: package
dib_python_version: 2
python3-virtualenv:
installtype: package
dib_python_version: 3
python-dev:
installtype: source
dib_python_version: 2
python3-dev:
installtype: source
dib_python_version: 3
# Separate package on debubuntu
python3-venv:
dib_python_version: 3