Commit graph

358 commits

Author SHA1 Message Date
Miss Islington (bot)
6990fbb289
[3.13] gh-142859: Add Tools/check-c-api-docs to mypy check (GH-142860) (#142870)
gh-142859: Add `Tools/check-c-api-docs` to mypy check (GH-142860)
(cherry picked from commit 248eb3efb3)

Co-authored-by: sobolevn <mail@sobolevn.me>
2025-12-17 11:47:36 +00:00
Peter Bierma
5569ffedd8
[3.13] gh-141004: Add a CI job ensuring that new C APIs include documentation (GH-142102) (GH-142248)
* gh-141004: Add a CI job ensuring that new C APIs include documentation (GH-142102)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
(cherry picked from commit 1a7824a927)

* [3.13] gh-141004: Add a CI job ensuring that new C APIs include documentation (GH-142102)
(cherry picked from commit 1a7824a927)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>

* Update Tools/check-c-api-docs/ignored_c_api.txt

---------

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-12-14 22:19:48 -05:00
Stan Ulbrych
71bdb38a8d
[3.13] gh-142278: Add granular change detection for platforms in CI (GH-142350) (#142578)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-12-11 16:44:05 +00:00
Hugo van Kemenade
76db223ff8
[3.13] GH-139596: Cease caching config.cache & ccache in GH Actions (GH-141429) (#141569)
(cherry picked from commit a2442fda6e)

Co-authored-by: Gregory P. Smith <68491+gpshead@users.noreply.github.com>
2025-11-14 14:51:36 -08:00
Hugo van Kemenade
56146059d3
[3.13] gh-139590: Stricter ruff rules for Tools/wasm (GH-139752) (#140986)
Co-authored-by: sobolevn <mail@sobolevn.me>
2025-11-04 18:17:57 +00:00
Miss Islington (bot)
2072386e05
[3.13] Remove Cirrus macOS runners from CI (GH-139799) (#139803)
Co-authored-by: Jacob Coffee <jacob@z7x.org>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-10-08 19:38:52 +00:00
Jacob Coffee
fb89b305b0
[3.13] gh-137638: Use macos-15-intel in GitHub Actions (GH-139154) (#139790)
Co-authored-by: Jacob Coffee <jacob@z7x.org>
Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-10-08 16:16:41 +00:00
Miss Islington (bot)
d3a4e0608b
[3.13] gh-137242: Allow Android testbed to take all Python command-line options (GH-138805) (#139638)
Modifies the Android test runner to ensure that all valid Python command line
options are preserved when running the test suite.
(cherry picked from commit a9b0506d8d)

Co-authored-by: Malcolm Smith <smith@chaquo.com>
2025-10-06 06:25:58 +00:00
Zachary Ware
dbcaa25839
[3.13] gh-139573: Update OpenSSL in CI (GH-139585)
(cherry picked from commit 98e748b3a0)
2025-10-04 20:52:08 -05:00
Hugo van Kemenade
443d4af2ee
[3.13] gh-138744: GitHub Actions: pin to windows-2022 (GH-138743) (#138753) 2025-09-10 19:15:22 +03:00
Bénédikt Tran
8629d466f0
[3.13] gh-135261: bring back CI job for testing OpenSSL 1.1.1w (GH-135262) (#138110)
This partially reverts commit ad944b5e1f
by bringing back the CI job for testing OpenSSL 1.1.1w. Despite this
version being upstream EOL, the rationale for keeping it as follows:

- It most resembles other 1.1.1-work-a-like ssl APIs supported by important vendors.
- Python officially requires OpenSSL 1.1.1 or later, although OpenSSL 3.0 or later
  is recommended for cryptographic modules. Since changing the build requirements
  requires a transition period, we need to keep testing the allowed versions.
- The code base still contains calls to OpenSSL functions that are deprecated since
  OpenSSL 3.0 as well as `ifdef` blocks constrained to OpenSSL 1.1.1.

(cherry picked from commit 96b7a2eba4)
2025-08-24 09:47:09 +00:00
sobolevn
165532ccdb
[3.13] gh-133403: Run mypy on Tools/build/mypy.ini changes (GH-137692) (#137699)
(cherry picked from commit e93dca7223)
2025-08-13 06:18:29 +00:00
sobolevn
5e48662726
[3.13] gh-133403: Check generate_stdlib_module_names and check_extension_modules with mypy (GH-137546) (#137691)
(cherry picked from commit 68a61b0f1d)
2025-08-13 08:47:48 +03:00
Hugo van Kemenade
30194914c2
[3.13] gh-137242: Add Android CI job (GH-137186) (#137684)
(cherry picked from commit f660ec3753)

Co-authored-by: Malcolm Smith <smith@chaquo.com>
Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
2025-08-13 06:00:20 +08:00
🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко)
5d64571b43
[3.13] Update pre-commit hooks (GH-137591) (GH-137641)
(cherry picked from commit b36d23f58e)

Co-authored-by: Malcolm Smith <smith@chaquo.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-08-12 13:42:55 +02:00
Miss Islington (bot)
05292462b6
[3.13] gh-136155: Docs: check for EPUB fatal errors in CI (GH-134074) (#137538)
Co-authored-by: Maciej Olko <maciej.olko@affirm.com>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-08-08 19:05:24 +03:00
🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко)
6a217cef27
[3.13] GH-111758: Merge TSan and UBSan reusable GHA workflows (#136820) (GH-137029)
(cherry picked from commit 65d2c51c10)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Sviatoslav Sydorenko <webknjaz@redhat.com>
2025-08-01 15:00:48 +02:00
Miss Islington (bot)
55aba16059
[3.13] gh-134309: Add `github.actor` to the GitHub Actions concurrency key (GH-134310) (#134485)
gh-134309: Add ``github.actor`` to the GitHub Actions concurrency key (GH-134310)

When inexperienced users create a PR from their default branch, all of the concurrency keys
collide as there is no namespacing. This becomes an issue at events with many new contributors,
where workflow runs are cancelled on other pull requests.
Disambiguate by adding the username of the relevant 'actor' to the concurrency key.
(cherry picked from commit 979d81a179)





Authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>

Co-authored-by: Kira <coldcaption@gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Sviatoslav Sydorenko <sviat@redhat.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2025-05-22 04:12:08 +00:00
Miss Islington (bot)
bc1a6ecfab
[3.13] gh-133410: Fix PR detection in build workflow (GH-133671) (#134054)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-05-15 16:41:47 +03:00
sobolevn
cec0e13fd4
[3.13] gh-133403: Check Tools/build/deepfreeze.py with mypy (GH-133802) (#134040)
(cherry picked from commit 7eaa097390)
2025-05-15 13:43:15 +03:00
Miss Islington (bot)
c2cddb7466
[3.13] gh-133403: Check Tools/build/verify_ensurepip_wheels.py with mypy (GH-133453) (#133690)
gh-133403: Check `Tools/build/verify_ensurepip_wheels.py` with mypy (GH-133453)
(cherry picked from commit 5f3d3f2a6c)

Co-authored-by: Flosckow <66554425+Flosckow@users.noreply.github.com>
Co-authored-by: Daniil Dumchenko <dumchenko.de@sibvaleo.com>
Co-authored-by: sobolevn <mail@sobolevn.me>
2025-05-08 18:17:43 +00:00
Miss Islington (bot)
1105ed316b
[3.13] GH-133410: Use commit hashes for change detection (gh-133416) (#133427)
GH-133410: Use commit hashes for change detection (gh-133416)
(cherry picked from commit d530e74e44)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-05-05 10:26:58 -07:00
Miss Islington (bot)
110bec88bf
[3.13] Remove redundant `--keep-going` when running Sphinx (GH-133156) (#133214)
Remove redundant ``--keep-going`` when running Sphinx (GH-133156)
(cherry picked from commit c78216e42c)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-04-30 17:44:00 +01:00
Miss Islington (bot)
0458554482
[3.13] gh-133117: Run mypy on tomllib in CI (GH-133118) (#133192)
gh-133117: Run mypy on `tomllib` in CI (GH-133118)
(cherry picked from commit 5ea9010e89)

Co-authored-by: sobolevn <mail@sobolevn.me>
2025-04-30 12:57:57 +00:00
Miss Islington (bot)
0b1e676f70
[3.13] Run mypy workflow on _colorize.py and Misc/mypy/** changes (GH-133116) (#133133)
Run mypy workflow on `_colorize.py` and `Misc/mypy/**` changes (GH-133116)
(cherry picked from commit 01f11a0e4e)

Co-authored-by: sobolevn <mail@sobolevn.me>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-04-29 08:48:08 +00:00
Miss Islington (bot)
76840557bc
[3.13] gh-132912: Set 15 min timeout on GHA Hypothesis CI (GH-132914) (#132937)
gh-132912: Set 15 min timeout on GHA Hypothesis CI (GH-132914)
(cherry picked from commit eb2e430b88)

Co-authored-by: Victor Stinner <vstinner@python.org>
2025-04-25 13:54:36 +00:00
Miss Islington (bot)
ce921075e8
[3.13] CI: set correct working directory for Hypothesis cache (GH-119345) (#132364)
CI: set correct working directory for Hypothesis cache (GH-119345)

Set cwd for Hypothesis database
(cherry picked from commit 055c739536)

Co-authored-by: Zac Hatfield-Dodds <zac.hatfield.dodds@gmail.com>
2025-04-10 14:01:51 +00:00
Miss Islington (bot)
099b3013fa
[3.13] gh-131507: Add a way to recreate the Misc/mypy symlinks if missing (GH-132274) (#132293)
They will be removed in source tarballs so they don't appear in the SBOM.

(cherry picked from commit 16dcb576f7)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-04-09 01:37:26 +02:00
shenxianpeng
676cecac1c
[3.13] gh-127785: Limit check labels github action permission (GH-130596) (#130623)
Co-authored-by: shenxianpeng <xianpeng.shen@gmail.com>
2025-02-27 14:57:41 +00:00
Adam Turner
630dc2bd64
[3.13] gh-130604: Always run all matrix workflows in GitHub Actions (GH-130603) (#130612)
(cherry picked from commit fda056e64b)
2025-02-26 22:13:00 +00:00
Adam Turner
9dd2cb7438
[3.13] GH-103180: Set a timeout for every job in GitHub Actions (GH-130375) (#130431)
(cherry picked from commit d0a1e5c222)
2025-02-22 02:01:19 +00:00
Miss Islington (bot)
ebb02da7b1
[3.13] gh-128446: Skip Windows CI for Unix build system changes (GH-128450) (#130434)
gh-128446: Skip Windows CI for Unix build system changes (GH-128450)
(cherry picked from commit b05fa90b21)

Authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
Co-authored-by: Srinivas Reddy Thatiparthy (తాటిపర్తి శ్రీనివాస్  రెడ్డి) <thatiparthysreenivas@gmail.com>
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2025-02-22 01:37:22 +00:00
Hugo van Kemenade
019918a626
[3.13] Convert change detection to a Python script (GH-129627) (#130367)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
2025-02-22 00:31:45 +00:00
Hugo van Kemenade
fefd2c53f2
[3.13] CI: Use ImageOS (ubuntu24) instead of runner.os (Linux) in cache keys (GH-130200) (#130222) 2025-02-17 13:18:30 +00:00
🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко)
b5eed8c80e
[3.13] Merge TSAN test matrices in CI (#123278) (#129673) 2025-02-06 15:37:22 +02:00
Miss Islington (bot)
1883667c31
[3.13] CI: Change job name to 'build arm64' on Windows (GH-129434) (#129439) 2025-01-29 13:40:04 +00:00
Miss Islington (bot)
87d587faba
[3.13] GH-124398: Pin LLVM to 18.1.0 for Windows JIT CI (GH-124399) (#129380)
GH-124398: Pin LLVM to 18.1.0 for Windows JIT CI (GH-124399)
(cherry picked from commit b4d0d7de0f)

Co-authored-by: Savannah Ostrowski <savannahostrowski@gmail.com>
2025-01-27 22:22:56 +00:00
Miss Islington (bot)
d674792ba7
[3.13] Add colour to GitHub Actions output (GH-129196) (#129198)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-01-22 21:45:08 +00:00
Diego Russo
ffcef2d6f9
[3.13] Move to public Linux arm64 hosted runners (#129146) 2025-01-21 22:40:59 +02:00
Miss Islington (bot)
59b919b082
[3.13] GH-125722: Use long options for Sphinx (GH-129039) (#129041)
GH-125722: Use long options for Sphinx (GH-129039)
(cherry picked from commit 4967fa6a9c)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-01-20 09:17:29 +02:00
Miss Islington (bot)
5fe7650552
[3.13] GH-125722: Increase minimum supported Sphinx to 8.1.3 (GH-128922) (#129037)
(cherry picked from commit d46b577ec0)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-01-20 00:52:00 +00:00
Miss Islington (bot)
f6da93a627
[3.13] gh-128504: Upgrade doctest to ubuntu-24.04 (GH-128506) (#128517)
gh-128504: Upgrade doctest to ubuntu-24.04 (GH-128506)
(cherry picked from commit 2228e92da3)

Co-authored-by: Damien <81557462+Damien-Chen@users.noreply.github.com>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-01-05 15:58:26 +02:00
Miss Islington (bot)
08f9b7cb2a
[3.13] gh-128069: brew link --overwrite tcl-tk@8 to prevent conflict with GitHub image's version (GH-128090) (#128096)
gh-128069: brew link --overwrite tcl-tk@8 to prevent conflict with GitHub image's version (GH-128090)

brew link --overwrite tcl-tk@8 to prevent conflict with GitHub image's version
(cherry picked from commit 46dc1ba9c6)

Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-12-19 15:20:07 +00:00
Miss Islington (bot)
f56da922cb
[3.13] CI: Use bash to properly expand variable (GH-127822) (#127824)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-12-11 15:42:17 +00:00
Hugo van Kemenade
990ea3333c
[3.13] Add zizmor to pre-commit and fix most findings (#127749) (#127786)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
(cherry picked from commit ae31df354d)
2024-12-10 13:48:26 +00:00
Hugo van Kemenade
9bdb0ae5dc
[3.13] gh-127359: Pin Tcl/Tk to 8 (8.6) for testing macOS (#127365) (#127393) 2024-11-29 09:59:57 +00:00
Łukasz Langa
d87fb9c30d
[3.13] Enable aarch64 Ubuntu CI jobs (GH-125786) (GH-127170)
This change enables custom GHA runners for Ubuntu-24.04 that run on Arm hardware. It also prepares for Windows runners on Arm hardware, but doesn't enable that just yet, because the Arm GHA runner images for Windows need to be updated.
(cherry picked from commit 8214e0f709)
2024-11-23 10:40:25 +01:00
Damien
950daf8765
[3.13] gh-122544: Change OS image in GitHub Actions to Ubuntu 24.04 (#122566) (#126619)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2024-11-22 20:18:57 +01:00
Miss Islington (bot)
40b9b506fb
[3.13] Run apt update before apt install git in autoconf CI job (GH-127070)
(cherry picked from commit 0af4ec30bd)

Co-authored-by: Zachary Ware <zach@python.org>
2024-11-20 19:44:17 +00:00
Miss Islington (bot)
efd8fe4e6e
[3.13] Fix error message of "Check if Autoconf files are up to date" job (GH-126683) (#126717)
Fix error message of "Check if Autoconf files are up to date" job (GH-126683)
(cherry picked from commit 0052a8c638)

Co-authored-by: sobolevn <mail@sobolevn.me>
2024-11-12 11:01:39 +00:00