Replies: 1 comment
-
Another thing to consider related to this: the use of a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I currently have
requirements.in
andrequirements.txt
files that are used in combination withpip
andpip-tools
to manage project dependencies and installed dependencies in various environments.One nice thing about using
pip-tools
'spip-compile
command is that you no longer have to ensure all dependencies of the top-level dependencies are installed and at the correct version. Instead, you only specify the top-level dependencies inrequirements.in
and then compile the more detailedrequirements.txt
.While this is arguably superior to having a single, manually-maintained
requirements.txt
file, it still feels overly complicated.I have read suggestions to use a metadata-driven approach via
setup.cfg
orpyproject.toml
and maintain the top-level dependencies there. I think this would be a positive change, as it would eliminate the need to compile the second file. Dependabot should still be compatible with projects managing dependencies viasetuptools
.References
Beta Was this translation helpful? Give feedback.
All reactions