Petr Viktorin
ac44ec6206
gh-113858: GH Actions: Limit max ccache size for the asan build (GH-114113)
2024-01-16 14:21:16 +01:00
Petr Viktorin
fcb4c8d31a
gh-113858: Cut down ccache size (GH-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
2024-01-12 10:48:25 +01:00
Petr Viktorin
5d384b0468
GH-113858: GitHub Actions config: Only save ccache on pushes (GH-113859)
2024-01-10 09:49:18 +01:00
dependabot[bot]
fff1e8a50b
build(deps): bump actions/upload-artifact from 3 to 4 ( #113614 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-02 18:20:17 +02:00
dependabot[bot]
ce7a8eef79
build(deps): bump actions/stale from 8 to 9 ( #113611 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-02 18:19:01 +02:00
Donghee Na
3aadb95085
no-issue: Use the official term "free-threading" for GitHub Action (gh-113622)
2024-01-02 09:16:53 +09:00
dependabot[bot]
9132f4287b
build(deps): bump github/codeql-action from 2 to 3 ( #113613 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-01 09:30:30 +00:00
dependabot[bot]
686d65aec1
build(deps): bump actions/setup-python from 4 to 5 ( #113612 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-01 09:25:58 +00:00
Alex Waygood
0d74e9683b
Add codeowners for `Lib/ensurepip/` ( #112805 )
2023-12-24 11:09:50 +00:00
Eric Snow
480b4b359d
gh-76785: Fix CODEOWNERS (gh-113038)
...
In gh-112982 I made some changes to .github/CODEOWNERS. Later, @ezio-melotti pointed out that some of those changes were unnecessary.
2023-12-13 09:29:40 -07:00
Steve Dower
79dad03747
gh-111650: Ensure pyconfig.h includes Py_GIL_DISABLED on Windows (GH-112778)
2023-12-13 15:38:45 +00:00
Eric Snow
86a77f4e1a
gh-76785: Fixes for test.support.interpreters (gh-112982)
...
This involves a number of changes for PEP 734.
2023-12-12 08:24:31 -07:00
Gregory P. Smith
10e9bb13b8
gh-112334: Regression test that vfork is used when expected. ( #112734 )
...
Regression test that vfork is used when expected by subprocess.
This is written integration test style, it uses strace if it is present and appears to work to find out what system call actually gets used in different scenarios.
Test coverage is added for the default behavior and that of each of the specific arguments that must disable the use of vfork. obviously not an entire test matrix, but it covers the most important aspects.
If there are ever issues with this test being flaky or failing on new platforms, rather than try and adapt it for all possible platforms, feel free to narrow the range it gets tested on when appropriate. That is not likely to reduce coverage.
2023-12-09 00:18:35 +00:00
Seth Michael Larson
21221c398f
gh-112302: Add Software Bill-of-Materials (SBOM) tracking for dependencies ( #112303 )
2023-12-07 18:01:58 +02:00
dependabot[bot]
f21e2f4b12
build(deps): bump actions/github-script from 6 to 7 ( #112584 )
...
Bumps [actions/github-script](https://github.com/actions/github-script ) from 6 to 7.
- [Release notes](https://github.com/actions/github-script/releases )
- [Commits](https://github.com/actions/github-script/compare/v6...v7 )
---
updated-dependencies:
- dependency-name: actions/github-script
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-01 11:41:09 +01:00
Alex Waygood
674c288b1c
gh-109413: Run mypy on `libregrtest` in CI ( #112558 )
...
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-11-30 23:00:14 +00:00
Itamar Oren
48dfd74a9d
GH-112245: Promote free threaded CI ( #112246 )
2023-11-28 08:45:03 -07:00
Alex Waygood
b414497993
Fix syntax in CODEOWNERS file ( #112210 )
2023-11-17 18:31:45 +00:00
Guido van Rossum
25538c72d1
Tweak my interests (and Mark Shannon's :-) in CODEOWNERS ( #112206 )
2023-11-17 16:44:51 +00:00
Victor Stinner
d9fd33a869
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.
2023-11-15 21:47:14 +01:00
Hugo van Kemenade
5add7a6724
CI: Make macOS Intel required to succeed (GH-110362)
2023-11-03 16:13:15 +01:00
dependabot[bot]
330392e288
build(deps): bump actions/setup-node from 3 to 4 ( #111594 )
...
* build(deps): bump actions/setup-node from 3 to 4
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 3 to 4.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump to Node.js 20
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
2023-11-02 11:49:01 +01:00
Hugo van Kemenade
52a5b5d276
gh-111062: CI: Rename reusable-build-[X].yml to reusable-[X].yml ( #111552 )
2023-10-31 15:55:17 +00:00
Hugo van Kemenade
173d13bb1f
gh-111062 CI: Update skip lists for resuable workflows ( #111521 )
...
CI: Update skip lists
2023-10-31 07:49:15 +02:00
Ken Jin
804a207c16
Remove myself from typing CODEOWNERS ( #111523 )
2023-10-30 21:08:26 +00:00
Donghee Na
4ebf2fae96
gh-111062: Reusable Windows build that supports free-threaded mode as the conditional CI ( #111493 )
...
* gh-111062 Set up free-threaded CI for windows
Co-authored-by: Donghee Na <donghee.na@python.org>
* Apply suggestions from code review
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* Update
* Update names
* Add files
* Update
* Revert "Update"
This reverts commit 4f17e1af0d
.
* fix
---------
Co-authored-by: juanjose.tenorio <juanjose2611@gmail.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-10-31 00:30:40 +09:00
Donghee Na
c6def360d1
gh-111062: Update name of reusable workflows for Ubuntu / macOS (gh-111494)
...
gh-111062 Update name of reusable workflows for linux / macOS
2023-10-30 15:15:22 +00:00
NCLI
c19561b9ca
gh-111062: Reusable ubuntu build that supports free-threaded mode as the conditional CI ( #111452 )
...
Co-authored-by: Donghee Na <donghee.na92@gmail.com>
2023-10-30 16:28:16 +02:00
Dima Tisnek
14ab5e51c1
gh-111062: Build both default and free-threaded on macOS (gh-111449)
2023-10-29 07:20:11 +00:00
Dima Tisnek
3ac9851d69
gh-111062: Separate macOS build into a reusable workflow (gh-111444)
2023-10-29 06:12:16 +00:00
Hugo van Kemenade
9d4a1a480b
CI: Include Python version in cache.config key ( #111410 )
...
* Include Python version in cache.config key, after Python setup
* Remove EOL 3.7 from branch triggers
2023-10-28 10:23:47 +03:00
Ned Batchelder
c9aef19cbf
add 3.13 as an option on the bug form ( #111083 )
2023-10-19 17:52:56 +01:00
Nikita Sobolev
46462ff929
gh-107652: Fix CIFuzz typo ( #110602 )
2023-10-10 09:34:48 +00:00
Alex Waygood
7b2764e798
gh-110558: Run ruff on Argument Clinic in CI ( #110559 )
2023-10-10 07:52:39 +00:00
Nikita Sobolev
def7ea5cec
Fix CIFuzz build ( #110576 )
2023-10-10 00:44:57 -06:00
Illia Volochii
ea7b53ff67
gh-107652: Set up CIFuzz to run fuzz targets continuously ( #107653 )
...
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-10-09 09:30:10 -06:00
Victor Stinner
e260087a8e
gh-108716: make regen-global-objects no longer builds deepfreeze.c ( #110078 )
...
Remove more references to now unused Python/deepfreeze/deepfreeze.c.
2023-09-29 10:17:49 +00:00
Ned Deily
c88037d137
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)
2023-09-28 00:45:13 -04:00
Victor Stinner
859618c8cd
gh-109566, regrtest: Add --fast-ci and --slow-ci options ( #109570 )
...
* Add --fast-ci and --slow-ci options to libregrtest:
* --fast-ci uses a default timeout of 10 minutes and "-u all,-cpu"
(skip slowest tests).
* --slow-ci uses a default timeout of 20 minues and "-u all" (run
all tests).
* regrtest header now lists test resources.
* Makefile changes:
* "make test", "make hostrunnertest" and "make coverage-report" now
use --fast-ci option and TESTTIMEOUT variable.
* "make buildbottest" now uses "--slow-ci". Remove options which
became redundant with "--slow-ci".
* "make testall" and "make testuniversal" now use --slow-ci option
and TESTTIMEOUT variable.
* "make testall" now uses "find -exec rm ..." instead of
"find ... -print|xargs rm ...", same as "make clean".
* GitHub Actions workflow:
* Ubuntu and Address Sanitizer jobs now use "make test". Remove
options which became redundant with "--fast-ci".
* Windows jobs now use --fast-ci option.
* Use -j0 to detect the number of CPUs.
* Set Makefile TESTTIMEOUT default to an empty string, since
--slow-ci and --fast-ci use different default timeout. It's now
accepted to pass "--timeout=" to regrtest: treated as not timeout.
* Tools/scripts/run_tests.py now uses --fast-ci option.
* Tools/buildbot/test.bat now uses --slow-ci option. Remove
--timeout=1200 option, redundant with --slow-ci.
2023-09-26 17:22:50 +02:00
Adam Turner
712cb173f8
GH-109209: Bump the minimum Sphinx version to 4.2 ( #109210 )
2023-09-21 09:06:36 +03:00
Hugo van Kemenade
14cdefa667
gh-109408: Move Windows builds from Azure Pipelines PR to GitHub Actions ( #109569 )
2023-09-20 12:56:42 -06:00
Nikita Sobolev
f65497fd25
gh-109125: Run mypy on `Tools/wasm` ( #109126 )
2023-09-18 23:49:26 -06:00
Mariatta
44c8699196
Update workflow permissions in require-pr-label Action ( #109342 )
...
Change the permission from `read` to `write`.
2023-09-12 19:03:55 +00:00
Hugo van Kemenade
3cb9a8edca
gh-60283: Check for redefined test names in CI ( #109161 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-09-12 15:28:20 +00:00
Brett Cannon
00cf626cd4
Update `CODEOWNERS` for `Tools/wasm/` ( #109119 )
2023-09-07 23:37:29 -06:00
Alex Waygood
24e989211a
Improve the GitHub issue forms ( #108881 )
2023-09-05 09:01:30 +01:00
Hugo van Kemenade
572678e1f8
CI: Bump GitHub Actions ( #108879 )
2023-09-04 22:36:16 +02:00
Nikita Sobolev
6ead5bd6ae
Disable `differing_test_runners` health check ( #108886 )
2023-09-04 18:31:58 +00:00
Nikita Sobolev
cf7ba83eb2
gh-108455: Run `mypy` on `Tools/peg_generator` ( #108456 )
...
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-08-28 21:04:12 +01:00
Nikita Sobolev
be800f4be7
Run `mypy` when `Tools/requirements-dev.txt` changes ( #108457 )
2023-08-24 22:05:23 +00:00