Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
f98314a
Remove setuptools/wheel upgrade instruction in tutorial
EpicWink Feb 2, 2026
735c291
Merge branch 'main' into remove-setuptools-wheel-upgrade
ncoghlan Mar 5, 2026
81f39b0
Merge remote-tracking branch 'upstream/main' into remove-setuptools-w…
EpicWink Mar 13, 2026
c326e30
Clarify file name precedence for archive, sdist, and wheel specificat…
brettcannon Mar 13, 2026
5271c1f
Clarify precedence of archive path and URL
brettcannon Mar 18, 2026
18ca3fc
Fix reference to wheels URL and path in pylock-toml
brettcannon Mar 18, 2026
8d30a0d
Merge branch 'main' into pylock-file-name-priority
brettcannon Mar 18, 2026
28f94d0
Merge branch 'main' into pylock-file-name-priority
woodruffw Apr 15, 2026
aee1973
Update references from Travis to GitHub Actions
brettcannon Apr 15, 2026
debe3e1
Replace Travis CI with GitHub Actions in documentation
brettcannon Apr 15, 2026
6616a37
Remove Travis mentions
brettcannon Apr 15, 2026
c628d80
Update uv_build version to 0.11.7
github-merge-queue[bot] Apr 20, 2026
242b6b4
Remove kivy.org from linkcheck
konstin Apr 20, 2026
27c43be
Merge pull request #2034 from konstin/konsti/remove-kivy-from-linkcheck
woodruffw Apr 20, 2026
1379de2
Merge branch 'main' into pylock-file-name-priority
brettcannon Apr 20, 2026
f9c4c87
Merge branch 'main' into pylock-file-name-priority
brettcannon Apr 20, 2026
cd31077
Merge pull request #2018 from brettcannon/pylock-file-name-priority
woodruffw Apr 20, 2026
9c3b1d8
Merge branch 'main' into bot/update-uv-build-version
woodruffw Apr 20, 2026
a205ebe
Merge pull request #2033 from pypa/bot/update-uv-build-version
woodruffw Apr 20, 2026
8cd185c
Merge branch 'main' into remove-setuptools-wheel-upgrade
woodruffw Apr 20, 2026
369cd63
Merge pull request #1999 from EpicWink/remove-setuptools-wheel-upgrade
ncoghlan Apr 20, 2026
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
2 changes: 2 additions & 0 deletions source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,8 @@
# Temporarily ignored due to expired TLS cert.
# Ref: https://github.com/pypa/packaging.python.org/issues/1998
r"https://blog\.ganssle\.io/.*",
# Temporarily ignored due to expired TLS cert.
r"https://kivy.org/.*",
]
linkcheck_retries = 2
linkcheck_timeout = 30
Expand Down
7 changes: 3 additions & 4 deletions source/guides/supporting-multiple-python-versions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,8 @@ of many continuous-integration systems. There are two hosted services which
when used in conjunction provide automated testing across Linux, Mac and
Windows:

- `Travis CI <https://travis-ci.com>`_ provides both a Linux and a macOS
environment. The Linux environment is Ubuntu 12.04 LTS Server Edition 64 bit
while the macOS is 10.9.2 at the time of writing.
- `GitHub Actions <https://docs.github.com/en/actions>`_ provides Windows,
Linux and a macOS environments.
- `Appveyor <https://www.appveyor.com/>`_ provides a Windows environment
(Windows Server 2012).

Expand All @@ -76,7 +75,7 @@ Windows:
TODO How do we keep the Travis Linux and macOS versions up-to-date in this
document?

Both `Travis CI`_ and Appveyor_ require a `YAML
Both `GitHub Actions`_ and Appveyor_ require a `YAML
<https://yaml.org>`_-formatted file as specification for the instructions
for testing. If any tests fail, the output log for that specific configuration
can be inspected.
Expand Down
13 changes: 3 additions & 10 deletions source/guides/supporting-windows-using-appveyor.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@ Many projects are developed on Unix by default, and providing Windows support
can be a challenge, because setting up a suitable Windows test environment is
non-trivial, and may require buying software licenses.

The Appveyor service is a continuous integration service, much like the
better-known `Travis`_ service that is commonly used for testing by projects
hosted on `GitHub`_. However, unlike Travis, the build workers on Appveyor are
Windows hosts and have the necessary compilers installed to build Python
extensions.

Windows users typically do not have access to a C compiler, and therefore are
reliant on projects that use C extensions distributing binary wheels on PyPI in
order for the distribution to be installable via ``python -m pip install <dist>``. By
Expand All @@ -46,8 +40,7 @@ your project is hosted on one of those two services, setting up Appveyor
integration is straightforward.

Once you have set up your Appveyor account and added your project, Appveyor will
automatically build your project each time a commit occurs. This behaviour will
be familiar to users of Travis.
automatically build your project each time a commit occurs.

