Skip to content

Commit d3f0287

Browse files
committed
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 <nextstrain/mpox#339 (comment)>
1 parent 43e5a6f commit d3f0287

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

snakemake/remote_files.smk

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ to check these ourselves to improve UX here.
99
"""
1010

1111
from urllib.parse import urlparse
12+
from snakemake.utils import min_version
13+
14+
# Minimum Snakemake version needed for the storage plugins
15+
min_version("8.0.0")
1216

1317
# Keep a list of known public buckets, which we'll allow uncredentialled (unsigned) access to
1418
# We could make this config-definable in the future

0 commit comments

Comments
 (0)