Skip to content

Commit ba85191

Browse files
committed
ops: switch python to 3.13
1 parent 0a87e23 commit ba85191

File tree

8 files changed

+16
-13
lines changed

8 files changed

+16
-13
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
- '3.10'
2525
- '3.11'
2626
- '3.12'
27+
- '3.13'
2728

2829
steps:
2930

.github/workflows/deploy-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Setup Python
2222
uses: actions/[email protected]
2323
with:
24-
python-version: '3.11'
24+
python-version: '3.13'
2525

2626
- name: Install dependencies
2727
run: |

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Setup Python
2828
uses: actions/[email protected]
2929
with:
30-
python-version: '3.11'
30+
python-version: '3.13'
3131

3232
- name: Install dependencies
3333
run: |

.python-version

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
3.11
1+
3.13
22
3.12
3+
3.11
34
3.10
45
3.9

environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ channels:
33
- conda-forge
44
- nodefaults
55
dependencies:
6-
- python==3.11.*
6+
- python==3.13.*
77
- pip
88
- pip:
99
- jupyter

mypy.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
plugins = pydantic.mypy
33

44
ignore_missing_imports = True
5-
python_version = 3.9
5+
python_version = 3.13
66

77
[pydantic-mypy]
88
init_typed = true

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
'spectroscopy',
2828
]
2929

30-
PYTHON_REQUIRES = '>=3.9,<3.13'
30+
PYTHON_REQUIRES = '>=3.9,<3.14'
3131

3232
PACKAGES = find_packages(where='src')
3333

tox.ini

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
[tox]
2-
env_list = clean, py311, mypy, black, usort, flake8, docs
2+
env_list = clean, py313, mypy, black, usort, flake8, docs
33

44
[gh-actions]
55
python =
66
3.9: py39
77
3.10: py310
8-
3.11: py311, mypy, black, usort, flake8, docs
8+
3.11: py311
99
3.12: py312
10+
3.13: py313, mypy, black, usort, flake8, docs
1011

1112
[flake8]
1213
max-line-length = 119
@@ -46,12 +47,12 @@ skip_install = true
4647
commands = coverage erase
4748

4849
[testenv:mypy]
49-
base_python = python3.11
50+
base_python = python3.13
5051
deps = mypy
5152
commands = mypy src tests
5253

5354
[testenv:black]
54-
base_python = python3.11
55+
base_python = python3.13
5556
deps=black
5657
commands =
5758
black \
@@ -66,7 +67,7 @@ commands =
6667
tests/protocols/test_twinning.py
6768

6869
[testenv:usort]
69-
base_python = python3.11
70+
base_python = python3.13
7071
deps=usort
7172
commands =
7273
usort format \
@@ -84,12 +85,12 @@ commands =
8485
tests/protocols/test_twinning.py
8586

8687
[testenv:flake8]
87-
base_python = python3.11
88+
base_python = python3.13
8889
deps = flake8
8990
commands = flake8 scripts src tests
9091

9192
[testenv:docs]
92-
base_python = python3.11
93+
base_python = python3.13
9394
deps = pdoc
9495
commands =
9596
python scripts/gen-decorated-docs.py

0 commit comments

Comments
 (0)