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
200 stars 374 forks source link

Not possible to use multiple python versions for virtualenvs #685

Closed wmellema closed 9 months ago

wmellema commented 9 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.