Pytlicek / fastapi-featureflags

FastAPI Feature Flags
https://pypi.org/project/fastapi-featureflags/
MIT License
52 stars 7 forks source link

Use PyPI API token instead of basic auth #9

Closed Pytlicek closed 1 year ago

Pytlicek commented 1 year ago
What?
During your recent upload or upload attempt of fastapi-featureflags to PyPI, we noticed you used  
basic authentication  (username & password).  
However, your account has two-factor authentication (2FA) enabled.  

In the near future, PyPI will begin prohibiting uploads using basic authentication for accounts with two-factor  
authentication enabled. Instead, we will require API tokens to be used.  

What should I do?  
First, generate an API token for your account or project at https://pypi.org/manage/account/token/.  
Then, use this token when publishing instead of your username and password.  
See https://pypi.org/help/#apitoken for help using API tokens to publish.

I think also related to: https://github.com/Pytlicek/fastapi-featureflags/issues/8

Pytlicek commented 1 year ago

Fixed in: https://github.com/Pytlicek/fastapi-featureflags/commit/09dea3a7f81eb27209dc32ee84bd751dc1a928af