top | item 32142223

(no title)

alexanderh | 3 years ago

This is what I came to the comment section to say... You absolutely can pin dependencies.... da fudge?

Sounds like this guy needs to finish learning Python before he learns something else.

From what you suggested, to containerizing things with something like Docker, there are ways to make Python more easily distributable.

discuss

order

anacoluthe|3 years ago

What if the depedencies you pinned have non-pinned depedencies?

packageA==1.0.0 depends itself on packageB

Therefore, you can find yourself with a different set of deps. Had a bug like this once.

im3w1l|3 years ago

Pip freeze will pin explicit as well as transitive dependencies

japanuspus|3 years ago

You just pin the sub-dependency. This is builtin functionality for all the python environment managers.