-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Linking to pip index page broken #7130
Copy link
Copy link
Closed
Labels
auto-lockedOutdated issues that have been locked by automationOutdated issues that have been locked by automationstate: blockedCan not be done until something else is doneCan not be done until something else is donetype: bugA confirmed bug or unintended behaviorA confirmed bug or unintended behaviortype: docsDocumentation relatedDocumentation related
Description
Environment
- pip version: 19.2.3
- Python version: 3.6
- OS: Linux
Description
The index ref in pips objects.inv leads to a non existent page https://pip.pypa.io/en/stable/pip
Expected behavior
The index ref in pips objects.inv should reference https://pip.pypa.io/en/stable/
How to Reproduce
- create new Sphinx project
- add
pipdocs to intersphinx mapping - reference index page (maybe more are affected)
- rendered link leads to nowhere
Output
$ sphinx-quickstart -p spam -a eggs -v 0.1 -r 0.1 -l en --sep --ext-intersphinx
# add pip to intersphinx mapping
$ sed -i 's;^intersphinx_mapping.*$;intersphinx_mapping = {"pip": ("https://pip.pypa.io/en/stable/", None)};' source/conf.py
# write dummy index
$ echo ':doc:`pip:index`' > source/index.rst
# run links validation
$ sphinx-build -Eab linkcheck source/ build
Running Sphinx v2.2.0
loading translations [en]... done
loading intersphinx inventory from https://pip.pypa.io/en/stable/objects.inv...
building [mo]: all of 0 po files
building [linkcheck]: all source files
updating environment: [new config] 1 added, 0 changed, 0 removed
reading sources... [100%] index
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [100%] index
(line 1) broken https://pip.pypa.io/en/stable/pip - 404 Client Error: Not Found for url: https://pip.pypa.io/en/stable/pip
build finished with problems.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
auto-lockedOutdated issues that have been locked by automationOutdated issues that have been locked by automationstate: blockedCan not be done until something else is doneCan not be done until something else is donetype: bugA confirmed bug or unintended behaviorA confirmed bug or unintended behaviortype: docsDocumentation relatedDocumentation related