From 2010c7e8f921d5a373fe0607b99a9d7ec8187817 Mon Sep 17 00:00:00 2001 From: Michele Cattaneo Date: Sat, 21 Mar 2026 12:11:25 +0100 Subject: [PATCH 1/5] chore: added github action to check dependencies resolution --- .github/workflows/CI_check_dependencies.yaml | 29 ++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/CI_check_dependencies.yaml diff --git a/.github/workflows/CI_check_dependencies.yaml b/.github/workflows/CI_check_dependencies.yaml new file mode 100644 index 0000000..5c91a99 --- /dev/null +++ b/.github/workflows/CI_check_dependencies.yaml @@ -0,0 +1,29 @@ +name: CI_check_dependencies + +on: + push: + pull_request: + +jobs: + dependency-check: + runs-on: ubuntu-latest + + strategy: + fail-fast: false + matrix: + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] + + steps: + - name: Checkout current repository + uses: actions/checkout@v4 + + - name: Set up specific Python + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install . + From f8e8c8754bee3b8be151264f7b513304d1035d2f Mon Sep 17 00:00:00 2001 From: Michele Cattaneo <44707621+MicheleCattaneo@users.noreply.github.com> Date: Sat, 21 Mar 2026 12:25:37 +0100 Subject: [PATCH 2/5] Update .github/workflows/CI_check_dependencies.yaml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .github/workflows/CI_check_dependencies.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/CI_check_dependencies.yaml b/.github/workflows/CI_check_dependencies.yaml index 5c91a99..5ea3272 100644 --- a/.github/workflows/CI_check_dependencies.yaml +++ b/.github/workflows/CI_check_dependencies.yaml @@ -11,6 +11,7 @@ jobs: strategy: fail-fast: false matrix: + # Keep this list in sync with project.requires-python in pyproject.toml python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] steps: From 8549e8764fddadce43df49d4fe066c25038ed560 Mon Sep 17 00:00:00 2001 From: Michele Cattaneo <44707621+MicheleCattaneo@users.noreply.github.com> Date: Sat, 21 Mar 2026 12:27:31 +0100 Subject: [PATCH 3/5] Update .github/workflows/CI_check_dependencies.yaml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .github/workflows/CI_check_dependencies.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/CI_check_dependencies.yaml b/.github/workflows/CI_check_dependencies.yaml index 5ea3272..927e94f 100644 --- a/.github/workflows/CI_check_dependencies.yaml +++ b/.github/workflows/CI_check_dependencies.yaml @@ -26,5 +26,5 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install . + python -m pip install . From 355ee83d7786045e94c46d1ee2f58672454e008f Mon Sep 17 00:00:00 2001 From: Michele Cattaneo Date: Sun, 22 Mar 2026 19:56:30 +0100 Subject: [PATCH 4/5] chore: update minimum python version --- README.md | 4 ++-- pyproject.toml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d119f19..becdeb6 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ MeteoSwiss Weather Station Measurements for Spatiotemporal Deep Learning.

PyPI -PyPI - Python Version +PyPI - Python Version Documentation Status Total Downloads

@@ -51,7 +51,7 @@ Install PeakWeather from PyPI: pip install peakweather ``` -This installs the base package with support for station measurements and NWP predictions. +This installs the base package with support for station measurements. To also access the topographical descriptors and the NWP data, install the extra dependencies: ```shell diff --git a/pyproject.toml b/pyproject.toml index 390337e..beb3f07 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ authors = [ ] license = { file = "LICENSE" } readme = "README.md" -requires-python = ">=3.8" +requires-python = ">=3.9" dynamic = ["version"] # Core dependencies @@ -30,7 +30,7 @@ module = "peakweather" [tool.ruff] line-length = 88 indent-width = 4 -target-version = "py38" +target-version = "py39" exclude = ["test"] [tool.ruff.lint] From 646df41fb89ada0c84571c3152f99ae3f610d328 Mon Sep 17 00:00:00 2001 From: Michele Cattaneo Date: Sun, 22 Mar 2026 20:01:09 +0100 Subject: [PATCH 5/5] chore: removed dependencies check pipeline --- .github/workflows/CI_check_dependencies.yaml | 30 -------------------- 1 file changed, 30 deletions(-) delete mode 100644 .github/workflows/CI_check_dependencies.yaml diff --git a/.github/workflows/CI_check_dependencies.yaml b/.github/workflows/CI_check_dependencies.yaml deleted file mode 100644 index 927e94f..0000000 --- a/.github/workflows/CI_check_dependencies.yaml +++ /dev/null @@ -1,30 +0,0 @@ -name: CI_check_dependencies - -on: - push: - pull_request: - -jobs: - dependency-check: - runs-on: ubuntu-latest - - strategy: - fail-fast: false - matrix: - # Keep this list in sync with project.requires-python in pyproject.toml - python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] - - steps: - - name: Checkout current repository - uses: actions/checkout@v4 - - - name: Set up specific Python - uses: actions/setup-python@v5 - with: - python-version: ${{ matrix.python-version }} - - - name: Install dependencies - run: | - python -m pip install --upgrade pip - python -m pip install . -