-
Notifications
You must be signed in to change notification settings - Fork 327
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
Used trusted publisher for PyPi #698
Conversation
run: pip install -U pip setuptools virtualenv wheel | ||
- name: Build sdist | ||
run: python3 setup.py sdist bdist_wheel |
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.
The future proof way to do this is to use:
run: pip install -U pip setuptools virtualenv wheel | |
- name: Build sdist | |
run: python3 setup.py sdist bdist_wheel | |
run: pip install -U pip setuptools build | |
- name: Build sdist | |
run: python3 -m build . |
but for now this works fine.
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.
Ok, sounds good for the future.
This LGTM, you'll need to add a release environment but otherwise this is fine. I left an inline comment, but that's more future facing and we can look at that in a follow up PR as it's not related to using a new publishing mechanism |
Pull Request Test Coverage Report for Build 6564885980
💛 - Coveralls |
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Summary
This PR follows Qiskit/rustworkx#1001 to update the release CI workflow to use PyPI's trusted publisher mechanism.
Details and comments