Commit graph

220 commits

Author SHA1 Message Date
Miss Islington (bot) 391c4fce3e
[3.12] Adjust build_ubuntu_ssltests job to use cache for the correct OS version (GH-124482)
(cherry picked from commit 54dd77fb8c)

Authored-by: Zachary Ware <zach@python.org>
2024-09-25 01:50:18 +00:00
Miss Islington (bot) e75ecd0b42
[3.12] gh-123700: Update OpenSSL versions in multissltests and CI (GH-123704)
Remove EOL 1.1.1w from CI and move it to the 'old' set in multissltests,
add latest 3.3.2 to both CI and multissltests.

(cherry picked from commit d83e30cadd)

Co-authored-by: Zachary Ware <zach@python.org>
2024-09-04 16:31:28 -05:00
Zachary Ware e094d61a15
[3.12] gh-123418: Update CI to use fresh OpenSSL releases (GH-123698)
Also adds openssl/openssl GitHub URL template for newer OpenSSL downloads
(cherry picked from commit 56b00f4705)
2024-09-04 14:37:09 -05:00
Miss Islington (bot) ecf9971c97
[3.12] gh-122965: Fix reusable-change-detection.yml on workflow_dispatch (GH-122966) (#123009)
gh-122965: Fix `reusable-change-detection.yml` on `workflow_dispatch` (GH-122966)
(cherry picked from commit 6ae942f412)

Co-authored-by: sobolevn <mail@sobolevn.me>
2024-08-14 12:32:42 +00:00
Sviatoslav Sydorenko (Святослав Сидоренко) 8ab6d1b561
[3.12] Move change detection to separate workflow in CI (GH-122336). (#122538) 2024-08-01 08:03:28 +03:00
Sviatoslav Sydorenko (Святослав Сидоренко) a4449a1ada
[3.12] Move macOS matrix to the calling workflow (GH-121809) (#122330) 2024-07-27 12:19:59 +03:00
Sviatoslav Sydorenko (Святослав Сидоренко) f8ddebbd44
[3.12] Integrate build_msi into main CI workflow (GH-121778) (#122231)
(cherry picked from commit af4329e7b1)
2024-07-24 16:46:52 +03:00
Sviatoslav Sydorenko (Святослав Сидоренко) 8d1f15712d
[3.12] Merge Ubuntu test matrices in CI (GH-121813) (#122116)
Some checks are pending
Lint / lint (push) Waiting to run
Tests / All required checks pass (push) Blocked by required conditions
Tests / Thread sanitizer (push) Blocked by required conditions
Tests / Address sanitizer (push) Blocked by required conditions
Tests / Hypothesis tests on Ubuntu (push) Blocked by required conditions
Tests / Ubuntu SSL tests with OpenSSL (3.2.1) (push) Blocked by required conditions
Tests / Ubuntu SSL tests with OpenSSL (3.1.5) (push) Blocked by required conditions
Tests / Ubuntu SSL tests with OpenSSL (3.0.13) (push) Blocked by required conditions
Tests / Ubuntu SSL tests with OpenSSL (1.1.1w) (push) Blocked by required conditions
Tests / Ubuntu ${{ fromJSON(matrix.free-threading) && '(free-threading)' || '' }} (false) (push) Blocked by required conditions
Tests / macOS (push) Blocked by required conditions
Tests / Windows ${{ fromJSON(matrix.free-threading) && '(free-threading)' || '' }} (x64, false) (push) Blocked by required conditions
Tests / Windows ${{ fromJSON(matrix.free-threading) && '(free-threading)' || '' }} (arm64, false) (push) Blocked by required conditions
Tests / Windows ${{ fromJSON(matrix.free-threading) && '(free-threading)' || '' }} (Win32, false) (push) Blocked by required conditions
Tests / Check if generated files are up to date (push) Blocked by required conditions
Tests / Check if the ABI has changed (push) Blocked by required conditions
Tests / Docs (push) Blocked by required conditions
Tests / Check for source changes (push) Waiting to run
2024-07-22 08:05:41 -06:00
Sviatoslav Sydorenko (Святослав Сидоренко) 6e9b3f79fe
[3.12] Generalize reusable Windows CI jobs (#121766) (#121776) 2024-07-22 05:40:10 -06:00
Sviatoslav Sydorenko (Святослав Сидоренко) 61d5e87892
[3.12] Fix using check_source flags as bool (GH-121848) (#121855) 2024-07-16 14:15:05 +00:00
Miss Islington (bot) d870f4130b
[3.12] Fix cache restoration for Hypothesis CI job (GH-121756) (#121760)
Some checks failed
Tests / Check if the ABI has changed (push) Has been cancelled
Tests / Check for source changes (push) Has been cancelled
Tests / Docs (push) Has been cancelled
Tests / Check if generated files are up to date (push) Has been cancelled
Tests / Windows (push) Has been cancelled
Tests / macOS (push) Has been cancelled
Tests / Ubuntu (push) Has been cancelled
Tests / Ubuntu SSL tests with OpenSSL (1.1.1w) (push) Has been cancelled
Tests / Ubuntu SSL tests with OpenSSL (3.0.13) (push) Has been cancelled
Tests / Ubuntu SSL tests with OpenSSL (3.1.5) (push) Has been cancelled
Tests / Ubuntu SSL tests with OpenSSL (3.2.1) (push) Has been cancelled
Tests / Hypothesis tests on Ubuntu (push) Has been cancelled
Tests / Address sanitizer (push) Has been cancelled
Tests / Thread sanitizer (push) Has been cancelled
Tests / All required checks pass (push) Has been cancelled
Lint / lint (push) Has been cancelled
Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk@sydorenko.org.ua>
2024-07-14 05:46:18 -06:00
Miss Islington (bot) f8dd4c3b06
[3.12] gh-119146: Update `regexp in build.yml to not trigger the jobs on *.md and *.ini` files. (GH-120435) (#120448)
Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-06-13 12:39:05 +00:00
Łukasz Langa 94eee78759
[3.12] gh-120111: Don't use cirrus M1 macOS runners on fork (GH-120116) (GH-120153)
(cherry picked from commit fd104dfcb8)

Co-authored-by: Nice Zombies <nineteendo19d0@gmail.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-06-06 14:30:20 +02:00
Łukasz Langa 0480fd628a
[3.12] Use Cirrus M1 macOS runners for CI (GH-119979) (GH-119987)
(cherry picked from commit 6acb32fac3)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Co-authored-by: Ee Durbin <ee@python.org>
2024-06-03 18:15:54 +02:00
Hugo van Kemenade 22bef96237
[3.12] Docs: Ensure no warnings are found in the NEWS file before a given line number (GH-119221) (#119266) 2024-05-21 08:40:16 -06:00
Erlend E. Aasland a81fe2a8f8
[3.12] gh-115119: Bump CI to use Ubuntu 22.04 (#118631) (#118634)
Ubuntu 22.04 ships with mpdecimal 2.5.1, installable using 'apt install libmpdec-dev'.
2024-05-06 09:03:36 +00:00
Miss Islington (bot) e99059445e
[3.12] gh-118401: Docs: Use Sphinx short options (GH-118403) (#118407)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-04-29 14:31:14 -06:00
Miss Islington (bot) 0a1bed102b
[3.12] Docs: Upgrade to Sphinx 7.3 (GH-118397) (#118400)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-04-29 17:58:06 +00:00
Kirill Podoprigora ef12d239fa
[3.12] gh-117928: Bump the minimum Sphinx version to 6.2.1 (GH-117853) (#118321)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-04-26 17:18:58 +03:00
Miss Islington (bot) 87e470b039
[3.12] build(deps): bump actions/add-to-project from 0.6.0 to 1.0.0 (GH-117415) (#117420)
build(deps): bump actions/add-to-project from 0.6.0 to 1.0.0 (GH-117415)
(cherry picked from commit 3bb12e407c)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-01 12:35:55 +02:00
Miss Islington (bot) e1f890828e
[3.12] Bump GitHub Actions (GH-116944) (#116948)
(cherry picked from commit 3a99f5c5f3)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-03-19 11:56:03 +01:00
Antoine Pitrou 25243b1461
[3.12] gh-112536: Add TSAN build on Github Actions (GH-116872)
(cherry picked from commit 20578a1f68)

Co-authored-by: Donghee Na <donghee.na@python.org>
2024-03-18 09:52:54 +00:00
Miss Islington (bot) 5f63b73d52
[3.12] gh-116026: Try disabling rebuilds of dependents in Homebrew (GH-116027) (#116158)
(cherry picked from commit 02beb9f020)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-03-01 00:12:55 +00:00
Seth Michael Larson b254de71d0
[3.12] gh-115663: Remove 'regen-sbom' from the 'regen-all' target (GH-115790) (#115820) 2024-02-22 14:25:41 +00:00
Miss Islington (bot) 9c7307520d
[3.12] gh-115383: Use runner version to compute config.cache key (GH-115409) (#115427)
Co-authored-by: Sam Gross <colesbury@gmail.com>
2024-02-14 00:21:25 -07:00
Miss Islington (bot) 5ddb274040
[3.12] gh-109991: Update GitHub CI workflows to use OpenSSL 3.0.13. (GH-115055)
Also update multissltests to use 1.1.1w, 3.0.13, 3.1.5, and 3.2.1.
(cherry picked from commit 299e16ca0f)

Co-authored-by: Ned Deily <nad@python.org>
2024-02-06 02:29:17 +00:00
Miss Islington (bot) 203106def2
[3.12] CI: Test on macOS M1 (GH-114766) (#114836)
Test on macOS M1
(cherry picked from commit 854e2bc423)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-02-01 01:57:08 +00:00
Miss Islington (bot) 3e06cce36a
[3.12] gh-114790: Do not execute workflows/require-pr-label.yml on forks (GH-114791) (#114800)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-01-31 12:27:12 +00:00
Petr Viktorin 74485c0323
[3.12] gh-113858: GH Actions: Make ccache smaller (GH-113859, GH-113945) (GH-114082)
This backports 3 PRs:

- https://github.com/python/cpython/pull/113859

  Only save ccache on pushes

- https://github.com/python/cpython/pull/113945

  Cut down ccache size

  - Only save the ccache in the main reusable builds, not on builds that
    don't use special build options:
      - Generated files check
    - OpenSSL tests
    - Hypothesis tests
  - Halve the max cache size, to 200M

- https://github.com/python/cpython/pull/114113

  Fixup for the above

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2024-01-16 16:28:27 +01:00
Donghee Na 20631e840e
[3.12] Use the official term "free-threading" for GitHub Action (g… (#113646) 2024-01-02 15:04:40 +02:00
Victor Stinner a498433df2
[3.12] gh-112088: Run autoreconf in GHA check_generated_files (GH-112090) (#112159)
gh-112088: Run autoreconf in GHA check_generated_files (#112090)

The "Check if generated files are up to date" job of GitHub Actions
now runs the "autoreconf -ivf -Werror" command instead of the "make
regen-configure" command to avoid depending on the external quay.io
server.

Add Tools/build/regen-configure.sh script to regenerate the configure
with an Ubuntu container image. The
"quay.io/tiran/cpython_autoconf:271" container image
(https://github.com/tiran/cpython_autoconf) is no longer used.

(cherry picked from commit d9fd33a869)
2023-11-16 15:55:40 +01:00
Hugo van Kemenade 427cf61b51
[3.12] gh-111062: CI: Move OS test jobs to reusable workflows (gh-111568)
CI: Move OS test jobs to reusable workflows

Co-authored-by: Donghee Na <donghee.na@python.org>
2023-11-16 00:44:39 +00:00
Alex Waygood 7313bde84c
[3.12] Bump mypy to 1.7.0 (GH-111961) (#112033) 2023-11-13 13:59:56 +00:00
Miss Islington (bot) cf29a2f25e
[3.12] CI: Include Python version in cache.config key (GH-111410) (#111421)
CI: Include Python version in cache.config key (GH-111410)

* Include Python version in cache.config key, after Python setup

* Remove EOL 3.7 from branch triggers
(cherry picked from commit 9d4a1a480b)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-10-28 07:57:55 +00:00
Artyom Romanov 3d67b69820
[3.12] Sync location of mypy pin with the main branch (#111317) 2023-10-25 12:54:05 +00:00
Alex Waygood 36886726a2
[3.12] gh-110558: Run ruff on Argument Clinic in CI (#110559) (#110598) 2023-10-10 08:58:56 +00:00
Miss Islington (bot) ef99f5e968
[3.12] gh-109991: Update GitHub CI workflows to use OpenSSL 3.0.11 and multissltests to use 1.1.1w, 3.0.11, and 3.1.3. (gh-110002) (#110005)
gh-109991: Update GitHub CI workflows to use OpenSSL 3.0.11 and multissltests to use 1.1.1w, 3.0.11, and 3.1.3. (gh-110002)
(cherry picked from commit c88037d137)

Co-authored-by: Ned Deily <nad@python.org>
2023-09-28 17:21:09 +02:00
Miss Islington (bot) 92a347997f
[3.12] gh-109408: Move Windows builds from Azure Pipelines PR to GitHub Actions (GH-109569) (#109623)
gh-109408: Move Windows builds from Azure Pipelines PR to GitHub Actions (GH-109569)
(cherry picked from commit 14cdefa667)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-09-22 15:26:58 +02:00
Miss Islington (bot) 9e4ac21c46
[3.12] GH-109209: Bump the minimum Sphinx version to 4.2 (GH-109210) (#109636)
GH-109209: Bump the minimum Sphinx version to 4.2 (GH-109210)
(cherry picked from commit 712cb173f8)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-09-22 14:30:57 +02:00
Miss Islington (bot) 36d6ba08d0
[3.12] gh-60283: Check for redefined test names in CI (GH-109161) (#109365)
* gh-60283: Check for redefined test names in CI (GH-109161)
(cherry picked from commit 3cb9a8edca)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>

* Update exclude list for 3.12

* Explicitly exclude files which failed to lint/parse

* Sort to avoid future merge conflicts

---------

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-09-15 00:38:54 +02:00
Miss Islington (bot) aee0077e7b
[3.12] Update workflow permissions in require-pr-label Action (GH-109342) (#109348)
Update workflow permissions in require-pr-label Action (GH-109342)

Change the permission from `read` to `write`.
(cherry picked from commit 44c8699196)

Co-authored-by: Mariatta <Mariatta@users.noreply.github.com>
2023-09-13 12:36:03 +02:00
Miss Islington (bot) 9c1428c7cc
[3.12] CI: Bump GitHub Actions (GH-108879) (#108889)
CI: Bump GitHub Actions (GH-108879)
(cherry picked from commit 572678e1f8)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-09-05 12:50:44 +02:00
Miss Islington (bot) bce77915b6
[3.12] Disable differing_test_runners health check (GH-108886) (#108887)
Disable `differing_test_runners` health check (GH-108886)
(cherry picked from commit 6ead5bd6ae)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2023-09-04 21:11:16 +02:00
Miss Islington (bot) 71e3581c96
[3.12] gh-101100: Only show GitHub check annotations on changed doc paragraphs (GH-108065) (#108127)
gh-101100: Only show GitHub check annotations on changed doc paragraphs (GH-108065)

* Only show GitHub check annotations on changed doc paragraphs
* Improve check-warnings script arg parsing following Hugo's suggestions
* Factor filtering warnings by modified diffs into helper function
* Build docs on unmerged branch so warning lines match & avoid deep clone

---------

(cherry picked from commit eb953d6e44)

Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-08-20 01:00:09 +02:00
C.A.M. Gerlach daed54d8de
[3.12] gh-101100: Docs: Check Sphinx warnings and fail if improved (GH-106460) (#108116)
* gh-101100: Docs: Check Sphinx warnings and fail if improved (#106460)

(cherry picked from commit 806d7c98a5)

* [3.12] gh-101100: Docs: Check Sphinx warnings and fail if improved (GH-106460).
(cherry picked from commit 806d7c98a5)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>

---------

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-08-18 23:21:16 +02:00
Miss Islington (bot) 359cff5c41
[3.12] gh-107565: Update multissltests and GitHub CI workflows to use OpenSSL 1.1.1v, 3.0.10, and 3.1.2. (GH-108118)
Co-authored-by: Ned Deily <nad@python.org>
2023-08-18 20:30:34 +00:00
Miss Islington (bot) 6bab8ef3ad
[3.12] Remove Sphinx problem matcher to avoid annotating unchanged files (GH-108005) (#108049)
Remove Sphinx problem matcher to avoid annotating unchanged files (GH-108005)
(cherry picked from commit 0d7f5d3ba3)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-08-17 01:18:01 +02:00
Sviatoslav Sydorenko 18c68ec816
[3.12] Introduce a gate/check GHA job (GH-97533) (#107114)
(cherry picked from commit e7cd557)
2023-07-23 14:58:20 +02:00
Sviatoslav Sydorenko 1703262c0a
[3.12] Convert doc.yml workflow to be reusable (GH-103914 + GH-105151) (#107042)
Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>

(cherry picked from commit 88d14da76f)
(cherry picked from commit eaa6702280)
2023-07-23 11:35:17 +02:00
Miss Islington (bot) 6baddd9fb2
[3.12] Docs: move sphinx-lint to pre-commit (GH-105750) (#105894)
Docs: move sphinx-lint to pre-commit (GH-105750)
(cherry picked from commit bc07c8f096)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-06-18 13:21:34 +01:00