Adding Appveyor support to your project
=======================================
Expand Down Expand Up @@ -179,7 +172,7 @@ other CI systems).

2. When used interactively, ``tox`` allows you to run your tests against multiple
environments (often, this means multiple Python versions). This feature is not as
useful in a CI environment like Travis or Appveyor, where all tests are run in
useful in a CI environment like Appveyor, where all tests are run in
isolated environments for each configuration. As a result, projects often supply
an argument ``-e ENVNAME`` to ``tox`` to specify which environment to use (there
are default environments for most versions of Python).
Expand Down Expand Up @@ -237,6 +230,6 @@ For reference, the SDK setup support script is listed here:
:linenos:

.. _Appveyor: https://www.appveyor.com/
.. _Travis: https://travis-ci.com/
.. _GitHub: https://github.com
.. _GitHub Actions: https://docs.github.com/en/actions
.. _Bitbucket: https://bitbucket.org/
2 changes: 1 addition & 1 deletion source/shared/build-backend-tabs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@
.. code-block:: toml

[build-system]
requires = ["uv_build >= 0.11.6, <0.12.0"]
requires = ["uv_build >= 0.11.7, <0.12.0"]
build-backend = "uv_build"
20 changes: 18 additions & 2 deletions source/specifications/pylock-toml.rst
Original file line number Diff line number Diff line change
Expand Up @@ -449,15 +449,26 @@ See :ref:`pylock-packages-vcs-subdirectory`.
``packages.archive.url``
''''''''''''''''''''''''

See :ref:`pylock-packages-vcs-url`.
- **Type**: string
- **Required?**: if :ref:`pylock-packages-archive-path` is not specified
- **Inspiration**: :ref:`direct-url-data-structure-archive`
- The URL_ to the archive.


.. _pylock-packages-archive-path:

``packages.archive.path``
'''''''''''''''''''''''''

See :ref:`pylock-packages-vcs-path`.
- **Type**: string
- **Required?**: if :ref:`pylock-packages-archive-url` is not specified
- **Inspiration**: :ref:`direct-url-data-structure-archive`
- The path to the archive.
- If a relative path is used it MUST be relative to the location of this file.
- If the path is relative it MAY use POSIX-style path separators explicitly
for portability.
- If :ref:`pylock-packages-archive-url` is also specified, the filename as
specified by this key takes precedence.


.. _pylock-packages-archive-size:
Expand Down Expand Up @@ -554,6 +565,8 @@ See :ref:`pylock-packages-vcs-subdirectory`.
the same value
- **Inspiration**: PDM_, Poetry_, uv_
- The file name of the :ref:`source-distribution-format-sdist` file.
- If specified, this key's value takes precedence over the file name found in
either :ref:`pylock-packages-sdist-url` or :ref:`pylock-packages-sdist-path`.


.. _pylock-packages-sdist-upload-time:
Expand Down Expand Up @@ -623,6 +636,8 @@ See :ref:`pylock-packages-archive-hashes`.
the same value
- **Inspiration**: PDM_, Poetry_, uv_
- The file name of the :ref:`binary-distribution-format` file.
- If specified, this key's value takes precedence over the file name found in
either :ref:`pylock-packages-wheels-url` or :ref:`pylock-packages-wheels-path`.


.. _pylock-packages-wheels-upload-time:
Expand Down Expand Up @@ -826,6 +841,7 @@ History
-------

- April 2025: Initial version, approved via :pep:`751`.
- 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
Expand Down
15 changes: 7 additions & 8 deletions source/tutorials/installing-packages.rst
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ If that still doesn't allow you to run ``python -m pip``:
<https://bootstrap.pypa.io/get-pip.py>`_ [1]_

* Run ``python get-pip.py``. [2]_ This will install or upgrade pip.
Additionally, it will install :ref:`setuptools` and :ref:`wheel` if they're
Additionally, it may install :ref:`setuptools` and :ref:`wheel` if they're
not installed already.

.. warning::
Expand All @@ -150,24 +150,23 @@ If that still doesn't allow you to run ``python -m pip``:
software.


Ensure pip, setuptools, and wheel are up to date
------------------------------------------------
Ensure pip is up to date
------------------------

While ``pip`` alone is sufficient to install from pre-built binary archives,
up to date copies of the ``setuptools`` and ``wheel`` projects are useful
to ensure you can also install from source archives:
Make sure you have the latest features and fixes, and support for the latest
Python packaging specifications.

.. tab:: Unix/macOS

.. code-block:: bash

python3 -m pip install --upgrade pip setuptools wheel
python3 -m pip install --upgrade pip

.. tab:: Windows

.. code-block:: bat

py -m pip install --upgrade pip setuptools wheel
py -m pip install --upgrade pip

Optionally, create a virtual environment
----------------------------------------
Expand Down
Loading