Skip to content

Commit 6fa4790

Browse files
authored
Merge pull request #2174 from henryiii/linkcheck-redirects
docs: update permanently redirected links
2 parents 6c2e8ea + 8c65526 commit 6fa4790

17 files changed

Lines changed: 37 additions & 36 deletions

‎source/conf.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@
165165
r"https://typer\.tiangolo\.com/.*",
166166
r"https://www.npmjs.com/.*",
167167
r"https://docutils\.sourceforge\.io/.*",
168+
r"https://hosted\.weblate\.org/.*",
168169
# Temporarily ignored due to expired TLS cert.
169170
# Ref: https://github.com/pypa/packaging.python.org/issues/1998
170171
r"https://blog\.ganssle\.io/.*",

‎source/guides/analyzing-pypi-package-downloads.rst‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ limited resources.
4141
Public dataset
4242
==============
4343

44-
As an alternative, the `Linehaul project <https://github.com/pypa/linehaul-cloud-function/>`__
44+
As an alternative, the `Linehaul project <https://github.com/pypi/linehaul-cloud-function/>`__
4545
streams download logs from PyPI to `Google BigQuery`_ [#]_, where they are
4646
stored as a public dataset.
4747

@@ -61,7 +61,7 @@ per month `using the BigQuery free tier without a credit card
6161

6262
For more detailed instructions on how to get started with BigQuery, check out
6363
the `BigQuery quickstart guide
64-
<https://cloud.google.com/bigquery/docs/quickstarts/quickstart-web-ui>`__.
64+
<https://docs.cloud.google.com/bigquery/docs/sandbox>`__.
6565

6666

6767
Data schema
@@ -351,7 +351,7 @@ References
351351
.. _Google BigQuery: https://cloud.google.com/bigquery
352352
.. _BigQuery web UI: https://console.cloud.google.com/bigquery
353353
.. _pypinfo: https://github.com/ofek/pypinfo
354-
.. _google-cloud-bigquery: https://cloud.google.com/bigquery/docs/reference/libraries
354+
.. _google-cloud-bigquery: https://docs.cloud.google.com/bigquery/docs/reference/libraries
355355
.. _pandas-gbq: https://pandas-gbq.readthedocs.io/en/latest/
356356
.. _Pandas: https://pandas.pydata.org/
357357
.. _ClickHouse: https://github.com/ClickHouse/ClickHouse

‎source/guides/hosting-your-own-index.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,4 +134,4 @@ Existing projects
134134
.. [2] Can be configured to fall back to PyPI (or another package index)
135135
if a requested package is missing.
136136
137-
.. _Twisted: https://twistedmatrix.com/
137+
.. _Twisted: https://twisted.org/

‎source/guides/installing-scientific-packages.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,9 @@ written in Python, but is Python-agnostic. Conda manages Python itself as a
130130
package, so that :command:`conda update python` is possible, in contrast to
131131
pip, which only manages Python packages.
132132

133-
Anaconda `Anaconda <https://docs.anaconda.com/anaconda/>`_ is a Python distribution published by Anaconda, Inc. It is a stable collection of Open Source packages for big data and scientific use, and a collection of Graphical Interface utilities for managing conda environments.
133+
Anaconda `Anaconda <https://www.anaconda.com/docs/getting-started/concepts/anaconda-or-miniconda>`_ is a Python distribution published by Anaconda, Inc. It is a stable collection of Open Source packages for big data and scientific use, and a collection of Graphical Interface utilities for managing conda environments.
134134

135-
In addition to the full distribution provided by Anaconda, the conda package manager itself is available in `miniconda <https://docs.anaconda.com/miniconda/>`_, `miniforge <https://github.com/conda-forge/miniforge>`_, and `pixi <https://pixi.sh/>`_.
135+
In addition to the full distribution provided by Anaconda, the conda package manager itself is available in `miniconda <https://www.anaconda.com/docs/getting-started/concepts/anaconda-or-miniconda>`_, `miniforge <https://github.com/conda-forge/miniforge>`_, and `pixi <https://pixi.prefix.dev/>`_.
136136

137137

138138
Conda packages are available on multiple channels on Anaconda.org, including the

‎source/guides/installing-using-linux-tools.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ although :ref:`setuptools` is installed by default.
4949

5050
To install pip and wheel for the system Python, there are two options:
5151

52-
1. Enable the `EPEL repository <https://fedoraproject.org/wiki/EPEL>`_ using
52+
1. Enable the `EPEL repository <https://docs.fedoraproject.org/en-US/epel/>`_ using
5353
`these instructions
5454
<https://docs.fedoraproject.org/en-US/epel/getting-started/>`__.
5555
On EPEL 7, you can install pip and wheel like so:

‎source/guides/packaging-binary-extensions.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ also be considered:
134134
need to create your own accelerator module.
135135

136136
* for long running applications, the JIT compiled `PyPy interpreter
137-
<https://www.pypy.org/>`__ may offer a suitable alternative to the standard
137+
<https://pypy.org/>`__ may offer a suitable alternative to the standard
138138
CPython runtime. The main barrier to adopting PyPy is typically reliance
139139
on other binary extension modules - while PyPy does emulate the CPython
140140
C API, modules that rely on that cause problems for the PyPy JIT, and the

‎source/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Let's begin! 🚀
7575

7676
.. attention::
7777

78-
For security reasons, you must require `manual approval <https://docs.github.com/en/actions/how-tos/managing-workflow-runs-and-deployments/managing-deployments/managing-environments-for-deployment#creating-an-environment>`_
78+
For security reasons, you must require `manual approval <https://docs.github.com/en/actions/how-tos/deploy/configure-and-manage-deployments/manage-environments#creating-an-environment>`_
7979
on each run for the ``pypi`` environment.
8080

8181

@@ -220,7 +220,7 @@ sure that your release pipeline remains healthy!
220220

221221
If your repository has frequent commit activity and every push is uploaded
222222
to TestPyPI as described, the project might exceed the
223-
`PyPI project size limit <https://pypi.org/help/#project-size-limit>`_.
223+
`PyPI project size limit <https://docs.pypi.org/project-management/storage-limits/#project-size-limits>`_.
224224
The limit could be increased, but a better solution may constitute to
225225
use a PyPI-compatible server like :ref:`pypiserver` in the CI for testing purposes.
226226

‎source/guides/supporting-multiple-python-versions.rst‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ Supporting multiple Python versions
2222
- DONE Travis and Shining Panda CI (Shining Panda no longer available)
2323
- DONE Appveyor
2424
- DONE Ned Batchelder's "What's in Which Python"
25-
- http://nedbatchelder.com/blog/201310/whats_in_which_python_3.html
26-
- http://nedbatchelder.com/blog/201109/whats_in_which_python.html
25+
- http://nedbatchelder.com/blog/201310/whats_in_which_python_3
26+
- http://nedbatchelder.com/blog/201109/whats_in_which_python
2727
- Lennart Regebro's "Porting to Python 3"
2828
- Greg Hewgill's script to identify the minimum version of Python
2929
required to run a particular script:
@@ -95,7 +95,7 @@ The six_ module can be used from as early as Python 2.5. A tool called
9595
Ronacher, can be used to automatically apply the code modifications provided
9696
by six_.
9797

98-
Similar to six_, `python-future <http://python-future.org/overview.html>`_ is
98+
Similar to six_, `python-future <https://python-future.org/overview.html>`_ is
9999
a package that provides a compatibility layer between Python 2 and Python 3
100100
source code; however, unlike six_, this package aims to provide
101101
interoperability between Python 2 and Python 3 with a language syntax that
@@ -122,9 +122,9 @@ What's in which Python?
122122
-----------------------
123123

124124
Ned Batchelder provides a list of changes in each Python release for
125-
`Python 2 <https://nedbatchelder.com/blog/201109/whats_in_which_python.html>`__,
126-
`Python 3.0-3.3 <https://nedbatchelder.com/blog/201310/whats_in_which_python_3.html>`__ and
127-
`Python 3.4-3.6 <https://nedbatchelder.com/blog/201803/whats_in_which_python_3436.html>`__.
125+
`Python 2 <https://nedbatchelder.com/blog/201109/whats_in_which_python>`__,
126+
`Python 3.0-3.3 <https://nedbatchelder.com/blog/201310/whats_in_which_python_3>`__ and
127+
`Python 3.4-3.6 <https://nedbatchelder.com/blog/201803/whats_in_which_python_3436>`__.
128128
These lists may be used to check whether any changes between Python versions
129129
may affect your package.
130130

‎source/guides/writing-pyproject-toml.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ A full example
614614
.. _setuptools: https://setuptools.pypa.io
615615
.. _poetry: https://python-poetry.org
616616
.. _pypi-pip: https://pypi.org/project/pip
617-
.. _pypi-search-pip: https://pypi.org/search?q=pip
617+
.. _pypi-search-pip: https://pypi.org/search/?q=pip
618618
.. _classifier-list: https://pypi.org/classifiers
619619
.. _requires-python-blog-post: https://iscinumpy.dev/post/bound-version-constraints/#pinning-the-python-version-is-special
620620
.. _pytest: https://pytest.org

‎source/key_projects.rst‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ Pipenv
211211
Pipenv is a project that aims to bring the best of all packaging worlds to the
212212
Python world. It harnesses :ref:`Pipfile`, :ref:`pip`, and :ref:`virtualenv`
213213
into one single toolchain. It can autoimport ``requirements.txt`` and also
214-
check for CVEs in `Pipfile`_ using `safety <https://pyup.io/safety>`_.
214+
check for CVEs in `Pipfile`_ using `safety <https://www.getsafety.com/cli/>`_.
215215

216216
Pipenv aims to help users manage environments, dependencies, and
217217
imported packages on the command line. It also works well on Windows
@@ -349,8 +349,8 @@ Warehouse
349349
=========
350350

351351
`Docs <https://warehouse.pypa.io/>`__ |
352-
`Issues <https://github.com/pypa/warehouse/issues>`__ |
353-
`GitHub <https://github.com/pypa/warehouse>`__
352+
`Issues <https://github.com/pypi/warehouse/issues>`__ |
353+
`GitHub <https://github.com/pypi/warehouse>`__
354354

355355
The current codebase powering the :term:`Python Package Index
356356
(PyPI)`. It is hosted at `pypi.org <https://pypi.org/>`_. The default
@@ -407,10 +407,10 @@ Conda is a package, dependency, and environment management system for any langua
407407
Ruby, C/C++, Fortran, and more. It is written in Python and
408408
widely used in the Python scientific computing community, due to its support for non-Python
409409
compiled libraries and extensions. It is used as the basis of the `Anaconda
410-
<https://docs.anaconda.com/anaconda/>`__ Python distribution from Anaconda, Inc. It was originally
410+
<https://www.anaconda.com/docs/getting-started/concepts/anaconda-or-miniconda>`__ Python distribution from Anaconda, Inc. It was originally
411411
aimed at the scientific community, but can also be used on its own, or with the
412412
:doc:`miniconda <conda:miniconda>`, `miniforge <https://github.com/conda-forge/miniforge>`_ or
413-
`pixi <https://pixi.sh/>`_ systems. It is available for Windows, Mac and Linux systems.
413+
`pixi <https://pixi.prefix.dev/>`_ systems. It is available for Windows, Mac and Linux systems.
414414

415415
Conda is a completely separate tool from :ref:`pip`, virtualenv and wheel, but provides
416416
many of their combined features, such as package management, virtual environment
@@ -574,8 +574,8 @@ project metadata as defined in :pep:`621`.
574574
pex
575575
===
576576

577-
`Docs <https://pex.readthedocs.io/en/latest/>`__ |
578-
`GitHub <https://github.com/pantsbuild/pex/>`__ |
577+
`Docs <https://docs.pex-tool.org/>`__ |
578+
`GitHub <https://github.com/pex-tool/pex/>`__ |
579579
`PyPI <https://pypi.org/project/pex>`__
580580

581581
Pex is a tool for generating :file:`.pex` (Python EXecutable)
@@ -593,7 +593,7 @@ pip-tools
593593
=========
594594

595595
`Docs <https://pip-tools.readthedocs.io/en/latest/>`__ |
596-
`GitHub <https://github.com/jazzband/pip-tools/>`__ |
596+
`GitHub <https://github.com/pypa/pip-tools/>`__ |
597597
`PyPI <https://pypi.org/project/pip-tools/>`__
598598

599599
pip-tools is a suite of tools meant for Python system administrators
@@ -663,7 +663,7 @@ and other indexes with caching.
663663
Pulp-python
664664
===========
665665

666-
`Docs <https://docs.pulpproject.org/pulp_python/>`__ |
666+
`Docs <https://pulpproject.org/pulp_python/>`__ |
667667
:gh:`GitHub <pulp/pulp_python>` |
668668
`PyPI <https://pypi.org/project/pulp-python/>`__
669669

0 commit comments

Comments
 (0)