6 ms·
Does pipenv create cross-platform lock files? That has been my primary requirement when looking at solutions, more than the usability issue of Python using a b
by epage 7y ago
Does pipenv create cross-platform lock files? That has been my primary requirement when looking at solutions, more than the usability issue of Python using a bunch of tools and files for the whole development process without a coherent story.
iirc Poetry does have cross-platform lock files and a coherent story. I'm just blocked on some PRs due to the original author getting busy and not yet having delegated to lieutenants.
- ben509 7y agoMostly. The lock file format is certainly consistent between platforms, and I've been able to install applications on windows, mac and linux. But it doesn't handle platform-specific dependencies correctly. For instance, `doit` has a watch feature, and it will depend on pyinotify on linux and macfsevents on Mac. If I run pipenv lock on the Mac, it correctly generates this: "macfsevents": { "hashes": [ "sha256:hexhexhex..." ], "markers": "sys_platform == 'darwin'", "version": "==0.8.1" }, But it won't lock the linux version. Similarly, if you lock on Linux, it throws out macfsevents. And `doit` is not doing anything strange[1] to report these extra dependencies. [1]: https://github.com/pydoit/doit/blob/660d3a2e75dc9d861e5a8916a5723d01a14a0945/setup.py#L81 https://github.com/pydoit/doit/blob/660d3a2e75dc9d861e5a8916...