-
Notifications
You must be signed in to change notification settings - Fork 680
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
infra: adding step to publish action #733
Conversation
Adding a step to test that uploading packages to pypi should work. This should prevent issues that occurred in the release of 0.7.0 from happening where a classifier was set incorrectly (3 - Beta), causing pypi to return a 400 and fail publishing packages.
.github/workflows/publish.yml
Outdated
TWINE_USERNAME: ${{ secrets.test_pypi_username }} | ||
TWINE_PASSWORD: ${{ secrets.test_pypi_password }} | ||
run: | | ||
pip install twine |
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.
should installing deps/tools be an independent step before other steps that depend on it?
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.
Good point, done.
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.
Nice! can you add a quick comment on why we upload to testpypi? seems like a complex case that is hard to understand from the code alone.
@toumorokoshi done! |
* chore: add instruction for pg-pool plugin * chore: update NodeTracer to NodeTracerRegistry * chore: address comments Co-authored-by: Valentin Marchaud <thisismac47@gmail.com> Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
Adding a step to test that uploading packages to pypi should work.
This should prevent issues that occurred in the release of 0.7.0 from happening where a classifier was set incorrectly (3 - Beta), causing pypi to return a 400 and fail publishing packages.