fix: failing macos pypsa installation (#1325)
This commit is contained in:
parent
0d1c36ba6e
commit
e65ce91a73
11
.github/workflows/test.yaml
vendored
11
.github/workflows/test.yaml
vendored
@ -76,18 +76,9 @@ jobs:
|
||||
id: cache-env
|
||||
|
||||
- name: Update environment
|
||||
if: steps.cache-env.outputs.cache-hit != 'true' && matrix.os != 'macos'
|
||||
if: steps.cache-env.outputs.cache-hit != 'true'
|
||||
run: conda env update -n pypsa-eur -f envs/environment.yaml
|
||||
|
||||
# Temporary fix for MacOS, since highspy with pypsa can not be resolved
|
||||
- name: Update environment (macos specific)
|
||||
if: steps.cache-env.outputs.cache-hit != 'true' && matrix.os == 'macos'
|
||||
run: |
|
||||
sed -i '' '/- pypsa/d' envs/environment.yaml # Remove pypsa from environment list
|
||||
conda env update -n pypsa-eur -f envs/environment.yaml
|
||||
pip install highspy
|
||||
conda install -c conda-forge pypsa
|
||||
|
||||
- name: Install inhouse packages from master
|
||||
if: matrix.inhouse == 'dev-inhouse-deps'
|
||||
run: |
|
||||
|
@ -10,8 +10,10 @@ dependencies:
|
||||
- python>=3.8
|
||||
- pip
|
||||
|
||||
- pypsa>=0.30.2
|
||||
- atlite>=0.2.9
|
||||
- linopy
|
||||
|
||||
- dask
|
||||
|
||||
# Dependencies of the workflow itself
|
||||
@ -62,4 +64,3 @@ dependencies:
|
||||
- snakemake-executor-plugin-slurm
|
||||
- snakemake-executor-plugin-cluster-generic
|
||||
- highspy
|
||||
- pypsa>=0.30.2
|
||||
|
Loading…
Reference in New Issue
Block a user