From f45af4b54bb49c2824c88c52b368b63456d95614 Mon Sep 17 00:00:00 2001 From: Kirill Podoprigora Date: Wed, 12 Jun 2024 20:06:48 +0000 Subject: [PATCH 01/23] first try to fix that --- .github/workflows/jit.yml | 8 ++++---- Tools/jit/README.md | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/jit.yml b/.github/workflows/jit.yml index 8c760a81d52662..e88f5961d94e11 100644 --- a/.github/workflows/jit.yml +++ b/.github/workflows/jit.yml @@ -2,20 +2,20 @@ name: JIT on: pull_request: paths: + - '!**/*.md' + - '!**/*.ini' - '**jit**' - 'Python/bytecodes.c' - 'Python/optimizer*.c' - '!Python/perf_jit_trampoline.c' - - '!**/*.md' - - '!**/*.ini' push: paths: + - '!**/*.md' + - '!**/*.ini' - '**jit**' - 'Python/bytecodes.c' - 'Python/optimizer*.c' - '!Python/perf_jit_trampoline.c' - - '!**/*.md' - - '!**/*.ini' workflow_dispatch: permissions: diff --git a/Tools/jit/README.md b/Tools/jit/README.md index ae126661c6ce25..31cf76dbd9e9b2 100644 --- a/Tools/jit/README.md +++ b/Tools/jit/README.md @@ -54,3 +54,4 @@ For all other builds, pass the new `--enable-experimental-jit` option to `config Otherwise, just configure and build as you normally would. Cross-compiling "just works", since the JIT is built for the host platform. [^why-llvm]: Clang is specifically needed because it's the only C compiler with support for guaranteed tail calls (`musttail`), which are required by CPython's continuation-passing-style approach to JIT compilation. Since LLVM also includes other functionalities we need (namely, object file parsing and disassembly), it's convenient to only support one toolchain at this time. + From 54cba29cd99e0bcdbc829241d3479e4757cc9482 Mon Sep 17 00:00:00 2001 From: Kirill Podoprigora Date: Wed, 12 Jun 2024 20:14:23 +0000 Subject: [PATCH 02/23] second try to fix that --- .github/workflows/jit.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/jit.yml b/.github/workflows/jit.yml index e88f5961d94e11..9d5bde8307d50c 100644 --- a/.github/workflows/jit.yml +++ b/.github/workflows/jit.yml @@ -2,20 +2,24 @@ name: JIT on: pull_request: paths: - - '!**/*.md' - - '!**/*.ini' - '**jit**' - 'Python/bytecodes.c' - 'Python/optimizer*.c' - '!Python/perf_jit_trampoline.c' - push: - paths: - '!**/*.md' - '!**/*.ini' + - '!Tools/jit/README.md' + - '!Tools/jit/mypy.ini' + push: + paths: - '**jit**' - 'Python/bytecodes.c' - 'Python/optimizer*.c' - '!Python/perf_jit_trampoline.c' + - '!**/*.md' + - '!**/*.ini' + - '!Tools/jit/README.md' + - '!Tools/jit/mypy.ini' workflow_dispatch: permissions: From dd4445e0c8d06829fa177da4da9d613f387662ac Mon Sep 17 00:00:00 2001 From: Kirill Podoprigora Date: Wed, 12 Jun 2024 20:18:44 +0000 Subject: [PATCH 03/23] third try to fix that --- .github/workflows/jit.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/jit.yml b/.github/workflows/jit.yml index 9d5bde8307d50c..7cdfc20aa18b32 100644 --- a/.github/workflows/jit.yml +++ b/.github/workflows/jit.yml @@ -2,24 +2,24 @@ name: JIT on: pull_request: paths: - - '**jit**' + - 'Tools/jit/*.py' + - 'Tools/jit/*.c' + - 'Tools/jit/ignore-tests-emulated-linux.txt' - 'Python/bytecodes.c' - 'Python/optimizer*.c' - '!Python/perf_jit_trampoline.c' - '!**/*.md' - '!**/*.ini' - - '!Tools/jit/README.md' - - '!Tools/jit/mypy.ini' push: paths: - - '**jit**' + - 'Tools/jit/*.py' + - 'Tools/jit/*.c' + - 'Tools/jit/ignore-tests-emulated-linux.txt' - 'Python/bytecodes.c' - 'Python/optimizer*.c' - '!Python/perf_jit_trampoline.c' - '!**/*.md' - '!**/*.ini' - - '!Tools/jit/README.md' - - '!Tools/jit/mypy.ini' workflow_dispatch: permissions: From d0ea26ea1ad91bc1fb17cc16a8bd2238ebe0eb2f Mon Sep 17 00:00:00 2001 From: Kirill Podoprigora Date: Wed, 12 Jun 2024 20:22:55 +0000 Subject: [PATCH 04/23] is the first option resolves that? --- .github/workflows/jit.yml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/.github/workflows/jit.yml b/.github/workflows/jit.yml index 7cdfc20aa18b32..e88f5961d94e11 100644 --- a/.github/workflows/jit.yml +++ b/.github/workflows/jit.yml @@ -2,24 +2,20 @@ name: JIT on: pull_request: paths: - - 'Tools/jit/*.py' - - 'Tools/jit/*.c' - - 'Tools/jit/ignore-tests-emulated-linux.txt' + - '!**/*.md' + - '!**/*.ini' + - '**jit**' - 'Python/bytecodes.c' - 'Python/optimizer*.c' - '!Python/perf_jit_trampoline.c' - - '!**/*.md' - - '!**/*.ini' push: paths: - - 'Tools/jit/*.py' - - 'Tools/jit/*.c' - - 'Tools/jit/ignore-tests-emulated-linux.txt' + - '!**/*.md' + - '!**/*.ini' + - '**jit**' - 'Python/bytecodes.c' - 'Python/optimizer*.c' - '!Python/perf_jit_trampoline.c' - - '!**/*.md' - - '!**/*.ini' workflow_dispatch: permissions: From 718946687c1c9dd9be66d8588091a245885c1759 Mon Sep 17 00:00:00 2001 From: Kirill Podoprigora Date: Wed, 12 Jun 2024 20:32:25 +0000 Subject: [PATCH 05/23] Remove all of my changes --- .github/workflows/jit.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/jit.yml b/.github/workflows/jit.yml index e88f5961d94e11..8c760a81d52662 100644 --- a/.github/workflows/jit.yml +++ b/.github/workflows/jit.yml @@ -2,20 +2,20 @@ name: JIT on: pull_request: paths: - - '!**/*.md' - - '!**/*.ini' - '**jit**' - 'Python/bytecodes.c' - 'Python/optimizer*.c' - '!Python/perf_jit_trampoline.c' - push: - paths: - '!**/*.md' - '!**/*.ini' + push: + paths: - '**jit**' - 'Python/bytecodes.c' - 'Python/optimizer*.c' - '!Python/perf_jit_trampoline.c' + - '!**/*.md' + - '!**/*.ini' workflow_dispatch: permissions: From 943de2b97a85a27d9d1f27eac53f2eaf02668258 Mon Sep 17 00:00:00 2001 From: Kirill Podoprigora Date: Wed, 12 Jun 2024 20:39:25 +0000 Subject: [PATCH 06/23] fourth try to fix that --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index eb325ac2f9ee1b..c5dbd5f54bad01 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,7 +54,7 @@ jobs: # into the PR branch anyway. # # https://github.com/python/core-workflow/issues/373 - git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qvE '(\.rst$|^Doc|^Misc|^\.pre-commit-config\.yaml$|\.ruff\.toml$)' && echo "run_tests=true" >> $GITHUB_OUTPUT || true + git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qvE '(\.rst$|^Doc|^Misc|^\.pre-commit-config\.yaml$|\.ruff\.toml$|\.md$|\.ini$)' && echo "run_tests=true" >> $GITHUB_OUTPUT || true fi # Check if we should run hypothesis tests From a9dec9b5707e1b5c31c7f14bea16a12d0271a198 Mon Sep 17 00:00:00 2001 From: Kirill Podoprigora Date: Wed, 12 Jun 2024 20:44:25 +0000 Subject: [PATCH 07/23] Is this really working? --- Tools/clinic/.ruff.toml | 1 + Tools/jit/README.md | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/clinic/.ruff.toml b/Tools/clinic/.ruff.toml index c019572d0cb186..8ce7e063302e2b 100644 --- a/Tools/clinic/.ruff.toml +++ b/Tools/clinic/.ruff.toml @@ -1,6 +1,7 @@ target-version = "py310" fix = true + [lint] select = [ "F", # Enable all pyflakes rules diff --git a/Tools/jit/README.md b/Tools/jit/README.md index 31cf76dbd9e9b2..ae126661c6ce25 100644 --- a/Tools/jit/README.md +++ b/Tools/jit/README.md @@ -54,4 +54,3 @@ For all other builds, pass the new `--enable-experimental-jit` option to `config Otherwise, just configure and build as you normally would. Cross-compiling "just works", since the JIT is built for the host platform. [^why-llvm]: Clang is specifically needed because it's the only C compiler with support for guaranteed tail calls (`musttail`), which are required by CPython's continuation-passing-style approach to JIT compilation. Since LLVM also includes other functionalities we need (namely, object file parsing and disassembly), it's convenient to only support one toolchain at this time. - From d5936ad40cacdd4a41c9c406ad5e461baaa13d26 Mon Sep 17 00:00:00 2001 From: Kirill Podoprigora Date: Wed, 12 Jun 2024 20:46:13 +0000 Subject: [PATCH 08/23] Revert my changes to make sure --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c5dbd5f54bad01..eb325ac2f9ee1b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,7 +54,7 @@ jobs: # into the PR branch anyway. # # https://github.com/python/core-workflow/issues/373 - git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qvE '(\.rst$|^Doc|^Misc|^\.pre-commit-config\.yaml$|\.ruff\.toml$|\.md$|\.ini$)' && echo "run_tests=true" >> $GITHUB_OUTPUT || true + git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qvE '(\.rst$|^Doc|^Misc|^\.pre-commit-config\.yaml$|\.ruff\.toml$)' && echo "run_tests=true" >> $GITHUB_OUTPUT || true fi # Check if we should run hypothesis tests From a4ff9008692510666ab19021fd8cbb783a791b1f Mon Sep 17 00:00:00 2001 From: Kirill Podoprigora Date: Wed, 12 Jun 2024 20:50:27 +0000 Subject: [PATCH 09/23] Change the regex --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index eb325ac2f9ee1b..cdae194c52a396 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,7 +54,7 @@ jobs: # into the PR branch anyway. # # https://github.com/python/core-workflow/issues/373 - git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qvE '(\.rst$|^Doc|^Misc|^\.pre-commit-config\.yaml$|\.ruff\.toml$)' && echo "run_tests=true" >> $GITHUB_OUTPUT || true + git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qvE '(\.md$|\.ini$|\.rst$|^Doc|^Misc|^\.pre-commit-config\.yaml$|\.ruff\.toml$)' && echo "run_tests=true" >> $GITHUB_OUTPUT || true fi # Check if we should run hypothesis tests From b978473c5a9c43b4783f2596362b72c5f9f179a8 Mon Sep 17 00:00:00 2001 From: Kirill Podoprigora Date: Wed, 12 Jun 2024 20:53:57 +0000 Subject: [PATCH 10/23] oh.. --- .github/workflows/build.yml | 2 +- README.rst | 2 +- Tools/clinic/.ruff.toml | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cdae194c52a396..eb325ac2f9ee1b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,7 +54,7 @@ jobs: # into the PR branch anyway. # # https://github.com/python/core-workflow/issues/373 - git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qvE '(\.md$|\.ini$|\.rst$|^Doc|^Misc|^\.pre-commit-config\.yaml$|\.ruff\.toml$)' && echo "run_tests=true" >> $GITHUB_OUTPUT || true + git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qvE '(\.rst$|^Doc|^Misc|^\.pre-commit-config\.yaml$|\.ruff\.toml$)' && echo "run_tests=true" >> $GITHUB_OUTPUT || true fi # Check if we should run hypothesis tests diff --git a/README.rst b/README.rst index 7dd3660b198784..505c29b4c4b50a 100644 --- a/README.rst +++ b/README.rst @@ -1,4 +1,4 @@ -This is Python version 3.14.0 alpha 0 +This is Python version 3.14.0 alpha 0 ===================================== .. image:: https://github.com/python/cpython/actions/workflows/build.yml/badge.svg?branch=main&event=push diff --git a/Tools/clinic/.ruff.toml b/Tools/clinic/.ruff.toml index 8ce7e063302e2b..c019572d0cb186 100644 --- a/Tools/clinic/.ruff.toml +++ b/Tools/clinic/.ruff.toml @@ -1,7 +1,6 @@ target-version = "py310" fix = true - [lint] select = [ "F", # Enable all pyflakes rules From ecd9cd78159491504bf28d67e176c65035fbabaf Mon Sep 17 00:00:00 2001 From: Kirill Podoprigora Date: Wed, 12 Jun 2024 21:00:34 +0000 Subject: [PATCH 11/23] another try --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index eb325ac2f9ee1b..b0f063b4d598c0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,7 +54,7 @@ jobs: # into the PR branch anyway. # # https://github.com/python/core-workflow/issues/373 - git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qvE '(\.rst$|^Doc|^Misc|^\.pre-commit-config\.yaml$|\.ruff\.toml$)' && echo "run_tests=true" >> $GITHUB_OUTPUT || true + git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qvE '(\.rst$|^Doc|^Misc|^\.pre-commit-config\.yaml$|\.ruff\.toml$|\.md)' && echo "run_tests=true" >> $GITHUB_OUTPUT || true fi # Check if we should run hypothesis tests From 4229dbe4c9c075b887b6494d45db7182c9ba8afa Mon Sep 17 00:00:00 2001 From: Kirill Podoprigora Date: Wed, 12 Jun 2024 21:02:50 +0000 Subject: [PATCH 12/23] let's try this --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b0f063b4d598c0..c19288d8a9fcce 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,7 +54,7 @@ jobs: # into the PR branch anyway. # # https://github.com/python/core-workflow/issues/373 - git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qvE '(\.rst$|^Doc|^Misc|^\.pre-commit-config\.yaml$|\.ruff\.toml$|\.md)' && echo "run_tests=true" >> $GITHUB_OUTPUT || true + git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qvE '(\.rst$|^Doc|^Misc|^\.pre-commit-config\.yaml$|\.ruff\.toml$|^\.md$)' && echo "run_tests=true" >> $GITHUB_OUTPUT || true fi # Check if we should run hypothesis tests From c7d9294ea356758f9cfeafb8a181c9734c08567d Mon Sep 17 00:00:00 2001 From: Kirill Podoprigora Date: Wed, 12 Jun 2024 21:09:26 +0000 Subject: [PATCH 13/23] this should work --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c19288d8a9fcce..c5dbd5f54bad01 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,7 +54,7 @@ jobs: # into the PR branch anyway. # # https://github.com/python/core-workflow/issues/373 - git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qvE '(\.rst$|^Doc|^Misc|^\.pre-commit-config\.yaml$|\.ruff\.toml$|^\.md$)' && echo "run_tests=true" >> $GITHUB_OUTPUT || true + git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qvE '(\.rst$|^Doc|^Misc|^\.pre-commit-config\.yaml$|\.ruff\.toml$|\.md$|\.ini$)' && echo "run_tests=true" >> $GITHUB_OUTPUT || true fi # Check if we should run hypothesis tests From a9f3ecc45aaff42d88af3fe7824c7f9baf9d034a Mon Sep 17 00:00:00 2001 From: Kirill Podoprigora Date: Wed, 12 Jun 2024 21:10:58 +0000 Subject: [PATCH 14/23] and this --- README.rst | 2 +- Tools/jit/README.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 505c29b4c4b50a..7dd3660b198784 100644 --- a/README.rst +++ b/README.rst @@ -1,4 +1,4 @@ -This is Python version 3.14.0 alpha 0 +This is Python version 3.14.0 alpha 0 ===================================== .. image:: https://github.com/python/cpython/actions/workflows/build.yml/badge.svg?branch=main&event=push diff --git a/Tools/jit/README.md b/Tools/jit/README.md index ae126661c6ce25..31cf76dbd9e9b2 100644 --- a/Tools/jit/README.md +++ b/Tools/jit/README.md @@ -54,3 +54,4 @@ For all other builds, pass the new `--enable-experimental-jit` option to `config Otherwise, just configure and build as you normally would. Cross-compiling "just works", since the JIT is built for the host platform. [^why-llvm]: Clang is specifically needed because it's the only C compiler with support for guaranteed tail calls (`musttail`), which are required by CPython's continuation-passing-style approach to JIT compilation. Since LLVM also includes other functionalities we need (namely, object file parsing and disassembly), it's convenient to only support one toolchain at this time. + From cfb1f8ab42947def8556472590ec037aa2223f62 Mon Sep 17 00:00:00 2001 From: Kirill Podoprigora Date: Wed, 12 Jun 2024 21:15:08 +0000 Subject: [PATCH 15/23] I guess this is the final commit --- Tools/jit/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Tools/jit/README.md b/Tools/jit/README.md index 31cf76dbd9e9b2..9bffde545fe8d0 100644 --- a/Tools/jit/README.md +++ b/Tools/jit/README.md @@ -55,3 +55,4 @@ Otherwise, just configure and build as you normally would. Cross-compiling "just [^why-llvm]: Clang is specifically needed because it's the only C compiler with support for guaranteed tail calls (`musttail`), which are required by CPython's continuation-passing-style approach to JIT compilation. Since LLVM also includes other functionalities we need (namely, object file parsing and disassembly), it's convenient to only support one toolchain at this time. + From 52134eec1baed7c5098adacf61d797549dc2b11c Mon Sep 17 00:00:00 2001 From: Kirill Podoprigora Date: Wed, 12 Jun 2024 21:17:03 +0000 Subject: [PATCH 16/23] i hate this regex --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 7dd3660b198784..505c29b4c4b50a 100644 --- a/README.rst +++ b/README.rst @@ -1,4 +1,4 @@ -This is Python version 3.14.0 alpha 0 +This is Python version 3.14.0 alpha 0 ===================================== .. image:: https://github.com/python/cpython/actions/workflows/build.yml/badge.svg?branch=main&event=push From 4c8508a5678b5e6598b3ff0214618dedefe18f18 Mon Sep 17 00:00:00 2001 From: Kirill Podoprigora Date: Wed, 12 Jun 2024 21:29:18 +0000 Subject: [PATCH 17/23] please --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c5dbd5f54bad01..df905be4527a3f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -37,7 +37,7 @@ jobs: - name: Check for source changes id: check run: | - if [ -z "$GITHUB_BASE_REF" ]; then + if [ -z "$GITHUB_BASE_REFF" ]; then echo "run_tests=true" >> $GITHUB_OUTPUT else git fetch origin $GITHUB_BASE_REF --depth=1 From 73173794981b91e2463a9651055880b3457e5c7c Mon Sep 17 00:00:00 2001 From: Kirill Podoprigora Date: Wed, 12 Jun 2024 21:31:15 +0000 Subject: [PATCH 18/23] ... --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index df905be4527a3f..1388edcba272a9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -37,7 +37,7 @@ jobs: - name: Check for source changes id: check run: | - if [ -z "$GITHUB_BASE_REFF" ]; then + if [ -z "$GITHUB_BASE_REF" ]; then echo "run_tests=true" >> $GITHUB_OUTPUT else git fetch origin $GITHUB_BASE_REF --depth=1 @@ -54,7 +54,7 @@ jobs: # into the PR branch anyway. # # https://github.com/python/core-workflow/issues/373 - git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qvE '(\.rst$|^Doc|^Misc|^\.pre-commit-config\.yaml$|\.ruff\.toml$|\.md$|\.ini$)' && echo "run_tests=true" >> $GITHUB_OUTPUT || true + git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qvE '(\.rst$|^Doc|^Misc|^\.pre-commit-config\.yaml$|\.ruff\.toml$|\.md$|\.ini$)' && echo "run_tests=false" >> $GITHUB_OUTPUT || true fi # Check if we should run hypothesis tests From 46a20f9da33bed59d7119708ddbd5888ab1ddaaa Mon Sep 17 00:00:00 2001 From: Kirill Podoprigora Date: Wed, 12 Jun 2024 21:33:56 +0000 Subject: [PATCH 19/23] Seems I finally found the solution --- .github/workflows/build.yml | 2 +- Tools/jit/README.md | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1388edcba272a9..eb325ac2f9ee1b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,7 +54,7 @@ jobs: # into the PR branch anyway. # # https://github.com/python/core-workflow/issues/373 - git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qvE '(\.rst$|^Doc|^Misc|^\.pre-commit-config\.yaml$|\.ruff\.toml$|\.md$|\.ini$)' && echo "run_tests=false" >> $GITHUB_OUTPUT || true + git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qvE '(\.rst$|^Doc|^Misc|^\.pre-commit-config\.yaml$|\.ruff\.toml$)' && echo "run_tests=true" >> $GITHUB_OUTPUT || true fi # Check if we should run hypothesis tests diff --git a/Tools/jit/README.md b/Tools/jit/README.md index 9bffde545fe8d0..ae126661c6ce25 100644 --- a/Tools/jit/README.md +++ b/Tools/jit/README.md @@ -54,5 +54,3 @@ For all other builds, pass the new `--enable-experimental-jit` option to `config Otherwise, just configure and build as you normally would. Cross-compiling "just works", since the JIT is built for the host platform. [^why-llvm]: Clang is specifically needed because it's the only C compiler with support for guaranteed tail calls (`musttail`), which are required by CPython's continuation-passing-style approach to JIT compilation. Since LLVM also includes other functionalities we need (namely, object file parsing and disassembly), it's convenient to only support one toolchain at this time. - - From 06b8b7200e48321d3ad8511d12d784449c74c791 Mon Sep 17 00:00:00 2001 From: Kirill Podoprigora Date: Wed, 12 Jun 2024 21:35:26 +0000 Subject: [PATCH 20/23] try to trigger workflo --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index eb325ac2f9ee1b..3c1dd09ac0f12c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,6 +54,7 @@ jobs: # into the PR branch anyway. # # https://github.com/python/core-workflow/issues/373 + # git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qvE '(\.rst$|^Doc|^Misc|^\.pre-commit-config\.yaml$|\.ruff\.toml$)' && echo "run_tests=true" >> $GITHUB_OUTPUT || true fi From b578b69fdc8640e3c025986f3051d22916ff310a Mon Sep 17 00:00:00 2001 From: Kirill Podoprigora Date: Wed, 12 Jun 2024 21:40:34 +0000 Subject: [PATCH 21/23] Yes, it's works! --- .github/workflows/build.yml | 3 +-- README.rst | 2 +- Tools/jit/README.md | 1 + 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3c1dd09ac0f12c..3241310813d377 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,8 +54,7 @@ jobs: # into the PR branch anyway. # # https://github.com/python/core-workflow/issues/373 - # - git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qvE '(\.rst$|^Doc|^Misc|^\.pre-commit-config\.yaml$|\.ruff\.toml$)' && echo "run_tests=true" >> $GITHUB_OUTPUT || true + git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qvE '(\.rst$|^Doc|^Misc|^\.pre-commit-config\.yaml$|\.ruff\.toml$|^\.github|\.md$|\.ini$)' && echo "run_tests=true" >> $GITHUB_OUTPUT || true fi # Check if we should run hypothesis tests diff --git a/README.rst b/README.rst index 505c29b4c4b50a..7dd3660b198784 100644 --- a/README.rst +++ b/README.rst @@ -1,4 +1,4 @@ -This is Python version 3.14.0 alpha 0 +This is Python version 3.14.0 alpha 0 ===================================== .. image:: https://github.com/python/cpython/actions/workflows/build.yml/badge.svg?branch=main&event=push diff --git a/Tools/jit/README.md b/Tools/jit/README.md index ae126661c6ce25..31cf76dbd9e9b2 100644 --- a/Tools/jit/README.md +++ b/Tools/jit/README.md @@ -54,3 +54,4 @@ For all other builds, pass the new `--enable-experimental-jit` option to `config Otherwise, just configure and build as you normally would. Cross-compiling "just works", since the JIT is built for the host platform. [^why-llvm]: Clang is specifically needed because it's the only C compiler with support for guaranteed tail calls (`musttail`), which are required by CPython's continuation-passing-style approach to JIT compilation. Since LLVM also includes other functionalities we need (namely, object file parsing and disassembly), it's convenient to only support one toolchain at this time. + From d477365f37248ecbd5ccb5a8cd1097d69641ee7e Mon Sep 17 00:00:00 2001 From: Kirill Podoprigora Date: Wed, 12 Jun 2024 21:44:07 +0000 Subject: [PATCH 22/23] Last commit. --- .github/workflows/build.yml | 2 +- Tools/jit/README.md | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3241310813d377..c5dbd5f54bad01 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,7 +54,7 @@ jobs: # into the PR branch anyway. # # https://github.com/python/core-workflow/issues/373 - git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qvE '(\.rst$|^Doc|^Misc|^\.pre-commit-config\.yaml$|\.ruff\.toml$|^\.github|\.md$|\.ini$)' && echo "run_tests=true" >> $GITHUB_OUTPUT || true + git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qvE '(\.rst$|^Doc|^Misc|^\.pre-commit-config\.yaml$|\.ruff\.toml$|\.md$|\.ini$)' && echo "run_tests=true" >> $GITHUB_OUTPUT || true fi # Check if we should run hypothesis tests diff --git a/Tools/jit/README.md b/Tools/jit/README.md index 31cf76dbd9e9b2..ae126661c6ce25 100644 --- a/Tools/jit/README.md +++ b/Tools/jit/README.md @@ -54,4 +54,3 @@ For all other builds, pass the new `--enable-experimental-jit` option to `config Otherwise, just configure and build as you normally would. Cross-compiling "just works", since the JIT is built for the host platform. [^why-llvm]: Clang is specifically needed because it's the only C compiler with support for guaranteed tail calls (`musttail`), which are required by CPython's continuation-passing-style approach to JIT compilation. Since LLVM also includes other functionalities we need (namely, object file parsing and disassembly), it's convenient to only support one toolchain at this time. - From 8a799d70a9a629c65368a60c9aa305813b026de8 Mon Sep 17 00:00:00 2001 From: Kirill Podoprigora Date: Thu, 13 Jun 2024 13:31:53 +0300 Subject: [PATCH 23/23] Update .github/workflows/build.yml Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c5dbd5f54bad01..750aa1ed87bca1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,7 +54,7 @@ jobs: # into the PR branch anyway. # # https://github.com/python/core-workflow/issues/373 - git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qvE '(\.rst$|^Doc|^Misc|^\.pre-commit-config\.yaml$|\.ruff\.toml$|\.md$|\.ini$)' && echo "run_tests=true" >> $GITHUB_OUTPUT || true + git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qvE '(\.rst$|^Doc|^Misc|^\.pre-commit-config\.yaml$|\.ruff\.toml$|\.md$|mypy\.ini$)' && echo "run_tests=true" >> $GITHUB_OUTPUT || true fi # Check if we should run hypothesis tests pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy