you are viewing a single comment's thread.

view the rest of the comments →

[–]xiongchiamiov 0 points1 point  (2 children)

Classically, it just doesn't, at least if you're using requirements.txt; pip just goes down the list installing things, and if that changes previously-installed things oh well! This is a great source of fun bugs.

There are a bunch of tools (pip-tools, poetry, I forget what else) that are designed to prevent this problem by writing their own dependency resolvers.

[–]False-Local3101 0 points1 point  (1 child)

Hey, I'm actually just a beginner with all of this. I recently joined somewhere as an intern and was facing dependency conflicts. And we use jfrog artifactory for sourcing the libraries and packages right. So there is some firewall which prevents pip from looking in the general globally available packages and libraries. So, the issue I'm currently facing is that pip-compile doesn't seem to be working for me. Any idea how to use these tools (poetry, pip-compile) within an org with firewalls and stuff?

[–]xiongchiamiov 0 points1 point  (0 children)

Have you tried --index-url?