pytroll / aggdraw

Python package wrapping AGG2 drawing functionality
https://aggdraw.readthedocs.io/en/latest/
Other
99 stars 47 forks source link

Adding back support for arm64 macOS wheels. #94

Closed devbanu closed 7 months ago

devbanu commented 7 months ago

Hi,

Following our discussion in #92, I finally found time to look into and fix it.

Previously x86_64 macOS runners where used in trying to build both x86_64 and arm64 wheels. This produced working x86_64 wheels, but incomplete arm64 wheels (dependent libraries libreetype and libpng where not copied over since they were available only in the x86_64 version).

The problem is solved by building the arm64 wheels on an arm64 macOS runner.

djhoese commented 7 months ago

I've seen this failure before:

 Invalid --only='""', must be a build selector with a known platform

But I don't remember how I fixed it. Any ideas?

djhoese commented 7 months ago

This makes sense to me. I'm on paternity leave though so I can't promise I'll be able to make a new release tonight or tomorrow, but I'll try my best.

djhoese commented 7 months ago

Oh and thanks for getting this done.

devbanu commented 7 months ago

Thanks! Enjoy the paternity leave!