chris48s / django-apiblueprint-view

📚 Render API Blueprints on-the-fly using Django templates
https://pypi.org/pypi/django-apiblueprint-view/
MIT License
15 stars 1 forks source link

Build mac-compatible wheels #181

Open chris48s opened 11 months ago

chris48s commented 11 months ago

More work to be done on this, but..

see notes in https://github.com/chris48s/django-apiblueprint-view/pull/179#discussion_r1336350686

and proof of concept in https://github.com/chris48s/django-apiblueprint-view/commit/476ba1dccf501a9e108e5326f09f1aa0d141c1f2

chris48s commented 11 months ago

https://github.com/chris48s/django-apiblueprint-view/pull/182 adds a macosx_x86_64 wheel. Released as https://pypi.org/project/django-apiblueprint-view/2.5.0/

I've not been able to successfully compile an macosx_arm64 one.

Revisit that if m1 runners ever become generally available.

Also, it would be nice to add macos to the test matrix so we cover all the paths through https://github.com/chris48s/django-apiblueprint-view/blob/master/apiblueprint_view/__init__.py

chris48s commented 7 months ago

OK, so GitHub announced mac arm64 runners https://github.blog/changelog/2024-01-30-github-actions-introducing-the-new-m1-macos-runner-available-to-open-source/

Had a go at compiling on it https://github.com/chris48s/django-apiblueprint-view/commit/bcb0726c5899ceb8eb44bd8aee9da1102b3a618e

ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [out/Release/libdrafter.dylib] Error 1

Not sure where to go next with this..am I missing something, or banging my head against a brick wall?