Skip to content

Commit 334fef2

Browse files
Jammy2211claude
authored andcommitted
build: add Python 3.13 to CI matrix and classifiers
Add Python 3.13 to the GitHub Actions test matrix so CI runs on both 3.12 and 3.13. Add the 3.13 classifier to pyproject.toml. Part of PyAutoLabs/PyAutoConf#89. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 74bc67e commit 334fef2

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/main.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
python-version: ['3.12']
10+
python-version: ['3.12', '3.13']
1111
steps:
1212
- name: Checkout PyAutoConf
1313
uses: actions/checkout@v2
@@ -36,7 +36,10 @@ jobs:
3636
pip3 install setuptools
3737
pip3 install wheel
3838
pip3 install pytest coverage pytest-cov
39-
pip install ./PyAutoConf "./PyAutoArray[optional]"
39+
pip install ./PyAutoConf ./PyAutoArray
40+
if [ "${{ matrix.python-version }}" = "3.12" ]; then
41+
pip install "./PyAutoArray[optional]"
42+
fi
4043
4144
- name: Extract branch name
4245
shell: bash

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ classifiers = [
1818
"Topic :: Scientific/Engineering :: Physics",
1919
"Natural Language :: English",
2020
"Operating System :: OS Independent",
21-
"Programming Language :: Python :: 3.12"
21+
"Programming Language :: Python :: 3.12",
22+
"Programming Language :: Python :: 3.13"
2223
]
2324
keywords = ["cli"]
2425
dependencies = [

0 commit comments

Comments
 (0)