4 ms·
pip-tools unfortunately doesn't generate cross-platform lock files, so your locked requirements.txt may be different if you generate it on macos than if you gen
by jvolkman 4y ago
pip-tools unfortunately doesn't generate cross-platform lock files, so your locked requirements.txt may be different if you generate it on macos than if you generate it on Linux.
Edited to add: both Poetry and PDM do generate cross-platform locks.
- rbanffy 4y ago> may be different if you generate it on macos than if you generate it on Linux. That shouldn't happen. I wonder what could cause it. I never looked them up too closely, but same versions of Python should result in same version of packages regardless of platform.
- DangitBobby 4y agoYou won't run into it most of the time, but if you've got OS specific wheels you can have dependencies that require different requirements files for different OS.
- jvolkman 4y agoJust generate a pip-tools lock file that includes ipython on both macos and Linux and you'll see differences. Only on macos does ipython depend on "appnope".