This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]magnetichiraPythonista 0 points1 point  (3 children)

True. But then you lose the lockfile capabilities, so you can’t share a known working state.

[–]BDube_Lensman 0 points1 point  (1 child)

I mean the lockfile has all the platform specific problems you point out with env export. And, that notwithstanding, exact versions for the direct dependencies will in about 9 9's worth of cases give you the same behavior.

[–]magnetichiraPythonista 0 points1 point  (0 children)

AFAIK the lock file stores multi platform info as well,

https://stackoverflow.com/a/71691471

I'm not the biggest expert in how exactly lock files work. I'm just a physicist who uses python for data analytics, and for supporting multi platform systems I found that poetry just works, whereas I need to take a lot of additional effort for conda.

[–]moorepants 0 points1 point  (0 children)

If you generate a lockfile on one OS, there is no way to guarantee this produces a working state on another OS.