Dear All,
As it currently is, python3-pyvenv is broken because it is missing the venv module run-time dependency. The patch I am submitting is to add the venv module dependency to python3-pyvenv. The dependency has been added using the newly added venv package (python3-venv). The python3-venv package has been added for future proofing since pyvenv has been deprecated in Python 3.6 and creation of virtual environment is done using the venv module directly (i.e python3 -m venv my_venv). Regards, Hugues Kamba IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
From b1e61636a2324e6e4b0bfc6e9a8c0fd78fdba40a Mon Sep 17 00:00:00 2001 From: Hugues Kamba <hugues.ka...@arm.com> Date: Mon, 22 Oct 2018 11:40:59 +0100 Subject: [PATCH] Create python3-venv package for virtual environments creation * Add the venv module as a self-contained package since pyvenv as been deprecated in Python 3.6. * Fix the python3-pyvenv package by adding venv as a run-time dependency. --- .../python/python3/python3-manifest.json | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/meta/recipes-devtools/python/python3/python3-manifest.json b/meta/recipes-devtools/python/python3/python3-manifest.json index f922561..5cf6412 100644 --- a/meta/recipes-devtools/python/python3/python3-manifest.json +++ b/meta/recipes-devtools/python/python3/python3-manifest.json @@ -915,6 +915,17 @@ "${libdir}/python${PYTHON_MAJMIN}/__pycache__/pydoc.*.pyc" ] }, + "pyvenv": { + "summary": "Allow you to create virtual environments so we can isolate our project dependencies. Deprecated in Python 3.6", + "rdepends": [ + "core", + "venv" + ], + "files": [ + "${bindir}/pyvenv*" + ], + "cached": [] + }, "resource": { "summary": "Python resource control interface", "rdepends": [ @@ -1107,6 +1118,21 @@ "${libdir}/python${PYTHON_MAJMIN}/__pycache__/getpass.*.pyc" ] }, + "venv": { + "summary": "Provides support for creating lightweight virtual environments with their own site directories, optionally isolated from system site directories", + "rdepends": [ + "compression", + "core", + "logging", + "shell", + "stringold", + "unixadmin" + ], + "files": [ + "${libdir}/python${PYTHON_MAJMIN}/venv" + ], + "cached": [] + }, "xml": { "summary": "Python basic XML support", "rdepends": [ -- 2.7.4
-- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core