Skip to content

Commit f48eaba

Browse files
authored
Merge pull request #300 from ModellingWebLab/299-support-python-314
Support Python 3.14
2 parents c78263f + 1a9b61f commit f48eaba

5 files changed

Lines changed: 17 additions & 13 deletions

File tree

.flake8

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ ignore =
99
# break after binary operator - allow either style
1010
exclude=
1111
.git,
12+
.venv,
1213
build,
1314
dev-requirements,
1415
venv,

.github/workflows/pytest.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,30 +5,30 @@ jobs:
55
runs-on: ubuntu-latest
66
strategy:
77
matrix:
8-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
8+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
99
steps:
1010
- name: Checkout repository and submodules
11-
uses: actions/checkout@v4
11+
uses: actions/checkout@v6
1212
with:
1313
submodules: recursive
1414
- name: Set up Python ${{ matrix.python-version }}
15-
uses: actions/setup-python@v5
15+
uses: actions/setup-python@v6
1616
with:
1717
python-version: ${{ matrix.python-version }}
1818
- name: Install dependencies
1919
run: |
20-
python -m pip install --upgrade pip
21-
pip install flake8 pytest
22-
pip install .[test]
20+
python3 -m pip install --upgrade pip
21+
python3 -m pip install flake8 pytest
22+
python3 -m pip install .[test]
2323
- name: Lint with flake8
2424
run: |
25-
python -m flake8
26-
- name: Test sorting wioth isort
25+
python3 -m flake8
26+
- name: Test sorting with isort
2727
run: |
28-
python -m isort --verbose --check-only --diff chaste_codegen tests setup.py
28+
python3 -m isort --verbose --check-only --diff chaste_codegen tests setup.py
2929
- name: Test with pytest
3030
run: |
31-
python -m pytest --cov --cov-config=.coveragerc
32-
- uses: codecov/codecov-action@v5
31+
python3 -m pytest --cov --cov-config=.coveragerc
32+
- uses: codecov/codecov-action@v6
3333
with:
3434
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos

RELEASE.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Release 0.10.7
2+
- Added support for Python 3.14.
3+
14
# Release 0.10.6
25
- Added support for Python 3.13.
36
- Updated dependency versions:

chaste_codegen/_command_line_script.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def skip_conversion(args):
6060

6161
def process_command_line():
6262
# add options for command line interface
63-
parser = argparse.ArgumentParser(description='Chaste code generation for cellml.')
63+
parser = argparse.ArgumentParser(prog='chaste_codegen', description='Chaste code generation for cellml.')
6464
# Options for added pycml backwards compatibility, these are now always on
6565
parser.add_argument('--Wu', '--warn-on-units-errors', action='store_true', help=argparse.SUPPRESS)
6666
parser.add_argument('-A', '--fully-automatic', action='store_true', help=argparse.SUPPRESS)

chaste_codegen/version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.10.6
1+
0.10.7

0 commit comments

Comments
 (0)