3 ms·
Can you elaborate on this? How is npm/cargo/etc better than pip on this regard? As far as I know, files like requirements.txt, package.json, cargo.toml are int
by auraham 1y ago
Can you elaborate on this? How is npm/cargo/etc better than pip on this regard?
As far as I know, files like requirements.txt, package.json, cargo.toml are intended to be used as a snapshot of the dependencies in your project.
In case you need to update dependency A that also affects dependency B and C, I am not sure how one tool is better than other.
- jeremyjh 1y agoThey will resolve a version that works for all dependencies if it exists.
- zelphirkalt 1y agoOpen a requirements.txt and a package.lock.json next to each other and compare. Then you will know the answer to the question what npm, cargo, and others are doing better than pip. Oh, did I sneek a ".lock" in there? Damn right I did.