From d3f02875e7a735d1faa77c5727f23fbff4d49991 Mon Sep 17 00:00:00 2001 From: Jover Lee Date: Tue, 30 Sep 2025 09:12:04 -0700 Subject: [PATCH] snakemake/remote_files: Add minimum version check for Snakemake Add `min_version` in the shared `remote_files.smk` so that individual workflows that import it don't have to remember to add the version check. Based on feedback from @victorlin in mpox --- snakemake/remote_files.smk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/snakemake/remote_files.smk b/snakemake/remote_files.smk index 844f80e..a948189 100644 --- a/snakemake/remote_files.smk +++ b/snakemake/remote_files.smk @@ -9,6 +9,10 @@ to check these ourselves to improve UX here. """ from urllib.parse import urlparse +from snakemake.utils import min_version + +# Minimum Snakemake version needed for the storage plugins +min_version("8.0.0") # Keep a list of known public buckets, which we'll allow uncredentialled (unsigned) access to # We could make this config-definable in the future