From 81a20190e6087cb88426f1ae70fc119fef8d29e6 Mon Sep 17 00:00:00 2001 From: mhucka Date: Sat, 14 Jun 2025 02:26:24 +0000 Subject: [PATCH] Don't use Python 3.12 with Black Running with Python 3.12 can give the following error, if you're unlucky enough to get 3.12.5: ``` Python 3.12.5 has a memory safety issue that can cause Black's AST safety checks to fail. Please upgrade to Python 3.12.6 or downgrade to Python 3.12.4 ``` This particular workflow doesn't care much. Let's try 3.13. --- .github/workflows/ci_format_checks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci_format_checks.yml b/.github/workflows/ci_format_checks.yml index ed551d775..48caf4283 100644 --- a/.github/workflows/ci_format_checks.yml +++ b/.github/workflows/ci_format_checks.yml @@ -65,7 +65,7 @@ jobs: - name: Set up Python with caching of pip dependencies uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5 with: - python-version: '3.12' + python-version: '3.13' cache: pip cache-dependency-path: dev-requirements.txt