mirror of
https://github.com/astral-sh/uv.git
synced 2025-10-25 17:38:21 +00:00
Update bundled Python URLs and add "arm" architecture variant (#3855)
## Summary This also adds filtering for the ARM Pythons, since that needs some libc changes; and it closes https://github.com/astral-sh/uv/issues/3854 by way of adding an "arm" branch.
This commit is contained in:
parent
61ed0c82ed
commit
4191c331a7
4 changed files with 992 additions and 2 deletions
|
|
@ -86,6 +86,7 @@ ARCH_MAP = {
|
|||
"ppc64le": "powerpc64le",
|
||||
"i686": "x86",
|
||||
"i386": "x86",
|
||||
"armv7": "armv7l",
|
||||
}
|
||||
OS_MAP = {"darwin": "macos"}
|
||||
|
||||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue