PyPI brings in mandatory 2FA for all software publishers following recent security issues

PyPI has announced that all users who maintain a project or organization on the platform must now set up two-factor authentication in an effort to increase security.

This follows previous measures set out by PyPI, including optional 2FA, blocking compromised passwords, support for API tokens, and mandatory 2FA for certain projects.

Source