voxpupuli / puppet-python

Puppet module for installing and managing Python, pip, virtualenvs and Gunicorn virtual hosts.
https://forge.puppetlabs.com/puppet/python
Apache License 2.0
199 stars 370 forks source link

Not possible to use multiple python versions for virtualenvs #685

Closed wmellema closed 4 months ago

wmellema commented 4 months ago

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.