are cross-platform lockfiles deprecated? #3037
-
after updating to pdm 1.17.0 and running
however there doesn't seem to be any mention of this deprecation in that linked page in the docs. instead it just states the following:
this functionality is very convenient, so it would be annoying if i instead had to manually create lockfiles for different platforms. if that is the case however, the docs should probably be updated to mention that this default behavior is deprecated. it would be a shame if this functionality was removed from pdm :( |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
No, it's the cross-platform strategy that is deprecated. By default, the lock file is still created for cross-platform. Explaining in lock targets, the default lock target is |
Beta Was this translation helpful? Give feedback.
No, it's the cross-platform strategy that is deprecated. By default, the lock file is still created for cross-platform. Explaining in lock targets, the default lock target is
(python=<project_requires_python>, platform=none, implementation=none)
, to keep the same default behavior as before. And users can narrow down any of the specifiers to make it "less" cross-platform. That is too say, there is no clear boundary between cross-platform and non-cross-platform, it's just a difference in degree. So we do not want to mention cross-platform.