From 17a4f53b9d31904d710acbf57f4169081c063fcf Mon Sep 17 00:00:00 2001 From: euronion <42553970+euronion@users.noreply.github.com> Date: Thu, 21 Dec 2023 11:57:24 +0100 Subject: [PATCH 1/3] Restrict snakemake version to < 8.0.0 --- envs/environment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/envs/environment.yaml b/envs/environment.yaml index 425233a89..66245aa4a 100644 --- a/envs/environment.yaml +++ b/envs/environment.yaml @@ -20,7 +20,7 @@ dependencies: - openpyxl!=3.1.1 - pycountry - seaborn -- snakemake-minimal>=7.7.0 +- snakemake-minimal>=7.7.0,<8.0.0 - memory_profiler - yaml - pytables From f251e89269964fa7bd7cc3c91f8b6252d76907fb Mon Sep 17 00:00:00 2001 From: euronion <42553970+euronion@users.noreply.github.com> Date: Thu, 21 Dec 2023 17:52:31 +0100 Subject: [PATCH 2/3] Update release_notes.rst --- doc/release_notes.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/release_notes.rst b/doc/release_notes.rst index ee5a954b5..6e1bcdbfb 100644 --- a/doc/release_notes.rst +++ b/doc/release_notes.rst @@ -10,6 +10,9 @@ Release Notes Upcoming Release ================ +* Pin ``snakemake`` version to below 8.0.0, as the new version is not yet + supported by ``pypsa-eur``. + * Updated Global Energy Monitor LNG terminal data to March 2023 version. * For industry distribution, use EPRTR as fallback if ETS data is not available. From 31f77bc888d49ef642ee7cda08ffbb7cca837cc1 Mon Sep 17 00:00:00 2001 From: euronion <42553970+euronion@users.noreply.github.com> Date: Thu, 21 Dec 2023 17:52:34 +0100 Subject: [PATCH 3/3] Update environment.yaml --- envs/environment.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/envs/environment.yaml b/envs/environment.yaml index 66245aa4a..1d9592c64 100644 --- a/envs/environment.yaml +++ b/envs/environment.yaml @@ -20,6 +20,7 @@ dependencies: - openpyxl!=3.1.1 - pycountry - seaborn + # snakemake 8 introduced a number of breaking changes which the workflow has yet to be made compatible with - snakemake-minimal>=7.7.0,<8.0.0 - memory_profiler - yaml