From 4f68e7e96664637ec02d774deb8111ccc648b2f5 Mon Sep 17 00:00:00 2001 From: Rob <5183487+Rexeh@users.noreply.github.com> Date: Sat, 30 Mar 2024 18:59:02 +0000 Subject: [PATCH 1/2] Repositories update to resolve https://github.com/python-poetry/poetry/issues/6659 --- docs/repositories.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/repositories.md b/docs/repositories.md index 6c8d5e0845e..4e7affe1888 100644 --- a/docs/repositories.md +++ b/docs/repositories.md @@ -511,6 +511,10 @@ Once you have created a new token, you can tell Poetry to use it: ```bash poetry config pypi-token.pypi ``` +If you have configured **testpypi** as a [Publishable Repository](#publishable-repositories), the token can be set using +```bash +poetry config pypi-token.test-pypi +``` If you still want to use your username and password, you can do so with the following call to `config`. From c45751f54e2dded402aad4c2948d7abc624147b3 Mon Sep 17 00:00:00 2001 From: Rob <5183487+Rexeh@users.noreply.github.com> Date: Sat, 30 Mar 2024 19:05:40 +0000 Subject: [PATCH 2/2] fixup! Repositories update to resolve https://github.com/python-poetry/poetry/issues/6659 --- docs/repositories.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/repositories.md b/docs/repositories.md index 4e7affe1888..0cc0a6761d3 100644 --- a/docs/repositories.md +++ b/docs/repositories.md @@ -513,7 +513,7 @@ poetry config pypi-token.pypi ``` If you have configured **testpypi** as a [Publishable Repository](#publishable-repositories), the token can be set using ```bash -poetry config pypi-token.test-pypi +poetry config pypi-token.testpypi ``` If you still want to use your username and password, you can do so with the following