build: pin rasterio<1.4 (#1334)

* build: pin `rasterio<1.4`

* fix fixed updater

* run tests daily
This commit is contained in:
Lukas Trippe 2024-09-27 13:58:41 +02:00 committed by GitHub
parent 991916370f
commit 0bf72cac6f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View File

@ -12,7 +12,7 @@ on:
branches: branches:
- master - master
schedule: schedule:
- cron: "0 5 * * TUE" - cron: "0 5 * * *"
# Cancel any in-progress runs when a new run is triggered # Cancel any in-progress runs when a new run is triggered
concurrency: concurrency:

View File

@ -18,12 +18,12 @@ jobs:
- name: Setup conda - name: Setup conda
uses: conda-incubator/setup-miniconda@v3 uses: conda-incubator/setup-miniconda@v3
with: with:
activate-environment: pypsa-eur activate-environment: ${{ github.event.repository.name }}
environment-file: envs/environment.yaml environment-file: envs/environment.yaml
- name: Update environment.fixed.yaml - name: Update environment.fixed.yaml
run: | 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 - name: Add SPDX header
run: | run: |

View File

@ -56,7 +56,7 @@ dependencies:
# GIS dependencies: # GIS dependencies:
- cartopy - cartopy
- descartes - descartes
- rasterio!=1.2.10 - rasterio<1.4
- pip: - pip:
- tsam>=2.3.1 - tsam>=2.3.1