Skip to content

Commit 8ddfa3a

Browse files
authored
feat: add support for Python 3.15 in CI and project configuration (#3827)
* feat: add support for Python 3.15 in CI and project configuration Signed-off-by: Frost Ming <me@frostming.com> * chore: clean up lockfile and project configuration by removing unused metadata Signed-off-by: Frost Ming <me@frostming.com> * feat: add Python 3.15 preview version to the CI matrix Signed-off-by: Frost Ming <me@frostming.com>
1 parent a0c398a commit 8ddfa3a

5 files changed

Lines changed: 14 additions & 88 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
strategy:
3333
fail-fast: false
3434
matrix:
35-
python-version: ["3.10", 3.11, 3.12, 3.13, 3.14]
35+
python-version: ["3.10", 3.11, 3.12, 3.13, 3.14, 3.15]
3636
os: [ubuntu-latest, windows-latest, macos-latest]
3737
install-via: [pip]
3838
include:
@@ -54,19 +54,8 @@ jobs:
5454
3.12
5555
3.13
5656
3.14
57+
3.15
5758
allow-prereleases: true
58-
if: matrix.os != 'macos-latest'
59-
- name: Setup Python Versions
60-
uses: actions/setup-python@v6
61-
with:
62-
python-version: |
63-
3.10
64-
3.11
65-
3.12
66-
3.13
67-
3.14
68-
allow-prereleases: true
69-
if: matrix.os == 'macos-latest'
7059
- name: Setup Python ${{ matrix.python-version }}
7160
uses: actions/setup-python@v6
7261
with:

.github/workflows/claude.yml

Lines changed: 0 additions & 64 deletions
This file was deleted.

news/3827.misc.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add Python 3.15 preview version to the CI matrix.

pdm.lock

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/test_integration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
from pdm.utils import cd
55

6-
DEFAULT_PYTHON_VERSIONS = ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
6+
DEFAULT_PYTHON_VERSIONS = ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "3.15"]
77
PYPROJECT = {
88
"project": {"name": "test-project", "version": "0.1.0", "requires-python": ">=3.7"},
99
"build-system": {"requires": ["pdm-backend"], "build-backend": "pdm.backend"},

0 commit comments

Comments
 (0)