3 ms·
> It doesn't though. The default format for requirements doesn't specify which requirements are top-level and which are not. Updating dependencies on a project
by quacker 4y ago
> It doesn't though. The default format for requirements doesn't specify which requirements are top-level and which are not. Updating dependencies on a project that doesn't have this distinction is complete pain. It also doesn't work when "production" might mean different environments with different Python versions.
This is why (imo) you should include immediate dependencies in setup.py install_requires, and use requirements.txt for the "lock file" that contains all dependencies.