Skip to content

Commit

Permalink
Update bundled Python URLs and add "arm" architecture variant (#3855)
Browse files Browse the repository at this point in the history
## Summary

This also adds filtering for the ARM Pythons, since that needs some libc
changes; and it closes #3854 by
way of adding an "arm" branch.
  • Loading branch information
charliermarsh authored May 27, 2024
1 parent 61ed0c8 commit 4191c33
Show file tree
Hide file tree
Showing 4 changed files with 992 additions and 2 deletions.
3 changes: 2 additions & 1 deletion crates/uv-interpreter/fetch-version-metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@
"ppc64le": "powerpc64le",
"i686": "x86",
"i386": "x86",
"armv7": "armv7l",
}
OS_MAP = {"darwin": "macos"}

Expand All @@ -106,7 +107,7 @@ def parse_filename(filename):


def normalize_triple(triple):
if "-static" in triple:
if "-static" in triple or "-gnueabihf" in triple or "-gnueabi" in triple:
logging.debug("Skipping %r: unknown triple", triple)
return
triple = SPECIAL_TRIPLES.get(triple, triple)
Expand Down
Loading

0 comments on commit 4191c33

Please sign in to comment.