Run py-fuzzer using Python 3.14 in CI (#20957)

This commit is contained in:
Alex Waygood 2025-10-18 15:42:39 +01:00 committed by GitHub
parent 68c1fa86c8
commit 09306a1d69
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 6 additions and 5 deletions

View file

@ -22,7 +22,7 @@ env:
CARGO_TERM_COLOR: always
RUSTUP_MAX_RETRIES: 10
PACKAGE_NAME: ruff
PYTHON_VERSION: "3.13"
PYTHON_VERSION: "3.14"
NEXTEST_PROFILE: ci
jobs:
@ -557,7 +557,8 @@ jobs:
persist-credentials: false
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
with:
python-version: ${{ env.PYTHON_VERSION }}
# TODO: figure out why `ruff-ecosystem` crashes on Python 3.14
python-version: "3.13"
- uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
name: Download comparison Ruff binary
@ -711,7 +712,7 @@ jobs:
--baseline-executable="${PWD}/ty" \
--only-new-bugs \
--bin=ty \
0-500
0-1000
)
cargo-shear:

View file

@ -49,7 +49,7 @@ jobs:
# shellcheck disable=SC2046
(
uv run \
--python=3.13 \
--python=3.14 \
--project=./python/py-fuzzer \
--locked \
fuzz \

View file

@ -66,7 +66,7 @@ def ruff_contains_bug(code: str, *, ruff_executable: Path) -> bool:
"lint.select=[]",
"--no-cache",
"--target-version",
"py313",
"py314",
"--preview",
"-",
],