esa / pygmo2

A Python platform to perform parallel computations of optimisation tasks (global and local) via the asynchronous generalized island model.
https://esa.github.io/pygmo2/
Mozilla Public License 2.0
414 stars 56 forks source link

Build ARM Wheels for PyPi #129

Closed ccrutchf closed 1 year ago

ccrutchf commented 1 year ago

This PR implements building ARM wheels for pygmo2 as requested in esa/pygmo2#128.

As GitHub Actions do not natively support executing ARM, I've pulled in QEMU. This results in the ARM wheels taking more than an hour to build. I would be happy to move these to Circle CI if preferred. I originally chose GitHub Actions to maintain consistency with the other PyPi wheels.

Please let me know if you have any questions or concerns.

ccrutchf commented 1 year ago

I have addressed the failing ARM build. Is it possible to rerun?

https://github.com/ccrutchf/pygmo2/actions/runs/4631113044

bluescarni commented 1 year ago

@ccrutchf thanks for working on this!

The increase in runtime due to the use of qemu might be a bit problematic, and this hang is a bit concerning:

https://github.com/esa/pygmo2/actions/runs/4615326285/jobs/8161715278

With that being said, I'll go ahead an merge this. We can always switch to CircleCI if the situation becomes untenable in the future.

ccrutchf commented 1 year ago

Thanks!

Is it possible to update the wheels on Pypi at this time? If not, do you guys have an estimate on when the next release to Pypi will be?

bluescarni commented 1 year ago

@ccrutchf I just checked and I think we could do just a point release 2.19.1 as the only changes from 2.19.0 are doc fixes. Gonna try to do it now.

ccrutchf commented 1 year ago

Thanks!

bluescarni commented 1 year ago

So it looks like the CI pipeline was never set up to actually trigger on new releases, and at this point I am doubtful the automatic wheel upload is even going to work. I guess we never actually made an automated wheel release @darioizzo ?

In any case, I will keep on making point releases until we get to the point it's actually working.

bluescarni commented 1 year ago

@ccrutchf the aarch64 wheels should now be available from pypi.

ccrutchf commented 1 year ago

Thanks! I appreciate the help.