545 Commits

Author SHA1 Message Date
🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко)
c779fa2530
[3.13] Notify Sviat of GHA changes through codeowners (GH-143945) (#144052)
(cherry picked from commit 78b1370de96bab5eee82b022a9e26e633a040e0b)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2026-01-19 23:49:20 +02:00
Seth Michael Larson
7025d751e5
[3.13] gh-143572: Run 'python3-libraries' fuzzer in CI using CIFuzz (… (#143915)
Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) <578543+webknjaz@users.noreply.github.com>
Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2026-01-16 19:24:34 +02:00
Hugo van Kemenade
b6c6c47693
[3.13] Bump GitHub Actions (GH-143757) (#143798) 2026-01-13 18:47:03 +02:00
Hugo van Kemenade
f2665b6ac2
[3.13] Allow Android to fail CI (GH-143471) (GH-143473)
(cherry picked from commit efb4e6c73374f910e9aae9b2431a3718331c3c79)
2026-01-06 13:02:16 +00:00
Miss Islington (bot)
08c5bfe31d
[3.13] gh-143148: Replace pre-commit with prek in CI (GH-143149) (#143359)
Co-authored-by: Johann Christensen <johannchristensen@outlook.de>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.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>
2026-01-02 15:21:41 +00:00
Hugo van Kemenade
c5852c27c1
[3.13] Update pre-commit with zizmor and Ruff fixes (GH-143095) (GH-143102) (#143113) 2025-12-23 21:28:00 +02:00
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 248eb3efb3cad7799ef9b4a2dd77a66d1ae65c11)

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 1a7824a927f0706300af7bfc182884a43e2f587a)

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

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 a2442fda6e04d2b7c34490e44000f4dd12daf962)

Co-authored-by: Gregory P. Smith <68491+gpshead@users.noreply.github.com>
2025-11-14 14:51:36 -08:00
Hugo van Kemenade
64bf92179b
[3.13] Omit Python/perf_jit_trampoline.c from the **/*jit* CODEOWNERS rule (GH-136519) (#140988)
Co-authored-by: Brandt Bucher <brandtbucher@microsoft.com>
2025-11-05 14:24:12 +02: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
Hugo van Kemenade
2d29aa2036
[3.13] gh-92266: Update pre-commit (GH-139411) (#139760)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-10-27 16:14:48 +02: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 a9b0506d8db1aff8318759ed9324be56bf33eb31)

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 98e748b3a0d97bd2c785efc63693f971113b3b63)
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 ad944b5e1f304be1a8c2cc03e9f15005bcb97108
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 96b7a2eba423b42320f15fd4974740e3e930bb8b)
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 e93dca72232efe6d5cf2d52ea6dd3967ff61360b)
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 68a61b0f1d5661180fd432ff9b8ab21272468a87)
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 f660ec37531b5e368a27ba065f73d31ff6fb6680)

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 b36d23f58e8ab85b8576ab59c2ce72572c2cb12a)

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
Alex Waygood
d0c6b09685
[3.13] Remove Alex Waygood as a codeowner for pre-commit config (#137372) (#137374) 2025-08-04 11:40:56 +01:00
🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко)
6a217cef27
[3.13] GH-111758: Merge TSan and UBSan reusable GHA workflows (#136820) (GH-137029)
(cherry picked from commit 65d2c51c10425dcfacc0a13810d58c41240d7ff9)

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
Malcolm Smith
fd39aa3a7f
[3.13] gh-131531: android.py enhancements to support cibuildwheel (GH-132870) (#135164)
Modifies the environment handling and execution arguments of the Android management
script to support the compilation of third-party binaries, and the use of the testbed to
invoke third-party test code.
(cherry picked from commit 2e1544fd2b0cd46ba93fc51e3cdd47f4781d7499)

Co-authored-by: Malcolm Smith <smith@chaquo.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
2025-06-05 17:23:46 +08: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 979d81a17905e922d32fb1671f9ed394e0ffbda6)





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 7eaa09739059aaac4812395f8d6bb586af8eadcc)
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 5f3d3f2a6c8ddf7a6be340c3f4c696e2a5eb51f0)

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)
a2bf7a0a47
[3.13] gh-124096: Enable REPL virtual terminal support on Windows (GH-124119) (GH-133457)
To support virtual terminal mode in Windows PYREPL, we need a scanner
to read over the supported escaped VT sequences.

Windows REPL input was using virtual key mode, which does not support
terminal escape sequences. This patch calls `SetConsoleMode` properly
when initializing and send sequences to enable bracketed-paste modes
to support verbatim copy-and-paste.
(cherry picked from commit a65366ed879a3d9f27cbcc811ed2e05ad1a2af06)

Co-authored-by: Y5 <124019959+y5c4l3@users.noreply.github.com>
Signed-off-by: y5c4l3 <y5c4l3@proton.me>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Co-authored-by: Dustin L. Howett <dustin@howett.net>
Co-authored-by: wheeheee <104880306+wheeheee@users.noreply.github.com>
2025-05-05 19:39:06 +02: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 d530e74e444fc483f6d2077f701160e55d3003d8)

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 c78216e42c7548f148708fc08cfefbcda9b3ae01)

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 5ea9010e8910cb97555c3aef4ed95cca93a74aab)

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 01f11a0e4e8ae1132bd36d7f66af7d4dcc387d33)

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 eb2e430b88afa93e7bfc05f4346e8336c2c31b48)

Co-authored-by: Victor Stinner <vstinner@python.org>
2025-04-25 13:54:36 +00:00
sobolevn
3a130c1786
[3.13] Update pre-commit repos (GH-132792) (#132804)
(cherry picked from commit 87b1ea016b1454b1e83b9113fa9435849b7743aa)
2025-04-22 15:57:34 +00:00
Miss Islington (bot)
d8de992de2
[3.13] CI: Update outdated references to Python version and GH issues (GH-132394) (#132402)
CI: Update outdated references to Python version and GH issues (GH-132394)
(cherry picked from commit f23052591a60f588c432795f1ac687e709d97386)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2025-04-11 15:10:14 +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 055c739536ad63b55ad7cd0b91ccacc33064fe11)

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 16dcb576f7623e19f22be631bbc0e565335da969)

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 fda056e64bdfcac3dd3d13eebda0a24994d83cb8)
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 d0a1e5c222f9f43b492b28806e2a185a50d64500)
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 b05fa90b21dd01bb836285cdd41920320b09e681)

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 b4d0d7de0f6d938128bf525e119c18af5632b804)

Co-authored-by: Savannah Ostrowski <savannahostrowski@gmail.com>
2025-01-27 22:22:56 +00:00