|
|
|
|
|
by marcosdumay
4406 days ago
|
|
You should avoid using normal requirements.txt files in production. If you want to use pip, it's better to "pip freeze" your test environment, and use that requirements file to specify the production environment. Otherwise you are just asking for nasty surprises when packages upgrade. |
|
If you want to keep up to date with security and bug fixes (but aren't yet ready for the next big feature/backwards incompatible release), you can specify the lines as 'package>=1.1,<1.2' to get 1.1.x fix releases.
`pip list --outdated` is helpful, too.