-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add PIPY release instructions to Developer Docs #306
Comments
No, they are a bit more manual. Side note: I created #308 to fix that.
but if you want to use Poetry here's a guide on how to do that, with the caveat that I haven't used it personally:
|
I'm in the process of trying to automate the PyPI releases using GH Actions #308 and adding my steps here so they can be documented for future releases: I've added OIDC authentication for the python-publish.yml GH action on PyPI and TestPiPY: ![]() This allows the action to publish to both, and the workflow file currently pushes first to testpypi and then, if manually approved by myself, @bachase , or @Misty-W , published to PyPI. The process should be automatically triggered whenever we do a release using the normal GH GUI, and I am also creating a manual dispatch trigger for testing purposes. |
After manually triggering dispatch, it should run the TestPyPI step and upload there, which you should then test locally the poetry install, TODO: add instructions for how to poetry install from testPyPI. After that, one of us admins can manually approve publishing to the real PyPI. |
Instructions for maintainers, reflecting the GitHub Actions automated workflow per #308 and #311:
If for some reason this does not work, or fails to trigger on a release, you can also manually trigger the workflow in the Github Actions tab: ![]() ![]() ![]() |
I noticed in our developer docs, we don't currently include instructions for pushing a new version to PyPI.
@Misty-W are the steps are the same as for Mitiq? https://mitiq.readthedocs.io/en/stable/release.html#release-the-new-version-on-pypi
Originally posted by @jordandsullivan in #305 (comment)
The text was updated successfully, but these errors were encountered: