Skip to content

Commit 1b3a9e9

Browse files
committed
fix(runtime): complete cp314 migration and clean baseline trust UX
1 parent e04d213 commit 1b3a9e9

30 files changed

Lines changed: 120 additions & 43 deletions

.github/actions/codeclone/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373

7474
| Input | Default | Purpose |
7575
|-------------------------|---------------------------------|-------------------------------------------------------------------------------------------------------------------|
76-
| `python-version` | `3.13` | Python version used to run the action |
76+
| `python-version` | `3.14` | Python version used to run the action |
7777
| `package-version` | `""` | CodeClone version from PyPI for remote installs; ignored when the action runs from the checked-out CodeClone repo |
7878
| `path` | `.` | Project root to analyze |
7979
| `json-path` | `.cache/codeclone/report.json` | JSON report output path |

.github/actions/codeclone/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ inputs:
1313
python-version:
1414
description: "Python version"
1515
required: false
16-
default: "3.13"
16+
default: "3.14"
1717

1818
package-version:
1919
description: "CodeClone version from PyPI for remote installs (ignored when the action runs from the checked-out CodeClone repo)"

.github/workflows/benchmark.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
if: env.BENCH_ENABLED == '1' && runner.os == 'macOS'
8888
uses: actions/setup-python@v6.2.0
8989
with:
90-
python-version: "3.13"
90+
python-version: "3.14"
9191
allow-prereleases: true
9292

9393
- name: Set up uv (macOS local benchmark)

.github/workflows/codeclone.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Run CodeClone
2727
uses: ./.github/actions/codeclone
2828
with:
29-
python-version: "3.13"
29+
python-version: "3.14"
3030
fail-on-new: "true"
3131
fail-health: "60"
3232
sarif: "true"

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Set up Python
2525
uses: actions/setup-python@v6.2.0
2626
with:
27-
python-version: "3.13"
27+
python-version: "3.14"
2828
allow-prereleases: true
2929

3030
- name: Set up uv
@@ -33,7 +33,7 @@ jobs:
3333
enable-cache: true
3434

3535
- name: Install project dependencies
36-
run: uv sync --dev
36+
run: uv sync --extra dev
3737

3838
- name: Configure GitHub Pages
3939
uses: actions/configure-pages@v5

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Set up Python
3535
uses: actions/setup-python@v6.2.0
3636
with:
37-
python-version: "3.13"
37+
python-version: "3.14"
3838
allow-prereleases: true
3939

4040
- name: Set up uv

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ jobs:
4343
run: uv run pytest --cov=codeclone --cov-report=term-missing --cov-fail-under=99
4444

4545
- name: Verify baseline exists
46-
if: ${{ matrix.python-version == '3.13' }}
46+
if: ${{ matrix.python-version == '3.14' }}
4747
run: test -f codeclone.baseline.json
4848

4949
- name: Check for new clones vs baseline
50-
if: ${{ matrix.python-version == '3.13' }}
50+
if: ${{ matrix.python-version == '3.14' }}
5151
run: uv run codeclone . --ci
5252

5353
lint:
@@ -59,7 +59,7 @@ jobs:
5959
- name: Set up Python
6060
uses: actions/setup-python@v6.2.0
6161
with:
62-
python-version: "3.13"
62+
python-version: "3.14"
6363

6464
- name: Set up uv
6565
uses: astral-sh/setup-uv@v5

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ versions from another document.
162162
},
163163
"schema_version": "2.1",
164164
"fingerprint_version": "1",
165-
"python_tag": "cp313",
165+
"python_tag": "cp314",
166166
"created_at": "2026-02-08T14:20:15Z",
167167
"payload_sha256": ""
168168
},

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ When reporting issues related to clone detection, include:
4949

5050
- minimal reproducible code snippets (preferred over screenshots);
5151
- the CodeClone version;
52-
- the Python version (`python_tag`, e.g. `cp313`);
52+
- the Python version (`python_tag`, e.g. `cp314`);
5353
- whether the issue is primarily:
5454
- AST-related,
5555
- CFG-related,

benchmarks/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1.7
22

3-
FROM python:3.13.2-slim-bookworm
3+
FROM python:3.14.3-slim-bookworm
44

55
ENV PYTHONDONTWRITEBYTECODE=1 \
66
PYTHONUNBUFFERED=1 \

0 commit comments

Comments
 (0)