Source: Securing PyPI accounts via Two-Factor Authentication
Summary
Starting from the end of 2023, every PyPI project must have user accounts equipped with 2FA. PyPI will begin to implement certain site functionalities based on 2FA usage and may select certain users or projects for early enforcement. Enabling 2FA and switching to Trusted Publishers or API tokens to upload to PyPI is recommended.
Fact