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

Change harfbuzz versions in wheels #8421

Merged
merged 3 commits into from
Sep 27, 2024
Merged

Conversation

radarhere
Copy link
Member

@radarhere radarhere commented Sep 27, 2024

Two changes here.

  1. As noted in Updated harfbuzz to 9.0.0 in wheels, except for manylinux2014 #8361, harfbuzz has switched to meson - https://github.com/harfbuzz/harfbuzz/releases/tag/9.0.0.

More specifically though, it now requires meson >= 0.55.

This is a problem, as the base image for oss-fuzz uses Ubuntu 20.04, which only has meson 0.53.2

So this PR downgrades harfuzz on OSS Fuzz to the version before meson became mandatory. I've used the environment variable 'SANITIZER' to detect OSS Fuzz.

  1. I found that harfbuzz 8.5.0 was being installed on macOS. I've fixed that, and 10.0.1 is now installed instead.

@hugovk
Copy link
Member

hugovk commented Sep 27, 2024

Here's an issue about upgrading Ubuntu in the base image: google/oss-fuzz#11835

@hugovk hugovk merged commit 86b42a9 into python-pillow:main Sep 27, 2024
24 checks passed
@radarhere radarhere deleted the harfbuzz branch September 28, 2024 00:10
@khaledhosny
Copy link

You can pip install meson on oss-fuzz build scripts, that is how we build HarfBuzz there (you might also want to bin meson version to a known working one, since new meson versions sometimes break build, at least in the past).

@radarhere
Copy link
Member Author

Thanks for the suggestion! I've created #8424

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.

3 participants