Oryx
Oryx copied to clipboard
Flag to install Python requirements to user scope
Feature Request
Is it possible to force Oryx to install Python requirements to the user scope instead of a new virtual environment? PythonBashBuildSnippet.sh.tpl gives me the impression that a blank virtual environment name (e.g., -p virtualenv_name="") should work, but instead I see an error: the following arguments are required: ENV_DIR
Relevant Links
- https://github.com/microsoft/Oryx/blob/main/doc/runtimes/python.md#build
Adding @qianz2, as per our parallel email thread
@jungaretti As per email tread discussion, we want to make this property default to be an empty string instead of defaults to 'pythonenv<Python version>'. We'll start working on this update soon. https://github.com/microsoft/Oryx/blob/f78e2755e254d2d5fb4434611c1b58eacfe2e09a/src/BuildScriptGenerator/Python/PythonPlatform.cs#L23-L25
We're closing this issue due to its age. If this is still impacting you please open a new issue and simply link back to this one.