Skip to content

Did something change recently to make lock files more strict? Docker build failing on macOS host #3173

Answered by frostming
anentropic asked this question in Q&A
Discussion options

You must be logged in to vote

The metadata.targets introduced in lock version 4.5.0 are translated depending on whether cross_platform strategy is present in lock version < 4.5.0.

If the lock file doesn't contain cross_platform strategy, the lock file is a strict lock file that works on the current environment only. We just keep the same after migrating to 4.5.0, by specifying the platform and implementation in metadata.targets.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by anentropic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants