trexio icon indicating copy to clipboard operation
trexio copied to clipboard

Python wheel for Linux aarch64

Open robertodr opened this issue 8 months ago • 3 comments

Hello! Would it be possible to extend the wheel building workflow to produce Linux aarch64 wheels as well?

robertodr avatar Apr 09 '25 10:04 robertodr

Hello @robertodr, I see that there are some ubuntu-arm runners in the Beta access, I can have a look. Do you have access to the aarch64 Linux machine to test the wheels once we have the pipeline working?

q-posev avatar Apr 09 '25 11:04 q-posev

Yes, I do. But if you build the wheel on the Ubuntu Arm runners you can test it there directly, no?

robertodr avatar Apr 09 '25 12:04 robertodr

Sure, but it would be nice to test it on another machine too since this arch-os combo is relatively new to us.

q-posev avatar Apr 09 '25 12:04 q-posev

OK, the first CI tests on ubuntu-22.04-arm are green, now need to rebuild the corresponding Docker images for ARM arch and modify the wheel building in the CI.

q-posev avatar Jul 05 '25 19:07 q-posev

@robertodr I just made a test release which includes the Python wheels for manylinux-aarch64 architecture and for Python versions from 3.8 up to 3.13 on test PyPI (released under 2.5.666 - feel free to ignore the dummy patch version). It can be installed as follows: pip install -i https://test.pypi.org/simple/ trexio.

Could you please test it on your end? If it's functional, we will proceed to include it in the next official TREXIO release on PyPI.

q-posev avatar Jul 07 '25 07:07 q-posev

I tested it and it works.

scemama avatar Aug 01 '25 13:08 scemama

I'm really sorry I haven't responded before. I've just come back from holiday... 🏖️ 😅 Thanks for making the wheel @q-posev and testing it @scemama

robertodr avatar Aug 01 '25 14:08 robertodr

@robertodr the manylinux-aarch64 wheels will be included in the next TREXIO release (in the coming weeks) so the -i https://test.pypi.org/simple/ in the pip install will not be needed.

q-posev avatar Aug 02 '25 06:08 q-posev

@robertodr the Python wheels of TREXIO v.2.6.0 for manylinux_aarch64 has been released and pushed to PyPI for CPython 3.8-3.13.

q-posev avatar Aug 02 '25 17:08 q-posev