flav-io / flavio

A Python package for flavour physics phenomenology in the Standard model and beyond
http://flav-io.github.io/
MIT License
71 stars 61 forks source link

PyPI Password-based uploads disabled #256

Closed peterstangl closed 1 month ago

peterstangl commented 1 month ago

The current GitHub workflow for publishing flavio on PyPI produces the error

Password-based uploads disabled As of 2024, PyPI requires all users to enable Two-Factor Authentication. This consequently requires all users to switch to either Trusted Publishers (preferred) or API tokens for package uploads. Read more: https://blog.pypi.org/posts/2023-05-25-securing-pypi-with-2fa/

@DavidMStraub unfortunately my PyPI account is blocked because I can't verify my primary email address (to which I don't have access anymore) and having a verified secondary email address somehow doesn't help. So at the moment I cannot switch to Trusted Publishers or API tokens. Could you please add my new account pstangl (https://pypi.org/user/pstangl/) as flavio (and also smelli) maintainer?

DavidMStraub commented 1 month ago

Done. I'm afraid requests that require human interaction can take eons on PyPI (even longer than Github :wink:)

peterstangl commented 1 month ago

Thanks a lot! :) The workflow has been fixed and v2.6.0 has been released on PyPI.