From 6e261ff28c247719ea1a2a617ab7236ec43d740f Mon Sep 17 00:00:00 2001 From: David Bold Date: Thu, 27 Nov 2025 13:41:43 +0100 Subject: [PATCH] CI: Update minimum versions for tests --- .github/workflows/master.yml | 10 ++++------ .github/workflows/pythonpackage.yml | 8 ++++---- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 4da18ff8..60fc1134 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -20,18 +20,17 @@ jobs: if: always() strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.12", "3.13", "3.14", "3.x"] fail-fast: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | - sudo apt-get update && sudo apt-get install libhdf5-dev libnetcdf-dev python -m pip install --upgrade pip - name: Install package run: | @@ -48,7 +47,7 @@ jobs: if: always() strategy: matrix: - python-version: ["3.8"] + python-version: ["3.12"] fail-fast: false steps: @@ -59,9 +58,8 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | - sudo apt-get update && sudo apt-get install libhdf5-dev libnetcdf-dev python -m pip install --upgrade pip - pip install xarray~=2023.1.0 pandas~=1.4.0 + pip install xarray~=2023.12.0 pandas~=2.2.0 - name: Install package run: | pip install -e .[tests] diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 823eafcf..9fed7c3e 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -20,11 +20,11 @@ jobs: if: always() strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.x"] + python-version: ["3.12", "3.13", "3.14", "3.x"] fail-fast: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: @@ -47,7 +47,7 @@ jobs: if: always() strategy: matrix: - python-version: ["3.8"] + python-version: ["3.12"] fail-fast: false steps: @@ -59,7 +59,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install xarray~=2023.1.0 pandas~=1.4.0 + pip install xarray~=2023.12.0 pandas~=2.2.0 - name: Install package run: | pip install -e .[tests]