Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update bundled Python URLs and add "arm" architecture variant #3855

Merged
merged 1 commit into from
May 27, 2024

Conversation

charliermarsh
Copy link
Member

@charliermarsh charliermarsh commented May 27, 2024

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.

@charliermarsh charliermarsh added the internal A refactor or improvement that is not user-facing label May 27, 2024
@@ -131,7 +131,7 @@ impl FromStr for Arch {
match s.to_lowercase().as_str() {
"aarch64" | "arm64" => Ok(Self::Aarch64),
"armv6l" => Ok(Self::Armv6L),
"armv7l" => Ok(Self::Armv7L),
"armv7l" | "arm" => Ok(Self::Armv7L),
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be revisited more holistically; I'm just trying to fix the failure on ARM for now. But, anyway, Rust's std::env::consts::ARCH just returns "arm", whereas we need to differentiate between ARM v6 and ARM v7 I guess? I'm also not sure whether the enum variants are intended to match some Rust or Python convention somewhere.This needs to be revisited more holistically; I'm just trying to fix the failure on ARM for now. But, anyway, Rust's std::env::consts::ARCH just returns "arm", whereas we need to differentiate between ARM v6 and ARM v7 I guess? I'm also not sure whether the enum variants are intended to match some Rust or Python convention somewhere.

@charliermarsh charliermarsh added bug Something isn't working and removed internal A refactor or improvement that is not user-facing labels May 27, 2024
@charliermarsh charliermarsh changed the title Update bundled Python URLs Update bundled Python URLs and add "arm" architecture variant May 27, 2024
@charliermarsh charliermarsh enabled auto-merge (squash) May 27, 2024 03:28
@charliermarsh charliermarsh disabled auto-merge May 27, 2024 03:33
@charliermarsh charliermarsh merged commit 4191c33 into main May 27, 2024
45 of 46 checks passed
@charliermarsh charliermarsh deleted the charlie/py branch May 27, 2024 03:33
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Architecture not supported: arm
1 participant