Merge "pip-and-virtualenv: include python3-venv for Debuntu"

This commit is contained in:
Zuul 2019-10-28 00:01:51 +00:00 committed by Gerrit Code Review
commit 392ebeec68
3 changed files with 14 additions and 1 deletions

View File

@ -31,3 +31,6 @@ python-dev:
python3-dev: python3-dev:
installtype: source installtype: source
dib_python_version: 3 dib_python_version: 3
# Separate package on debubuntu
python3-venv:
dib_python_version: 3

View File

@ -7,6 +7,9 @@
} }
}, },
"family": { "family": {
"debian": {
"python3-venv": "python3-venv"
},
"gentoo": { "gentoo": {
"python-pip": "dev-python/pip", "python-pip": "dev-python/pip",
"python3-pip": "dev-python/pip", "python3-pip": "dev-python/pip",
@ -28,6 +31,7 @@
}, },
"default": { "default": {
"python-xml": "", "python-xml": "",
"python3": "" "python3": "",
"python3-venv": ""
} }
} }

View File

@ -0,0 +1,6 @@
---
fixes:
- |
The ``pip-and-virtualenv`` element also installs ``python3-venv``
on Python-3 Debian-like distributions to ensure
``$DIB_PYTHON_VIRTUALENV`` works as expected.