From 0bf72cac6f1ea0a9b22185a779fa965b2ccb5e2b Mon Sep 17 00:00:00 2001 From: Lukas Trippe Date: Fri, 27 Sep 2024 13:58:41 +0200 Subject: [PATCH] build: pin `rasterio<1.4` (#1334) * build: pin `rasterio<1.4` * fix fixed updater * run tests daily --- .github/workflows/test.yaml | 2 +- .github/workflows/update-fixed-env.yaml | 4 ++-- envs/environment.yaml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index f780e4d5..4308276f 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -12,7 +12,7 @@ on: branches: - master schedule: - - cron: "0 5 * * TUE" + - cron: "0 5 * * *" # Cancel any in-progress runs when a new run is triggered concurrency: diff --git a/.github/workflows/update-fixed-env.yaml b/.github/workflows/update-fixed-env.yaml index 425b246f..22c06190 100644 --- a/.github/workflows/update-fixed-env.yaml +++ b/.github/workflows/update-fixed-env.yaml @@ -18,12 +18,12 @@ jobs: - name: Setup conda uses: conda-incubator/setup-miniconda@v3 with: - activate-environment: pypsa-eur + activate-environment: ${{ github.event.repository.name }} environment-file: envs/environment.yaml - name: Update environment.fixed.yaml run: | - conda env export --name pypsa-eur-fixed --no-builds > envs/environment.fixed.yaml + conda env export --name ${{ github.event.repository.name }} --no-builds | sed 's/^name: ${{ github.event.repository.name }}$/name: ${{ github.event.repository.name }}-fixed/' > envs/environment.fixed.yaml - name: Add SPDX header run: | diff --git a/envs/environment.yaml b/envs/environment.yaml index 9352d56b..67ad6d09 100644 --- a/envs/environment.yaml +++ b/envs/environment.yaml @@ -56,7 +56,7 @@ dependencies: # GIS dependencies: - cartopy - descartes -- rasterio!=1.2.10 +- rasterio<1.4 - pip: - tsam>=2.3.1