uap-python
uap-python copied to clipboard
Implement trusted publishing & automated-ish wheels publishing
- automating wheel publication would be useful in the first place
- trusted publishing means not having to store or manage secrets
- done in ua-parser/uap-rust@38034a74425238e8aab58d0b2cbd6c972a850a41 though that uses maturin's built-in support
- pypa publishing action: https://github.com/pypa/gh-action-pypi-publish
- trusted publishing blog article: https://blog.pypi.org/posts/2023-04-20-introducing-trusted-publishers/
- actual doc: https://docs.pypi.org/trusted-publishers/
problem: need owner rights to ua-parser on pypi (currently only have maintainer @selwin you gave me maintainer rights on the project back then, is there a chance it could get upgraded to owner?)
Also used trusted publishing in #232 and was able to test it on https://test.pypi.org/project/ua-parser-builtins/#history
Worked flawlessly, so definitely a very strong incentive to enable it here as well.