Skip to content

Commit 67db3c2

Browse files
committed
Add 3.13 and 3.14 support, use 3.13 for CI
1 parent 3e7e203 commit 67db3c2

File tree

8 files changed

+18
-12
lines changed

8 files changed

+18
-12
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
fail-fast: true
1717
matrix:
1818
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
19-
python-version: ['3.10', '3.11', '3.12']
19+
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
2020
steps:
2121
- uses: actions/checkout@v5
2222
- name: Set up Python ${{ matrix.python-version }}

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
fail-fast: true
1717
matrix:
1818
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
19-
python-version: ['3.10', '3.11', '3.12']
19+
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
2020
steps:
2121
- uses: actions/checkout@v5
2222
- name: Set up Python ${{ matrix.python-version }}

setup.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ classifiers =
1515
Programming Language :: Python :: 3.10
1616
Programming Language :: Python :: 3.11
1717
Programming Language :: Python :: 3.12
18+
Programming Language :: Python :: 3.13
19+
Programming Language :: Python :: 3.14
1820
description = Copier template to initialize Python projects in accordance with Netherlands eScience Center best practices
1921
long_description = file: README.md
2022
long_description_content_type = text/markdown

template/project_setup.md.jinja

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ This repository is set up with Python versions:
1414
- 3.10
1515
- 3.11
1616
- 3.12
17+
- 3.13
18+
- 3.14
1719

1820
Add or remove Python versions based on project requirements. See [the
1921
guide](https://guide.esciencecenter.nl/#/language_guides/python) for more information about Python

template/pyproject.toml.jinja

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ classifiers = [
2727
"Programming Language :: Python :: 3.10",
2828
"Programming Language :: Python :: 3.11",
2929
"Programming Language :: Python :: 3.12",
30+
"Programming Language :: Python :: 3.13",
31+
"Programming Language :: Python :: 3.14",
3032
]
3133
dependencies = []
3234
description = "{{ package_short_description|replace('\"', '\\\"') }}"
@@ -106,7 +108,7 @@ command_line = "-m pytest"
106108
[tool.tox]
107109
legacy_tox_ini = """
108110
[tox]
109-
envlist = py310,py311,py312
111+
envlist = py310,py311,py312,py313,py314
110112
skip_missing_interpreters = true
111113
{% if AddLocalTests -%}
112114
[testenv]

template/{% if HasWorkflows %}.github{% endif %}/workflows/{% if AddGitHubActionBuild %}build.yml{% endif %}.jinja

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
fail-fast: true
1818
matrix:
1919
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
20-
python-version: ['3.10', '3.11', '3.12']
20+
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
2121
steps:
2222
- uses: actions/checkout@v5
2323
- name: Set up Python ${{ '{{ ' -}} matrix.python-version }}
@@ -46,10 +46,10 @@ jobs:
4646
fail-fast: false
4747
steps:
4848
- uses: actions/checkout@v5
49-
- name: Set up Python 3.12
49+
- name: Set up Python 3.13
5050
uses: actions/setup-python@v6
5151
with:
52-
python-version: 3.12
52+
python-version: 3.13
5353
- name: Python info
5454
shell: bash -e {0}
5555
run: |
@@ -71,15 +71,15 @@ jobs:
7171
runs-on: ubuntu-latest
7272
steps:
7373
- uses: actions/checkout@v5
74-
- name: Set up Python 3.12
74+
- name: Set up Python 3.13
7575
uses: actions/setup-python@v6
7676
with:
77-
python-version: 3.12
77+
python-version: 3.13
7878
- name: Upgrade pip and install dependencies
7979
run: |
8080
python -m pip install --upgrade pip setuptools
8181
python -m pip install .[dev]
8282
- name: Run {{ SelectTypeChecker }}
8383
run: |
8484
{{ SelectTypeChecker }}
85-
{%- endif %}
85+
{%- endif %}

template/{% if HasWorkflows %}.github{% endif %}/workflows/{% if AddGitHubActionDocumentation %}documentation.yml{% endif %}

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
fail-fast: false
1717
steps:
1818
- uses: actions/checkout@v5
19-
- name: Set up Python 3.12
19+
- name: Set up Python 3.13
2020
uses: actions/setup-python@v6
2121
with:
22-
python-version: 3.12
22+
python-version: 3.13
2323
- name: Python info
2424
shell: bash -e {0}
2525
run: |

template/{% if HasWorkflows %}.github{% endif %}/workflows/{% if AddSonarCloud %}sonarcloud.yml{% endif %}

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Set up Python
2222
uses: actions/setup-python@v6
2323
with:
24-
python-version: 3.12
24+
python-version: 3.13
2525
- name: Python info
2626
shell: bash -e {0}
2727
run: |

0 commit comments

Comments
 (0)