Skip to content

Conversation

@radarhere
Copy link
Member

@radarhere radarhere commented Oct 26, 2024

An intermittent error has started appearing when building macOS < 11 wheels, due to the presence of Homebrew's libdeflate.

https://github.com/python-pillow/Pillow/actions/runs/11527160571/job/32095165039#step:5:8054

File "/private/var/folders/nj/wh528zms06j9t8y7bmlvpmjm0000gn/T/cibw-run-lwy73nns/cp39-macosx_x86_64/build/venv/lib/python3.9/site-packages/delocate/delocating.py", line 925, in _check_and_update_wheel_name
  raise DelocationError(
delocate.libsana.DelocationError: Library dependencies do not satisfy target MacOS version 10.10:
/private/var/folders/nj/wh528zms06j9t8y7bmlvpmjm0000gn/T/tmp7e9dgm3u/wheel/PIL/.dylibs/libdeflate.0.dylib has a minimum target of 13.0
Set the environment variable 'MACOSX_DEPLOYMENT_TARGET=13.0' to update minimum supported macOS for this wheel.

#8497 is a long term solution to this type of problem, but this is a short term solution if we would like it, just removing Homebrew's libdeflate.

@hugovk hugovk merged commit bdd0b86 into python-pillow:main Oct 28, 2024
23 checks passed
@radarhere radarhere deleted the libdeflate branch October 28, 2024 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants