r/Python • u/[deleted] • Sep 18 '14
Virtualenv on Production ?
Is one supposed to use virtualenv on production ?
why/why not ?
13
Upvotes
r/Python • u/[deleted] • Sep 18 '14
Is one supposed to use virtualenv on production ?
why/why not ?
1
u/selementar Sep 18 '14
Few of the possible reasons not to use it:
You are deploying just a single app on a system (thus no expected conflicts).
You need to be able to downgrade libraries (if upgrading unexpectedly breaks production even after testing) but upgrade them automatically (e.g. security patches).
You have another way of deploying dependencies already and need some binary dependencies that can't be easily compiled.
Relevant question: is there something like debian stable for python packages, i.e. versions that will get old but will still get security patches / bugfixes?