Skip to content

Commit 0df9c30

Browse files
Merge pull request #258 from best-practice-and-impact/update-python-versions
Update python versions
2 parents 021b9bd + 3668be0 commit 0df9c30

File tree

2 files changed

+20
-9
lines changed

2 files changed

+20
-9
lines changed

.github/workflows/ci.yml

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ jobs:
4545

4646
linux:
4747

48-
name: Tests on Linux
48+
name: Build and test on Linux
4949
runs-on: ubuntu-latest
5050
strategy:
5151
matrix:
52-
python-version: ['3.9', '3.10', '3.11']
52+
python-version: ['3.9', '3.10', '3.11', '3.12']
5353

5454

5555
steps:
@@ -63,16 +63,21 @@ jobs:
6363
python -m pip install --upgrade pip
6464
pip install wheel
6565
pip install --upgrade-strategy eager -e .[testing]
66+
- name: Build
67+
run: |
68+
pip install build
69+
python -m build
6670
- name: Run pytest
67-
run: pytest
71+
run: |
72+
python -m pip install --upgrade setuptools
73+
pytest
6874
6975
windows:
70-
71-
name: Tests on Windows
76+
name: Build and test on Windows
7277
runs-on: windows-latest
7378
strategy:
7479
matrix:
75-
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
80+
python-version: ['3.9', '3.10', '3.11', '3.12']
7681

7782

7883
steps:
@@ -92,8 +97,14 @@ jobs:
9297
python -m pip install --upgrade pip
9398
pip install wheel
9499
pip install --upgrade-strategy eager -e .[testing]
100+
- name: Build
101+
run: |
102+
pip install build
103+
python -m build
95104
- name: Run pytest
96-
run: pytest
105+
run: |
106+
python -m pip install --upgrade setuptools
107+
pytest
97108
98109
build_and_deploy_docs:
99110
name: Build and deploy docs to Pages
@@ -133,7 +144,7 @@ jobs:
133144
- name: Checkout source
134145
uses: actions/checkout@v4
135146
- name: Set up Python 3.11
136-
uses: actions/setup-python@v1
147+
uses: actions/setup-python@v5
137148
with:
138149
python-version: '3.11'
139150
- name: Install build dependencies

readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ sphinx:
1010

1111
# Optionally set the version of Python and requirements required to build your docs
1212
python:
13-
version: 3.7
13+
version: 3.9
1414
install:
1515
- requirements: docs/requirements.txt

0 commit comments

Comments
 (0)