Skip to content

Commit 19d4055

Browse files
committed
Fuzz the parser using Python 3.14
1 parent 16efe53 commit 19d4055

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ env:
2222
CARGO_TERM_COLOR: always
2323
RUSTUP_MAX_RETRIES: 10
2424
PACKAGE_NAME: ruff
25-
PYTHON_VERSION: "3.13"
25+
PYTHON_VERSION: "3.14"
2626
NEXTEST_PROFILE: ci
2727

2828
jobs:
@@ -557,7 +557,8 @@ jobs:
557557
persist-credentials: false
558558
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
559559
with:
560-
python-version: ${{ env.PYTHON_VERSION }}
560+
# TODO: figure out why `ruff-ecosystem` crashes on Python 3.14
561+
python-version: "3.13"
561562

562563
- uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
563564
name: Download comparison Ruff binary
@@ -711,7 +712,7 @@ jobs:
711712
--baseline-executable="${PWD}/ty" \
712713
--only-new-bugs \
713714
--bin=ty \
714-
0-500
715+
0-1000
715716
)
716717
717718
cargo-shear:

.github/workflows/daily_fuzz.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
# shellcheck disable=SC2046
5050
(
5151
uv run \
52-
--python=3.13 \
52+
--python=3.14 \
5353
--project=./python/py-fuzzer \
5454
--locked \
5555
fuzz \

python/py-fuzzer/fuzz.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def ruff_contains_bug(code: str, *, ruff_executable: Path) -> bool:
6666
"lint.select=[]",
6767
"--no-cache",
6868
"--target-version",
69-
"py313",
69+
"py314",
7070
"--preview",
7171
"-",
7272
],

0 commit comments

Comments
 (0)