Skip to content

Commit 75d3f96

Browse files
authored
Merge pull request #269 from CCPBioSim/268-bug-sphinx-docs
Update CI matrix and documentation for supported Python versions
2 parents 68b9ef4 + b50980c commit 75d3f96

File tree

3 files changed

+22
-10
lines changed

3 files changed

+22
-10
lines changed

.github/workflows/project-ci.yaml

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
matrix:
1717
os: [ubuntu-24.04, windows-2025, macos-15]
18-
python-version: ["3.11", "3.12", "3.13", "3.14"]
18+
python-version: ["3.12", "3.13", "3.14"]
1919
steps:
2020
- name: Checkout repo
2121
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
@@ -38,14 +38,18 @@ jobs:
3838
parallel: true
3939

4040
docs:
41-
runs-on: ubuntu-latest
41+
runs-on: ${{ matrix.os }}
42+
strategy:
43+
matrix:
44+
os: [ubuntu-24.04, windows-2025, macos-15]
45+
python-version: ["3.12", "3.13", "3.14"]
4246
timeout-minutes: 15
4347
steps:
4448
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
45-
- name: Set up Python 3.14
49+
- name: Set up Python ${{ matrix.python-version }}
4650
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
4751
with:
48-
python-version: 3.14.0
52+
python-version: ${{ matrix.python-version }}
4953
- name: Install python dependencies
5054
run: |
5155
pip install --upgrade pip
@@ -54,19 +58,28 @@ jobs:
5458
run: cd docs && make
5559

5660
pre-commit:
57-
runs-on: ubuntu-24.04
61+
runs-on: ${{ matrix.os }}
62+
strategy:
63+
matrix:
64+
os: [ubuntu-24.04, windows-2025, macos-15]
65+
python-version: ["3.12", "3.13", "3.14"]
5866
timeout-minutes: 15
5967
steps:
6068
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
61-
- name: Set up Python 3.14
69+
- name: Set up Python ${{ matrix.python-version }}
6270
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
6371
with:
64-
python-version: 3.14.0
72+
python-version: ${{ matrix.python-version }}
6573
- name: Install python dependencies
6674
run: |
6775
pip install --upgrade pip
6876
pip install -e .[pre-commit]
6977
- name: Run pre-commit
78+
shell: bash
7079
run: |
7180
pre-commit install
72-
pre-commit run --all-files || ( git status --short ; git diff ; exit 1 )
81+
pre-commit run --all-files || {
82+
git status --short
83+
git diff
84+
exit 1
85+
}

docs/getting_started.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Getting Started
44
Requirements
55
----------------
66

7-
* Python >= 3.11
7+
* Python >= 3.12
88

99
Installation
1010
----------------

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ readme = "README.md"
2626
license = { file = "LICENSE" }
2727
classifiers = [
2828
"Programming Language :: Python",
29-
"Programming Language :: Python :: 3.11",
3029
"Programming Language :: Python :: 3.12",
3130
"Programming Language :: Python :: 3.13",
3231
"Programming Language :: Python :: 3.14",

0 commit comments

Comments
 (0)