Skip to content

Commit 70f9d54

Browse files
authored
Merge pull request #288 from PowerGridModel/drop-python-3.10
Drop python 3.10
2 parents 2f63193 + 9b0aeb8 commit 70f9d54

File tree

3 files changed

+10
-16
lines changed

3 files changed

+10
-16
lines changed

.github/workflows/build-test-and-sonar.yml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,10 @@ jobs:
7777
with:
7878
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
7979

80-
- name: Setup Python 3.10
80+
- name: Setup Python 3.11
8181
uses: actions/setup-python@v5
8282
with:
83-
python-version: "3.10"
83+
python-version: "3.11"
8484

8585
- name: Install in develop mode
8686
run: |
@@ -106,10 +106,7 @@ jobs:
106106
strategy:
107107
matrix:
108108
os: [ubuntu-latest, macos-latest, windows-latest]
109-
python: ["3.10", "3.11", "3.12"]
110-
exclude:
111-
- os: macos-latest
112-
python: "3.10"
109+
python: ["3.11", "3.12"]
113110
fail-fast: false
114111
runs-on: ${{ matrix.os }}
115112

@@ -140,10 +137,7 @@ jobs:
140137
strategy:
141138
matrix:
142139
os: [ubuntu-latest, macos-latest, windows-latest]
143-
python: ["3.10", "3.11", "3.12"]
144-
exclude:
145-
- os: macos-latest
146-
python: "3.10"
140+
python: ["3.11", "3.12"]
147141
fail-fast: false
148142
runs-on: ${{ matrix.os }}
149143

@@ -182,10 +176,10 @@ jobs:
182176
TWINE_PASSWORD: ${{ secrets.PYPI_PASS }}
183177
runs-on: ubuntu-latest
184178
steps:
185-
- name: Setup Python 3.10
179+
- name: Setup Python 3.11
186180
uses: actions/setup-python@v5
187181
with:
188-
python-version: "3.10"
182+
python-version: "3.11"
189183

190184
- name: Load built wheel file
191185
uses: actions/download-artifact@v4

.readthedocs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ sphinx:
99
configuration: docs/conf.py
1010

1111
build:
12-
os: "ubuntu-20.04"
12+
os: "ubuntu-24.04"
1313
tools:
14-
python: "3.10"
14+
python: "3.12"
1515
jobs:
1616
post_install:
1717
# Build package with doc requirements from pyproject.optional-dependencies

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ classifiers=[
2626
"Operating System :: MacOS",
2727
"Topic :: Scientific/Engineering :: Physics",
2828
]
29-
requires-python = ">=3.10"
29+
requires-python = ">=3.11"
3030
dependencies = [
3131
"numpy>=1.20",
3232
"openpyxl",
@@ -85,7 +85,7 @@ addopts = ["--cov=power_grid_model_io", "--cov-report=term", "--cov-report=html:
8585

8686
[tool.black]
8787
line-length = 120
88-
target-version = ["py310", "py311"]
88+
target-version = ["py311", "py312", "py313"]
8989

9090
[tool.isort]
9191
profile = "black"

0 commit comments

Comments
 (0)