Skip to content

Don't use Python 3.12 with Black (in ci_format_checks.yml)#769

Merged
mhucka merged 1 commit into
masterfrom
mh-use-diff-py-version
Jun 14, 2025
Merged

Don't use Python 3.12 with Black (in ci_format_checks.yml)#769
mhucka merged 1 commit into
masterfrom
mh-use-diff-py-version

Conversation

@mhucka
Copy link
Copy Markdown
Collaborator

@mhucka mhucka commented Jun 14, 2025

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.

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.
@mhucka mhucka changed the title Don't use Python 3.12 with Black Don't use Python 3.12 with Black (in ci_format_checks.yml) Jun 14, 2025
@mhucka mhucka marked this pull request as ready for review June 14, 2025 02:30
@mhucka mhucka merged commit 83e6c69 into master Jun 14, 2025
50 of 51 checks passed
@mhucka mhucka deleted the mh-use-diff-py-version branch June 14, 2025 02:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant