-
Notifications
You must be signed in to change notification settings - Fork 666
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use an API token for uploading to PyPI from Travis CI instead of account creds #553
Comments
On other project I use a service account and added below variables directly to Travis admin interface (no need to edit travis file):
They will be secured by travis. In fact once you introduce it, you cannot see it again. PS. Yes, you can use tokens there as password. |
I know. Yet, there's certain problems with tokens&travis now + it's in beta anyway. I'm going to wait. |
TBH I do not care much which method is used as long the release happens. I am currently blocked by the unreleased fix from 69f5e96 and I know several people that started to contemplate ditching ansible-lint due to its problems. I would be happy not to give them more reasons ;) |
Creds aren't a blocker at all. |
Considering that this ticket can be addressed only by a very select group of people it would be nice if they could make that change. AFAIK tokens are working fine, I am already using them on other projects. |
@ssbarnea actually, Travis CI still has encryption problems in some repos. But we won't know until we try. |
Issue Type
Desired Behaviour
It is now possible to create an API token at https://pypi.org/manage/account/token/. Travis CI autoreleases should switch to that.
Ref: https://discuss.python.org/t/pypi-security-work-multifactor-auth-progress-help-needed/1042/31
Use
__token__
for a username and the token itself for a password when using Twine: pypi/warehouse#994 (comment)The text was updated successfully, but these errors were encountered: