Pin Your Packages

1 · Vincent Driessen · Sept. 26, 2012, midnight
In building your Python application and its dependencies for production, you want to make sure that your builds are predictable and deterministic. Therefore, always pin your dependencies. Update: A newer blog post about the future of pip-tools is available too: Better Package Management. Pin Explicitly ¶ Don’t ever use these styles in requirements.txt: lxml lxml>=2.2.0 lxml>=2.2.0,<2.3.0 Instead, pin them: lxml==2.3.4 If you don’t, you can never know what you’ll get when you run pip install....