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

Not possible to use multiple python versions for virtualenvs #685

Closed
wmellema opened this issue Feb 8, 2024 · 0 comments · Fixed by #686
Closed

Not possible to use multiple python versions for virtualenvs #685

wmellema opened this issue Feb 8, 2024 · 0 comments · Fixed by #686

Comments

@wmellema
Copy link
Contributor

wmellema commented Feb 8, 2024

Currently, there seems to be no way to configure a custom python version installed by something like pyenv.
Using pyenv, you can install multiple python versions side-by-side without overwriting the system python, yet maintain application specific python versions.

The linked PR will solve this by utilizing a variable in python::pyvenv called python_path. If set, it will override the python version used to create that specific virtual environment.

wmellema pushed a commit to wmellema/puppet-python that referenced this issue Feb 8, 2024
Issue voxpupuli#685

- Add: `python_path` variable to `python::pyvenv`
bastelfreak added a commit that referenced this issue Feb 8, 2024
* Add python_path to pyvenv class
Issue #685

- Add: `python_path` variable to `python::pyvenv`

* Fixed whitespace issue

* Update manifests/pyvenv.pp

Co-authored-by: Tim Meusel <tim@bastelfreak.de>

* Updated reference.md

---------

Co-authored-by: Wouter Mellema <w.mellema@iwink.nl>
Co-authored-by: Tim Meusel <tim@bastelfreak.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants