From 2f1dcf28efc4e095310b27bc3f5b9380cde0f630 Mon Sep 17 00:00:00 2001 From: Robin Scheibler Date: Thu, 9 Feb 2023 18:23:59 +0900 Subject: [PATCH] Adds workaround to CI for windows and py3.7 --- .github/workflows/pythonpackage.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index ff9bca0b..a786f55d 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -27,6 +27,14 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip + - name: Workaround for windows and python 3.7 + if: matrix.os == 'windows-latest' && python-version == 3.7 + run: | + pip install netCDF4<=1.5.8 + # There is no binary package of netCF4>=1.6.0 for windows and python 3.7 + # the largest supported version is 1.5.8 + - name: Install dependencies + run: | pip install -r requirements.txt - name: Lint with flake8 run: |