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

Group aarch64 wheel jobs #8206

Merged
merged 1 commit into from
Jul 5, 2024
Merged

Conversation

radarhere
Copy link
Member

@radarhere radarhere commented Jul 5, 2024

When building wheels for Pillow 10.4.0, the longest job was aarch64 pp310 manylinux_2_28 at 2h 16m.

However, since there were 27 wheel building jobs, and we are limited to 20 concurrent runners, it takes longer than any single job. With the recent removal of Python 3.8, things are a bit better, but with free-threaded wheels on the horizon, there will be more again.

It is the dependency installation that takes most of the time in the jobs, so this PR suggests grouping the aarch64 CPythons together - rather than a job per CPython version, have one job for 3.9, 3.10 and 3.11, and one job for 3.12 and 3.13. I've kept it as two jobs to try and avoid extending the maximum time for a single job.

The overall number of wheel building jobs is thus reduced to 17, less than our limit of concurrent runners.

@hugovk
Copy link
Member

hugovk commented Jul 5, 2024

Looks like this reduces the total time from roughly 3 hours to 2 hours. Thanks!

@hugovk hugovk merged commit a528cd8 into python-pillow:main Jul 5, 2024
23 checks passed
@radarhere radarhere deleted the aarch64_wheels branch July 6, 2024 01:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants