Skip to content

Commit

Permalink
Merge pull request #288 from PowerGridModel/drop-python-3.10
Browse files Browse the repository at this point in the history
Drop python 3.10
  • Loading branch information
mgovers authored Jan 27, 2025
2 parents 2f63193 + 9b0aeb8 commit 70f9d54
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 16 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/build-test-and-sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ jobs:
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis

- name: Setup Python 3.10
- name: Setup Python 3.11
uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.11"

- name: Install in develop mode
run: |
Expand All @@ -106,10 +106,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python: ["3.10", "3.11", "3.12"]
exclude:
- os: macos-latest
python: "3.10"
python: ["3.11", "3.12"]
fail-fast: false
runs-on: ${{ matrix.os }}

Expand Down Expand Up @@ -140,10 +137,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python: ["3.10", "3.11", "3.12"]
exclude:
- os: macos-latest
python: "3.10"
python: ["3.11", "3.12"]
fail-fast: false
runs-on: ${{ matrix.os }}

Expand Down Expand Up @@ -182,10 +176,10 @@ jobs:
TWINE_PASSWORD: ${{ secrets.PYPI_PASS }}
runs-on: ubuntu-latest
steps:
- name: Setup Python 3.10
- name: Setup Python 3.11
uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.11"

- name: Load built wheel file
uses: actions/download-artifact@v4
Expand Down
4 changes: 2 additions & 2 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ sphinx:
configuration: docs/conf.py

build:
os: "ubuntu-20.04"
os: "ubuntu-24.04"
tools:
python: "3.10"
python: "3.12"
jobs:
post_install:
# Build package with doc requirements from pyproject.optional-dependencies
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ classifiers=[
"Operating System :: MacOS",
"Topic :: Scientific/Engineering :: Physics",
]
requires-python = ">=3.10"
requires-python = ">=3.11"
dependencies = [
"numpy>=1.20",
"openpyxl",
Expand Down Expand Up @@ -85,7 +85,7 @@ addopts = ["--cov=power_grid_model_io", "--cov-report=term", "--cov-report=html:

[tool.black]
line-length = 120
target-version = ["py310", "py311"]
target-version = ["py311", "py312", "py313"]

[tool.isort]
profile = "black"
Expand Down

0 comments on commit 70f9d54

Please sign in to comment.