Closed nullableVoidPtr closed 2 years ago
Thanks for the suggestion.
I currently have no plan for that, as repeating upload to PyPI will fail, and upload artifacts after building then upload them manually leaves more flexibility for me.
Automatic package publication is a much safer solution in terms of attacks on software sources.
Automatic package publication is a much safer solution in terms of attacks on software sources.
Good point! As looks that many packages start to depend on this artifact.
Will be fixed before next release.
It may be useful to use pypa/cibuildwheel, it does PyPI publishing and also auditwheel, which is important for binary extensions.
Uploaded several wheels to pypi (simultaneously) might require consolidating all the current workflows into 1 workflow that uses a matrix for the variously supported platforms. I'm willing to help if needed.
Addressed by https://github.com/sighingnow/libclang/commit/66c8a47972911e1a1db36e7bc5e7e471d0b391fb. The generated artifacts will be uploaded to pypi from github actions directly.
Well, it doesn't use cibuildwheel, but if it works, then it works.
And, it doesn't use auditwheel (or delocate).
And, I believe the manylinux2014 tag is deprecated. Plus, those wheels are supposed to be "built on CentOS 7 which will reach End of Life (EOL) on June 30th, 2024." *cite
None of this would've been a concern with cibuildwheel (+ qemu for aarch64).
We ensure the shared library libclang.{so,dylib}
requires no extra dependency except libc (and libc++ on MacOS) so there's no need for auditwheel and delocate.
That's also our orignal target of this project.
And, I believe the manylinux2014 tag is deprecated.
Deprecation of the building environment (and target) is OK for us as our goal is providing the best backwards compatibility so that this library can run as more computers as possbile.
As long as there's user who need that, then it isn't "deprecated".
Hi, I've noticed that the actions configured only compiles and uploads artifacts; have you considered using the official PyPI publisher action pypa/gh-action-pypi-publish to automate uploading to PyPI? You can test the workflow against TestPyPI first, and it does require an API key secret to be configured first.