Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFE: Add ability to specify python version for venv during ade install #215

Open
adworjan opened this issue Jun 21, 2024 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@adworjan
Copy link

Add the ability to specify the exact version of python to be installed within a venv rather than using the system default. This reduces the need to either manually create a venv if a specific version is needed or eliminates the need to set update-alternatives for python.

This would be best as a flag to add into ade install

@ssbarnea ssbarnea added the enhancement New feature or request label Dec 23, 2024
@ssbarnea
Copy link
Member

In fact we are using the same python interpreter used to install ade, but I do agree that this would be a good addition.

A contribution would be welcomed here, it should implement:

-p, --python <PYTHON>

This should follow uv venv implementation:

  • a fully qualified path to a python executable
  • an executable (first found in PATH to be used)
  • a value such 3.10 and in this case python{} will be searched in PATH

This means that when uv is present we just need to pass through the argument, but when python own venv is present, we need to implement the logic above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants