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

Setting Pip Version for Virtual Environments #559

Closed GusPriceAtlassian closed 3 years ago

GusPriceAtlassian commented 3 years ago

This is not so much a bug as a feature request. My goal is to set the pip version to a specific version in virtual environments, instead of always creating virtualenvs with "--upgrade pip". I created the following PR to address this:

https://github.com/voxpupuli/puppet-python/pull/558

I'm not sure that this is necessarily the optimal way to get this kind of input, but by adding this variable, when I declare virtualenvs I can now pass a pip version in the format "pip==9.0.3".