diskimage-builder/releasenotes/notes/ensure-venv-d7c16a2a04fd3b8f.yaml
Ian Wienand 82cfcfe551 Add ensure-venv element, install glean with it
All the platforms we care about now have python3 with venv (even
centos7 now) packaged somehow.  Add an ensure-venv element to make
sure that "python3 -m venv" works.  Any other elements that wish to
install non-distribution-packaged Python utilities can use this to
keep them separate from the main system installs.

Port glean to use this, and drop its dependency on pip-and-virtualenv.

Change-Id: Ic16f134fe34293bb68e7c632dd320f523366320d
2020-03-10 11:57:43 +11:00

13 lines
516 B
YAML

---
features:
- |
The `ensure-venv` module is added to ensure that `python3 -m venv`
is available on the host. This can be useful if you wish to
install non-distribution-packaged Python software on a host during
build, but not mix any non-distro installation. This works on all
platforms with Python 3 available.
depreceations:
- |
The `simple-init` element now uses `ensure-venv` so is technically
Python 3 only. At this stage, all supported platforms have Python
3 available.