Skip to content

pdm.lock files produced by Renovate are specific to the CPU architecture on which RenovateBot runs #30940

Closed Answered by sh-at-cs
sh-at-cs asked this question in Request Help
Discussion options

You must be logged in to vote

All right, riddle solved. This issue has nothing to do with Renovate whatsoever, so Renovate devs can stop reading here.


For anyone else who encounters this and finds this thread via a search engine, here is the full story:

PDM only writes platform-specific [[metadata.targets]] sections when both of these conditions are met:

  1. There is no [[metadata.targets]] section yet (i.e. the lock file must have been created with a version of PDM < 2.17) and
  2. the strategy field of the [metadata] section of pdm.lock doesn't contain "cross-platform".

If strategy contains "cross-platform", newer versions of PDM will add a platform-agnostic [[metadata.targets]] section and remove "cross-platform" from st…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@sh-at-cs
Comment options

@sh-at-cs
Comment options

Answer selected by sh-at-cs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants