Skip to content
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

Support 3.11 on aarch64 #30927

Closed
gnossen opened this issue Sep 9, 2022 · 9 comments · Fixed by #32270
Closed

Support 3.11 on aarch64 #30927

gnossen opened this issue Sep 9, 2022 · 9 comments · Fixed by #32270
Assignees
Labels
disposition/help wanted Maintainers do not have enough resources to allocate to this at the moment. Help is appreciated! kind/bug lang/Python priority/P2

Comments

@gnossen
Copy link
Contributor

gnossen commented Sep 9, 2022

The latest version of dockcross aarch64 does not yet support Python 3.11, blocking us from creating these artifacts. Once they do support it, we should start producing these artifacts. This image has not been updated on dockerhub for a year, so it's possible that this may require more than just waiting for a new release. I've raised the issue here to find out.

@mgu
Copy link
Contributor

mgu commented Jan 25, 2023

maybe an alternative could be to switch to pypa/cibuildwheel ?

@samanta-widjaja
Copy link

is there a solution. i can't install due the same problem too

@mgu
Copy link
Contributor

mgu commented Jan 26, 2023

@gnossen do you think I could open a PR to switch from dockcross to qemu+aarch64 image instead ?
Even if it is super slow, at least it would work

@gnossen
Copy link
Contributor Author

gnossen commented Jan 26, 2023

maybe an alternative could be to switch to pypa/cibuildwheel ?

I haven't looked deeply into this, but it seems that this integrates at the level of the CI system, e.g. Github Actions, Travis, Circle CI. For software supply chain security reasons, we use a private CI system called Kokoro and we would not be able to use cibuildwheel directly, though we might be able to pull some components out of it to enable this artifact build.

do you think I could open a PR to switch from dockcross to qemu+aarch64 image instead ?

We'd have to play around with CI configuration to make sure that our PR presubmits don't get blocked by a 5 hour build, but in principle, yes, a contribution like that would be greatly appreciated. Thank you for the offer!

@gnossen gnossen added the disposition/help wanted Maintainers do not have enough resources to allocate to this at the moment. Help is appreciated! label Jan 26, 2023
@mgu
Copy link
Contributor

mgu commented Jan 27, 2023

I think the qemu is way too slow (the build timed out after 2h 😓 ).
I'll do some more tests to understand what can be done

@mgu
Copy link
Contributor

mgu commented Jan 27, 2023

PASSED: build_artifact.python_manylinux2014_aarch64_cp311-cp311 [time=798.4sec, retries=0:0]

I've been able to build a dockcross image with python 3.11 🎉
I'll try to create PRs for dockcross & grpc in the next few days

mgu pushed a commit to mgu/grpc that referenced this issue Feb 2, 2023
gnossen added a commit that referenced this issue Feb 6, 2023
* Support python 3.11 on aarch64

Fixes #30927

* Change base tag to something more specific

* Update current version

---------

Co-authored-by: Richard Belleville <rbellevi@google.com>
@kasium
Copy link

kasium commented Feb 23, 2023

It seems that the latest release 1.15.3 still doesn't include a 3.11 aarch wheel. Can you please check?

@mgu
Copy link
Contributor

mgu commented Feb 23, 2023

Hi @kasium
From my understanding, the aarch wheel will be available from 1.53.x (1.51.3 is a maintenance release and 1.52 was yanked)

@kasium
Copy link

kasium commented Feb 23, 2023

@mgu I see. Thanks!

XuanWang-Amos pushed a commit to XuanWang-Amos/grpc that referenced this issue May 1, 2023
* Support python 3.11 on aarch64

Fixes grpc#30927

* Change base tag to something more specific

* Update current version

---------

Co-authored-by: Richard Belleville <rbellevi@google.com>
wanlin31 pushed a commit that referenced this issue May 18, 2023
* Support python 3.11 on aarch64

Fixes #30927

* Change base tag to something more specific

* Update current version

---------

Co-authored-by: Richard Belleville <rbellevi@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
disposition/help wanted Maintainers do not have enough resources to allocate to this at the moment. Help is appreciated! kind/bug lang/Python priority/P2
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants