-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PyPI trusted publishing #94
Conversation
8695446
to
24fc0c9
Compare
This allows ripgrep to search within it.
ec971f5
to
bc56fc5
Compare
`python -m build` doesn't successfully build with the previous hack because the setuptools entry points aren't installed. (I am not sure how it ever worked under tox-wheel — a pre-existing install of incremental?) So we synthesize the entry points in _build_meta.py. Is this better than the original hack? 🤷
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Tom for working on this.
If you are happy with the PR, I think that we can merge it and test it right away by doing a new relese.
After we have it released, I hope we can use hatchling and things will be simplified.
Thank you for the review @adiroiban! I'll issue a release now. |
Setup GHA to release to PyPI via trusted publisher.
On PR: Build the package using
python -m build
and chain it into the tests.On tag push: build the package and publish to PyPI.
I have created a trusted publisher on PyPI for Incremental. Hopefully this works 🤞 — we'll see when we hit release candidate. I plan to burn through some more tickets first.