]> code.ossystems Code Review - openembedded-core.git/commit
python3: Fix python3-pyvenv run-time dependency
authorHugues Kamba <Hugues.Kamba@arm.com>
Tue, 30 Oct 2018 09:37:25 +0000 (09:37 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 6 Nov 2018 12:14:05 +0000 (12:14 +0000)
commiteffa141bfce55aab25142ee578c95383c755ad73
treed5edc2e8a7dd2646a2c12bc86d2c7f7103724f16
parente188a75aa882efc98b8390f43f18279c3707314a
python3: Fix python3-pyvenv run-time dependency

Pyvenv is just a small script that uses venv to create virtual
environments.
https://www.python.org/dev/peps/pep-0405/#creating-virtual-environments

This patch adds the python3-venv module as a self-contained package which
python3-pyvenv must depend on at run-time.

The patch also provides the package python3-pyvenv from the pyhton3-venv
package.This is good for future-proofing since python3-pyvenv has been
deprecated and only python3-venv is now available in Python 3.6.
https://docs.python.org/3/library/venv.html.

Without this patch python3-pyvenv is broken because it is missing the
venv module at run-time. This patch specifies the newly created
python3-venv as a run-time dependency of python3-pyvenv.

Signed-off-by: Hugues Kamba <hugues.kamba@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python3/python3-manifest.json
meta/recipes-devtools/python/python3_3.5.6.bb