From 632aab1e952d171618d111834c16dda545ae53f5 Mon Sep 17 00:00:00 2001 From: Jerry Guo Date: Wed, 19 Jun 2024 15:39:17 +0200 Subject: [PATCH 1/2] dropping 3.9 support Signed-off-by: Jerry Guo --- .github/workflows/build-test-and-sonar.yml | 8 ++++---- pyproject.toml | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-test-and-sonar.yml b/.github/workflows/build-test-and-sonar.yml index bb51ee24..6c16b2ca 100644 --- a/.github/workflows/build-test-and-sonar.yml +++ b/.github/workflows/build-test-and-sonar.yml @@ -97,10 +97,10 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python: ["3.9", "3.10", "3.11", "3.12"] + python: ["3.10", "3.11", "3.12"] exclude: - os: macos-latest - python: "3.9" + python: "3.10" fail-fast: false runs-on: ${{ matrix.os }} @@ -131,10 +131,10 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python: ["3.9", "3.10", "3.11", "3.12"] + python: ["3.10", "3.11", "3.12"] exclude: - os: macos-latest - python: "3.9" + python: "3.10" fail-fast: false runs-on: ${{ matrix.os }} diff --git a/pyproject.toml b/pyproject.toml index d3e7cf10..5afec20e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,7 +26,7 @@ classifiers=[ "Operating System :: MacOS", "Topic :: Scientific/Engineering :: Physics", ] -requires-python = ">=3.9" +requires-python = ">=3.10" dependencies = [ "numpy>=1.20", "openpyxl", @@ -84,7 +84,7 @@ addopts = ["--cov=power_grid_model_io", "--cov-report=term", "--cov-report=html: [tool.black] line-length = 120 -target-version = ["py39", "py310", "py311"] +target-version = ["py310", "py311"] [tool.isort] profile = "black" From 58f23588f2be79be34083e050c7dd11ddec5b6f4 Mon Sep 17 00:00:00 2001 From: Tony Xiang Date: Wed, 10 Jul 2024 08:54:16 +0200 Subject: [PATCH 2/2] Update .readthedocs.yaml Signed-off-by: Tony Xiang --- .readthedocs.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 1f8f5b3b..5c2d3836 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -11,7 +11,7 @@ sphinx: build: os: "ubuntu-20.04" tools: - python: "3.9" + python: "3.10" jobs: post_install: # Build package with doc requirements from pyproject.optional-dependencies