Closed
Description
Checklist
- I am using the current
master
branch or the latest release. Please indicate. - I am running on an up-to-date
pypsa-eur
environment. Update viaconda env update -f envs/environment.yaml
.
Describe the Bug
When I was just starting a fresh pypsa-eur repo, I was getting the below error during retrieval rules:
AttributeError: 'Snakemake' object has no attribute '_params_store'
After just a little bit of digging, it looks like snakemake has changed how it internally refers to parameters, and my take is that the environment.yaml
and retrieve.yaml
have different version requirements for snakemake, leading to two different versions, one of which stored parameters in one way, and one in the other way.
The suggested fix is to somehow ensure that exactly the same snakemake version is used in both environments.