Skip to content

Incorrect URL for .pypirc format #638

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

Closed
stdedos opened this issue May 27, 2020 · 6 comments · Fixed by #655
Closed

Incorrect URL for .pypirc format #638

stdedos opened this issue May 27, 2020 · 6 comments · Fixed by #655

Comments

@stdedos
Copy link

stdedos commented May 27, 2020

u@h:~/pak$ twine upload .tox/dist/* -r test-pypi
InvalidConfiguration: Missing 'test-pypi' section from the configuration file
or not a complete URL in --repository-url.
Maybe you have a out-dated '~/.pypirc' format?
more info: https://docs.python.org/distutils/packageindex.html#pypirc

Last v3 url that's valid is https://docs.python.org/3.6/distutils/packageindex.html#pypirc (and Google offers https://docs.python.org/3.3/distutils/packageindex.html#pypirc)

@bhrutledge bhrutledge added question Discussion/decision needed from maintainers documentation labels May 28, 2020
@bhrutledge bhrutledge changed the title "More info" URL is broken Missing documention for .pypirc format May 28, 2020
@sigmavirus24
Copy link
Member

The right place is PPUG because we don't own that format or control it

@stdedos
Copy link
Author

stdedos commented May 28, 2020

PPUG? 😕

@bhrutledge
Copy link
Contributor

bhrutledge commented May 28, 2020

PPUG? 😕

@stdedos Python Packaging User Guide. I trimmed your comment for future readability.

@bhrutledge
Copy link
Contributor

@stdedos Thanks for creating pypa/packaging.python.org#730. I moved my suggestions there.

@sigmavirus24 I think this is still an issue with twine, because the error message points to an outdated URL, which will need to change once .pypirc is documented. Also, I think it would be helpful to link to that document in the twine docs.

With that in mind, I'm going to reopen this, and mark it as blocked.

@bhrutledge bhrutledge reopened this May 28, 2020
@bhrutledge bhrutledge added blocked Issues we can't or shouldn't get to yet and removed question Discussion/decision needed from maintainers labels May 28, 2020
@bhrutledge bhrutledge changed the title Missing documention for .pypirc format Incorrect URL for .pypirc format May 28, 2020
@bhrutledge
Copy link
Contributor

I've got a draft PR up at pypa/packaging.python.org#734. Feedback welcome there.

@bhrutledge
Copy link
Contributor

With the merge of pypa/packaging.python.org#734, I think is unblocked. I'm aiming to resolve this issue this weekend by fixing the link in the exception, and adding a link to the spec in Twine's docs.

@bhrutledge bhrutledge added bug and removed blocked Issues we can't or shouldn't get to yet labels Jun 5, 2020
bhrutledge added a commit to bhrutledge/cpython that referenced this issue Jun 6, 2020
To resolve pypa/twine#638 and pypa/packaging.python.org#730, I wrote a spec based on the one that was removed in python#13087. However, a Google search for "pypirc" turned up at least one [blog post](https://truveris.github.io/articles/configuring-pypirc/) that links to https://docs.python.org/3/distutils/packageindex.html#the-pypirc-file, which now just links to this document. So, I thought a link to the spec would be handy.
miss-islington pushed a commit to python/cpython that referenced this issue Jun 20, 2020
Related to pypa/twine#638 and pypa/packaging.python.org#730, I wrote a spec based on the one that was removed in #13087. However, a Google search for "pypirc" turned up at least one [blog post](https://truveris.github.io/articles/configuring-pypirc/) that links to https://docs.python.org/3/distutils/packageindex.html#the-pypirc-file, which now just links to this document. So, I thought a link to the spec would be handy.

Automerge-Triggered-By: @jaraco
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Jun 20, 2020
Related to pypa/twine#638 and pypa/packaging.python.org#730, I wrote a spec based on the one that was removed in python#13087. However, a Google search for "pypirc" turned up at least one [blog post](https://truveris.github.io/articles/configuring-pypirc/) that links to https://docs.python.org/3/distutils/packageindex.htmlGH-the-pypirc-file, which now just links to this document. So, I thought a link to the spec would be handy.

Automerge-Triggered-By: @jaraco
(cherry picked from commit af157fa)

Co-authored-by: Brian Rutledge <[email protected]>
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Jun 20, 2020
Related to pypa/twine#638 and pypa/packaging.python.org#730, I wrote a spec based on the one that was removed in python#13087. However, a Google search for "pypirc" turned up at least one [blog post](https://truveris.github.io/articles/configuring-pypirc/) that links to https://docs.python.org/3/distutils/packageindex.htmlGH-the-pypirc-file, which now just links to this document. So, I thought a link to the spec would be handy.

Automerge-Triggered-By: @jaraco
(cherry picked from commit af157fa)

Co-authored-by: Brian Rutledge <[email protected]>
miss-islington added a commit to python/cpython that referenced this issue Jun 20, 2020
Related to pypa/twine#638 and pypa/packaging.python.org#730, I wrote a spec based on the one that was removed in #13087. However, a Google search for "pypirc" turned up at least one [blog post](https://truveris.github.io/articles/configuring-pypirc/) that links to https://docs.python.org/3/distutils/packageindex.htmlGH-the-pypirc-file, which now just links to this document. So, I thought a link to the spec would be handy.

Automerge-Triggered-By: @jaraco
(cherry picked from commit af157fa)

Co-authored-by: Brian Rutledge <[email protected]>
jaraco pushed a commit to python/cpython that referenced this issue Jun 20, 2020
Related to pypa/twine#638 and pypa/packaging.python.org#730, I wrote a spec based on the one that was removed in #13087. However, a Google search for "pypirc" turned up at least one [blog post](https://truveris.github.io/articles/configuring-pypirc/) that links to https://docs.python.org/3/distutils/packageindex.htmlGH-the-pypirc-file, which now just links to this document. So, I thought a link to the spec would be handy.

Automerge-Triggered-By: @jaraco
(cherry picked from commit af157fa)

Co-authored-by: Brian Rutledge <[email protected]>

Co-authored-by: Brian Rutledge <[email protected]>
fasih pushed a commit to fasih/cpython that referenced this issue Jun 29, 2020
Related to pypa/twine#638 and pypa/packaging.python.org#730, I wrote a spec based on the one that was removed in python#13087. However, a Google search for "pypirc" turned up at least one [blog post](https://truveris.github.io/articles/configuring-pypirc/) that links to https://docs.python.org/3/distutils/packageindex.html#the-pypirc-file, which now just links to this document. So, I thought a link to the spec would be handy.

Automerge-Triggered-By: @jaraco
arun-mani-j pushed a commit to arun-mani-j/cpython that referenced this issue Jul 21, 2020
Related to pypa/twine#638 and pypa/packaging.python.org#730, I wrote a spec based on the one that was removed in python#13087. However, a Google search for "pypirc" turned up at least one [blog post](https://truveris.github.io/articles/configuring-pypirc/) that links to https://docs.python.org/3/distutils/packageindex.html#the-pypirc-file, which now just links to this document. So, I thought a link to the spec would be handy.

Automerge-Triggered-By: @jaraco
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants