Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@
r"https://typer\.tiangolo\.com/.*",
r"https://www.npmjs.com/.*",
r"https://docutils\.sourceforge\.io/.*",
r"https://hosted\.weblate\.org/.*",
# Temporarily ignored due to expired TLS cert.
# Ref: https://github.com/pypa/packaging.python.org/issues/1998
r"https://blog\.ganssle\.io/.*",
Expand Down
6 changes: 3 additions & 3 deletions source/guides/analyzing-pypi-package-downloads.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ limited resources.
Public dataset
==============

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

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

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


Data schema
Expand Down Expand Up @@ -351,7 +351,7 @@ References
.. _Google BigQuery: https://cloud.google.com/bigquery
.. _BigQuery web UI: https://console.cloud.google.com/bigquery
.. _pypinfo: https://github.com/ofek/pypinfo
.. _google-cloud-bigquery: https://cloud.google.com/bigquery/docs/reference/libraries
.. _google-cloud-bigquery: https://docs.cloud.google.com/bigquery/docs/reference/libraries
.. _pandas-gbq: https://pandas-gbq.readthedocs.io/en/latest/
.. _Pandas: https://pandas.pydata.org/
.. _ClickHouse: https://github.com/ClickHouse/ClickHouse
Expand Down
2 changes: 1 addition & 1 deletion source/guides/hosting-your-own-index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -134,4 +134,4 @@ Existing projects
.. [2] Can be configured to fall back to PyPI (or another package index)
if a requested package is missing.

.. _Twisted: https://twistedmatrix.com/
.. _Twisted: https://twisted.org/
4 changes: 2 additions & 2 deletions source/guides/installing-scientific-packages.rst
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,9 @@ written in Python, but is Python-agnostic. Conda manages Python itself as a
package, so that :command:`conda update python` is possible, in contrast to
pip, which only manages Python packages.

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.
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.

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/>`_.
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/>`_.


Conda packages are available on multiple channels on Anaconda.org, including the
Expand Down
2 changes: 1 addition & 1 deletion source/guides/installing-using-linux-tools.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ although :ref:`setuptools` is installed by default.

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

1. Enable the `EPEL repository <https://fedoraproject.org/wiki/EPEL>`_ using
1. Enable the `EPEL repository <https://docs.fedoraproject.org/en-US/epel/>`_ using
`these instructions
<https://docs.fedoraproject.org/en-US/epel/getting-started/>`__.
On EPEL 7, you can install pip and wheel like so:
Expand Down
2 changes: 1 addition & 1 deletion source/guides/packaging-binary-extensions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ also be considered:
need to create your own accelerator module.

* for long running applications, the JIT compiled `PyPy interpreter
<https://www.pypy.org/>`__ may offer a suitable alternative to the standard
<https://pypy.org/>`__ may offer a suitable alternative to the standard
CPython runtime. The main barrier to adopting PyPy is typically reliance
on other binary extension modules - while PyPy does emulate the CPython
C API, modules that rely on that cause problems for the PyPy JIT, and the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Let's begin! 馃殌

.. attention::

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>`_
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>`_
on each run for the ``pypi`` environment.


Expand Down Expand Up @@ -220,7 +220,7 @@ sure that your release pipeline remains healthy!

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

Expand Down
12 changes: 6 additions & 6 deletions source/guides/supporting-multiple-python-versions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ Supporting multiple Python versions
- DONE Travis and Shining Panda CI (Shining Panda no longer available)
- DONE Appveyor
- DONE Ned Batchelder's "What's in Which Python"
- http://nedbatchelder.com/blog/201310/whats_in_which_python_3.html
- http://nedbatchelder.com/blog/201109/whats_in_which_python.html
- http://nedbatchelder.com/blog/201310/whats_in_which_python_3
- http://nedbatchelder.com/blog/201109/whats_in_which_python
- Lennart Regebro's "Porting to Python 3"
- Greg Hewgill's script to identify the minimum version of Python
required to run a particular script:
Expand Down Expand Up @@ -95,7 +95,7 @@ The six_ module can be used from as early as Python 2.5. A tool called
Ronacher, can be used to automatically apply the code modifications provided
by six_.

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

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

Expand Down
2 changes: 1 addition & 1 deletion source/guides/writing-pyproject-toml.rst
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ A full example
.. _setuptools: https://setuptools.pypa.io
.. _poetry: https://python-poetry.org
.. _pypi-pip: https://pypi.org/project/pip
.. _pypi-search-pip: https://pypi.org/search?q=pip
.. _pypi-search-pip: https://pypi.org/search/?q=pip
.. _classifier-list: https://pypi.org/classifiers
.. _requires-python-blog-post: https://iscinumpy.dev/post/bound-version-constraints/#pinning-the-python-version-is-special
.. _pytest: https://pytest.org
Expand Down
18 changes: 9 additions & 9 deletions source/key_projects.rst
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ Pipenv
Pipenv is a project that aims to bring the best of all packaging worlds to the
Python world. It harnesses :ref:`Pipfile`, :ref:`pip`, and :ref:`virtualenv`
into one single toolchain. It can autoimport ``requirements.txt`` and also
check for CVEs in `Pipfile`_ using `safety <https://pyup.io/safety>`_.
check for CVEs in `Pipfile`_ using `safety <https://www.getsafety.com/cli/>`_.

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

`Docs <https://warehouse.pypa.io/>`__ |
`Issues <https://github.com/pypa/warehouse/issues>`__ |
`GitHub <https://github.com/pypa/warehouse>`__
`Issues <https://github.com/pypi/warehouse/issues>`__ |
`GitHub <https://github.com/pypi/warehouse>`__

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

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

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

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

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

pip-tools is a suite of tools meant for Python system administrators
Expand Down Expand Up @@ -663,7 +663,7 @@ and other indexes with caching.
Pulp-python
===========

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

Expand Down
6 changes: 3 additions & 3 deletions source/overview.rst
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ machines of developers and data scientists.

Technologies which support this model:

* :gh:`PEX <pantsbuild/pex#user-content-pex>` (Python EXecutable)
* :gh:`PEX <pex-tool/pex>` (Python EXecutable)
* :doc:`zipapp <python:library/zipapp>` (does not help manage dependencies, requires Python 3.5+)
* :gh:`shiv <linkedin/shiv#user-content-shiv>` (requires Python 3)

Expand Down Expand Up @@ -275,8 +275,8 @@ analytical, and other data-oriented environments, even making its way

Instructions on building and publishing for the Anaconda ecosystem:

* `Building libraries and applications with conda <https://conda.io/projects/conda-build/en/latest/user-guide/tutorials/index.html>`_
* `Transitioning a native Python package to Anaconda <https://conda.io/projects/conda-build/en/latest/user-guide/tutorials/build-pkgs-skeleton.html>`_
* `Building libraries and applications with conda <https://docs.conda.io/projects/conda-build/en/latest/user-guide/tutorials/index.html>`_
* `Transitioning a native Python package to Anaconda <https://docs.conda.io/projects/conda-build/en/latest/user-guide/tutorials/build-pkgs-skeleton.html>`_

A similar model involves installing an alternative Python
distribution, but does not support arbitrary operating system-level
Expand Down
2 changes: 1 addition & 1 deletion source/specifications/dependency-specifiers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ References
(http://pip.readthedocs.org/en/stable/)

.. [#parsley] The parsley PEG library.
(https://pypi.python.org/pypi/parsley/)
(https://pypi.org/project/Parsley/)

.. [#future_versions] Future Python versions might be problematic with the
definition of Environment Marker Variable ``python_version``
Expand Down
4 changes: 2 additions & 2 deletions source/specifications/pylock-toml.rst
Original file line number Diff line number Diff line change
Expand Up @@ -844,9 +844,9 @@ History
- March 2026: Clarify file name precedence for archives, sdists, and wheels.


.. _Content-Length: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Length
.. _Content-Length: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Content-Length
.. _Dependabot: https://docs.github.com/en/code-security/dependabot
.. _HEAD: https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/HEAD
.. _HEAD: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Methods/HEAD
.. _PDM: https://pypi.org/project/pdm/
.. _pip-tools: https://pypi.org/project/pip-tools/
.. _Poetry: https://pypi.org/project/poetry/
Expand Down
2 changes: 1 addition & 1 deletion source/specifications/pyproject-toml.rst
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ Arbitrary tool configuration: the ``[tool]`` table
The ``[tool]`` table is where any tool related to your Python
project, not just build tools, can have users specify configuration
data as long as they use a sub-table within ``[tool]``, e.g. the
`flit <https://pypi.python.org/pypi/flit>`_ tool would store its
`flit <https://pypi.org/project/flit/>`_ tool would store its
configuration in ``[tool.flit]``.

A mechanism is needed to allocate names within the ``tool.*``
Expand Down
2 changes: 1 addition & 1 deletion source/specifications/simple-repository-api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -727,7 +727,7 @@ addition, it would be beneficial if any possible new major version to the API ca
be added without disrupting existing clients expecting the previous API version.

To enable this, this spec standardizes on the use of HTTP's
`Server-Driven Content Negotiation <https://developer.mozilla.org/en-US/docs/Web/HTTP/Content_negotiation>`_.
`Server-Driven Content Negotiation <https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Content_negotiation>`_.

While this spec won't fully describe the entirety of server-driven content
negotiation, the flow is roughly:
Expand Down
2 changes: 1 addition & 1 deletion source/tutorials/installing-packages.rst
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ directory to your :envvar:`PATH`:

.. _user base: https://docs.python.org/3/library/site.html#site.USER_BASE
.. _modifying ~/.profile: https://stackoverflow.com/a/14638025
.. _Control Panel: https://docs.microsoft.com/en-us/windows/win32/shell/user-environment-variables?redirectedfrom=MSDN
.. _Control Panel: https://learn.microsoft.com/en-us/windows/win32/shell/user-environment-variables

Requirements files
==================
Expand Down
2 changes: 1 addition & 1 deletion source/tutorials/managing-dependencies.rst
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ and techniques, listed in alphabetical order, to see if one of them is a better
Python applications, but not limited to them.
* `PDM <https://github.com/pdm-project/pdm>`_ for a modern Python package
management relying on standards such as :pep:`517` and :pep:`621`.
* `pip-tools <https://github.com/jazzband/pip-tools>`_ for creating a lock file of all
* `pip-tools <https://github.com/pypa/pip-tools>`_ for creating a lock file of all
dependencies from a list of packages directly used in a project, and ensuring that
only those dependencies are installed.
* `Poetry <https://github.com/python-poetry/poetry>`__ for a tool comparable in scope
Expand Down
Loading