]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.10] gh-129641: Docs GHA build: use upload-artifact@v4 & Python 3.12 (#129642)
authorPetr Viktorin <encukou@gmail.com>
Thu, 13 Feb 2025 01:31:51 +0000 (02:31 +0100)
committerGitHub <noreply@github.com>
Thu, 13 Feb 2025 01:31:51 +0000 (01:31 +0000)
commit7b0351cf6afb7ff8aae8d7fb2949e5578d483bca
treefe72025753e4a8c0e611f9e59a30f20fac40334f
parent2bd9f9b0547f6ffe40cd1dd964459ce11b58144d
[3.10] gh-129641: Docs GHA build: use upload-artifact@v4 & Python 3.12 (#129642)

* [3.10] gh-129641: Switch Docs GHA build to actions/upload-artifact@v4

Add options for backwards compatibility, from the docs at:
https://github.com/actions/upload-artifact?tab=readme-ov-file#breaking-changes

* Python Tutorial typo fix (#128077)

Backported form commit: 5a584c8f54bbeceae7ffa501291e29b7ddc8a0b9

This is a trivial change meant to trigger a Docs build.

* Use Python 3.12 for the 3.10 docs build

The pinned version of Sphinx requires `imghdr`, removed in Python 3.13.

---------

Co-authored-by: shallow-beach <96891913+shallow-beach@users.noreply.github.com>
.github/workflows/doc.yml
Doc/tutorial/classes.rst