pyosmium icon indicating copy to clipboard operation
pyosmium copied to clipboard

Support for Mac ARM binary wheels

Open aignas opened this issue 2 years ago • 3 comments

Hello, is there a possibility to build Mac ARM wheels (or the new format universal2 wheels) for this platform?

aignas avatar Feb 02 '23 01:02 aignas

According to cibuildwheel it is possible to build but not test the wheels. I won't distribute untested wheels especially not on an architecture that isn't used anywhere else. I'm sorry.

lonvia avatar Feb 02 '23 08:02 lonvia

It looks like this is supported now?

https://cibuildwheel.readthedocs.io/en/stable/options/#test-command

cdbattags avatar Jan 02 '24 20:01 cdbattags

Still not on Github Actions: https://cibuildwheel.readthedocs.io/en/stable/#usage

lonvia avatar Jan 06 '24 15:01 lonvia

Looks like it is now? (in the table you link to)

PierreMesure avatar Apr 03 '24 19:04 PierreMesure

Oh, Github runners for MacOS ARM. Nice.

I've built the 2.7.0 version for macos-arm now: https://github.com/lonvia/pyosmium/actions/runs/8582188319

Only available for Python 3.9+. If somebody can try out the wheels in the artifact in the run above ( pyosmium-wheels-macos-14 ) and confirm that they work, I can see how to get them on pypi.org.

lonvia avatar Apr 06 '24 16:04 lonvia

Wow, thank you for fixing it so fast! I can give them a try.

I've been using pyosmium on Linux and I can't get it to produce the same results as the CLI executable osmium though.

This is the command I'm running.

PierreMesure avatar Apr 07 '24 20:04 PierreMesure

Thanks for building the wheels. Works nice with python 3.12 on a M1 pro with macOS Ventura 13.4.

hoffmann avatar Apr 20 '24 15:04 hoffmann

Thanks for testing. I've uploaded them to pypi.org now.

Leaving this issue as this still needs integration in the master branch.

lonvia avatar Apr 20 '24 16:04 lonvia