qiskit-community / qiskit-quantinuum-provider

Qiskit provider for Quantinuum backends.
Apache License 2.0
21 stars 17 forks source link

Migrate to PyPI Trusted publishers #33

Closed 1ucian0 closed 4 months ago

1ucian0 commented 1 year ago

The Qiskit's PyPI account is enabling 2FA on Oct 19. As a consequence, deploying this repo won longer be able to use password authentication for publishing this package to PyPI after this date. The best mechanism PyPI offers for publishing now is trusted publishers:

https://docs.pypi.org/trusted-publishers/using-a-publisher/

which authorizes a GitHub Action workflow to push to PyPI and bypasses the need for any user credentials. So, this repo needs such a workflow. Take a look to other project as examples:

Once done, a manual linking process needs to be done in the web UI by @mtreinish .

chris-theroux commented 11 months ago

PR up for this issue. @mtreinish https://github.com/qiskit-community/qiskit-quantinuum-provider/pull/34

chris-theroux commented 4 months ago

We should be good to now. https://pypi.org/project/qiskit-quantinuum-provider/