Skip to content

Commit c39032d

Browse files
ci: try Python 3.15 release candidate (DRAFT)
Point CI workflows at the 3.15 RC (allow-prereleases already enabled) and add the 3.15 trove classifier, to document which dependencies and tests are not yet ready. Must stay in DRAFT until Python 3.15 has a production release (early October). Requested in #15081.
1 parent 2b81877 commit c39032d

5 files changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
cache-dependency-glob: uv.lock
1818
- uses: actions/setup-python@v7
1919
with:
20-
python-version-file: pyproject.toml
20+
python-version: 3.15
2121
allow-prereleases: true
2222
- run: uv sync --group=test
2323
- name: Run tests

.github/workflows/directory_writer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
fetch-depth: 0
1212
- uses: actions/setup-python@v7
1313
with:
14-
python-version-file: pyproject.toml
14+
python-version: 3.15
1515
allow-prereleases: true
1616
- name: Write DIRECTORY.md
1717
run: |

.github/workflows/project_euler.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- uses: astral-sh/setup-uv@v7
2626
- uses: actions/setup-python@v7
2727
with:
28-
python-version-file: pyproject.toml
28+
python-version: 3.15
2929
allow-prereleases: true
3030
- run: uv sync --group=euler-validate --group=test
3131
- run: uv run pytest --doctest-modules --cov-report=term-missing:skip-covered --cov=project_euler/ project_euler/
@@ -43,7 +43,7 @@ jobs:
4343
- uses: astral-sh/setup-uv@v7
4444
- uses: actions/setup-python@v7
4545
with:
46-
python-version-file: pyproject.toml
46+
python-version: 3.15
4747
allow-prereleases: true
4848
- run: uv sync --group=euler-validate --group=test
4949
- run: uv run pytest scripts/validate_solutions.py

.github/workflows/sphinx.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- uses: astral-sh/setup-uv@v7
3737
- uses: actions/setup-python@v7
3838
with:
39-
python-version-file: pyproject.toml
39+
python-version: 3.15
4040
allow-prereleases: true
4141
- run: uv sync --group=docs
4242
- uses: actions/configure-pages@v6

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ requires-python = ">=3.14"
77
classifiers = [
88
"Programming Language :: Python :: 3 :: Only",
99
"Programming Language :: Python :: 3.14",
10+
"Programming Language :: Python :: 3.15",
1011
]
1112
dependencies = [
1213
"beautifulsoup4>=4.12.3",

0 commit comments

Comments
 (0)