Filter wheels from lockfile based on architecture (#10584)

## Summary

After we resolve, we filter out any wheels that aren't applicable for
the target platforms. So, e.g., we remove macOS wheels if we find that
the user only asked to solve for Windows.

This PR extends the same logic to architectures, so that we filter out
ARM-only wheels when the user is only solving for x86, etc.

Closes #10571.
This commit is contained in:
Charlie Marsh
2025-01-14 09:39:21 -05:00
committed by GitHub
parent faa4481ccc
commit e3f6b9c5f3
10 changed files with 550 additions and 28 deletions

View File

@@ -10,7 +10,7 @@ msgspec==0.18.6
# via packse
packaging==24.2
# via hatchling
packse==0.3.44
packse==0.3.45
# via -r scripts/scenarios/requirements.in
pathspec==0.12.1
# via hatchling