Closed dave-doty closed 8 months ago
The new security update requires everyone who maintains a PyPI project to enable 2FA. This should be a similar to the UC Davis 2FA process.
A step-by-step guide would be
Thanks so much. Sorry, I guess I could have looked up these instructions myself, but I assumed that we would have to do something more complex to make it work with the Github action that publishes the scadnano package to PyPI.
I enabled 2FA for PyPI. I'll close this issue for now, and hopefully the publishing action works the next time we have a PR from dev into main, but if not I'll reopen the issue and we'll try to debug it.
PyPI will require two-factor authentication by 2024: https://blog.pypi.org/posts/2023-05-25-securing-pypi-with-2fa/
I have no idea how to enable this to work with the Github action that publishes to PyPI: https://github.com/UC-Davis-molecular-computing/scadnano-python-package/blob/main/.github/workflows/release.yml