Skip to content
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

Add support for PyPI API tokens #1275

merged 1 commit into from Aug 2, 2019

Add support for PyPI API tokens #1275

merged 1 commit into from Aug 2, 2019


Copy link

sdispater commented Aug 2, 2019

Pull Request Check List

  • Added tests for changed code.
  • Updated documentation for changed code.

PyPI recently added support for token-based authentication to upload packages:

This PR adds support for that use case in Poetry.

Users can now configure tokens via the config command:

poetry config pypi-token.pypi my-token

It's also possible to provide an environment variable holding the value of the token:

export POETRY_PYPI_TOKEN_PYPI=my-token
@sdispater sdispater added this to the 1.0 milestone Aug 2, 2019
@sdispater sdispater added this to In progress in 1.0 via automation Aug 2, 2019
@sdispater sdispater merged commit e5e706a into develop Aug 2, 2019
4 checks passed
4 checks passed
continuous-integration/appveyor/branch AppVeyor build succeeded
continuous-integration/appveyor/pr AppVeyor build succeeded
continuous-integration/travis-ci/pr The Travis CI build passed
continuous-integration/travis-ci/push The Travis CI build passed
1.0 automation moved this from In progress to Done Aug 2, 2019
@sdispater sdispater deleted the pypi-tokens branch Aug 2, 2019
@sdispater sdispater moved this from Done to Closed in 1.0 Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant
You can’t perform that action at this time.