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

Wrong add publishable repositories command in documentation #5808

Closed
1 task done
hktkzyx opened this issue Jun 9, 2022 · 1 comment · Fixed by #5809
Closed
1 task done

Wrong add publishable repositories command in documentation #5808

hktkzyx opened this issue Jun 9, 2022 · 1 comment · Fixed by #5809
Labels
area/docs Documentation issues/improvements

Comments

@hktkzyx
Copy link
Contributor

hktkzyx commented Jun 9, 2022

  • I have searched the issues of this repo and believe that this is not a duplicate.

Issue

In the latest document, the add publishable repositories command in the section of Repositories/Publishable Repositories is wrong.
When I run the command as shown in the document,

poetry config repository.testpypi https://upload.test.pypi.org/legacy/

a ValueError: You cannot remove the [repositories] section is raised. Although my poetry version is 1.1.13, I check the latest code and found the same problem in the latest version. Thus, no repository key, need replace it by repositories.

Besides, the upload legacy API for Test PyPI is not https://upload.test.pypi.org/legacy/. It should be https://test.pypi.org/legacy/. Therefore, this command should be revised to

poetry config repositories.testpypi https://test.pypi.org/legacy/
@hktkzyx hktkzyx added area/docs Documentation issues/improvements status/triage This issue needs to be triaged labels Jun 9, 2022
@mkniewallner mkniewallner removed the status/triage This issue needs to be triaged label Jun 11, 2022
Copy link

github-actions bot commented Mar 2, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/docs Documentation issues/improvements
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants