-
Notifications
You must be signed in to change notification settings - Fork 1.5k
uv python install 3.12 fails on an arm system, despite its being a supported platform #12780
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thank you! cc @Gankra the installer is downloading @johndunderhill Could you try downloading
and confirm that they work on your system? |
First one does not work, second one does.
The second one may be able to install Python, but I'm not sure if the selected Python will work, because the download is timing out. It's attempting to download John |
Nah, didn't pick the right one.
|
We don't have |
I'm surprised that the GNU Libc version isn't working, don't pis have GNU Libc installed? |
I expect the issue is connected to the fact that your aarch64 is "in 32-bit mode". |
Alright yeah. Specifically at the end of platform selection (get_architecture) we do this (deleted a bunch of irrelevant parts): # Detect 64-bit linux with 32-bit userland
if [ "${_ostype}" = unknown-linux-gnu ] && [ "${_bitness}" -eq 32 ]; then
case $_cputype in
aarch64)
_cputype=armv7
_ostype="${_ostype}eabihf"
;;
esac
fi
# treat armv7 systems without neon as plain arm
if [ "$_ostype" = "unknown-linux-gnueabihf" ] && [ "$_cputype" = armv7 ]; then
if ensure grep '^Features' /proc/cpuinfo | grep -q -v neon; then
# At least one processor does not have NEON.
_cputype=arm
fi
fi
So you hit like, 3 levels of "I'm trying my best to make this work" fallback, and, evidently it doesn't really work. Between this and the python fetching I'm not sure we really support your platform, on several levels. |
These days rustup has the neon check enhanced:
Possible that would fix it? |
Filed astral-sh/cargo-dist#15 for potential installer improvements. |
Yes, it does.
|
Ok, but bear in mind, per the initial post, |
Summary
HOWEVER:
Platform
Linux 6.1.21-v8+ aarch64 GNU/Linux (in 32-bit mode)
Version
uv 0.6.13
Python version
3.12.8
The text was updated successfully, but these errors were encountered: