4 ms·
Not sure why repeatable deployments would be a problem. You can pin all dependencies by issuing a pip freeze > requirements.txt if you want. The only catc
by selcuka 4y ago
Not sure why repeatable deployments would be a problem. You can pin all dependencies by issuing a
pip freeze > requirements.txt
if you want. The only catch is you should be using a similar architecture and Python version in both development and production.
This would also pin a few non-project dependencies such as `disttools` but that shouldn't be a problem.
Edit: TIL that pip constraints is a thing. See the comment posted by oblvious-earth for an even better approach.