Skip to content

docs: replace outdated HTTP links with current HTTPS URLs#584

Merged
nicoddemus merged 1 commit into
pytest-dev:mainfrom
TejasAmle:claude/fix-outdated-http-links-in-docs
Jun 8, 2026
Merged

docs: replace outdated HTTP links with current HTTPS URLs#584
nicoddemus merged 1 commit into
pytest-dev:mainfrom
TejasAmle:claude/fix-outdated-http-links-in-docs

Conversation

@TejasAmle

Copy link
Copy Markdown
Contributor

What

Fix three outdated documentation links in the docs/ directory:

File Old URL New URL
docs/index.rst http://pip-installer.org/ https://pip.pypa.io/
docs/index.rst http://pypi.python.org/pypi/mock https://pypi.org/project/mock
docs/configuration.rst http://docs.pytest.org/en/stable/assert.html https://docs.pytest.org/en/stable/assert.html

Why

  • pip-installer.org is an old domain that no longer works (returns 403). The official pip documentation has been at pip.pypa.io for years.
  • pypi.python.org/pypi/mock uses the legacy PyPI URL format. PyPI migrated to pypi.org in 2018 and the old URL pattern (pypi.python.org/pypi/) is deprecated.
  • http://docs.pytest.org used plain HTTP; upgrading to HTTPS is a security best practice and the site redirects to HTTPS anyway.

How verified

Searched the docs/ directory for all http:// links, confirmed these three are the only ones present, and verified the replacement URLs are correct and use modern canonical forms.

- pip-installer.org is defunct; replace with pip.pypa.io
- pypi.python.org/pypi/mock uses old URL format; update to pypi.org/project/mock
- docs.pytest.org link was HTTP; update to HTTPS

@nicoddemus nicoddemus left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@nicoddemus nicoddemus merged commit 5669f7c into pytest-dev:main Jun 8, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants