I use pip-compile
from pip-tools
to create a requirements.txt
which has all dependencies (including all transitive ones) which fulfill all requirements and are consistent. This is nice for applications which I run via CI/CD.
For libraries, I think it makes sense to create a requirements.txt
which has all of the oldest dependencies. This is what I would like to run the test against, because there it is most likely that I depend on a later version and I might not be aware of it.
Does pip-compile support this?