Snakemake version 9.17.0 includes a breaking change for our usage.
Specifically, snakemake/snakemake@ffb19e7 moved Wildcards from snakemake.io to snakemake.io.container. This breaks all imports that rely on the old location – shared/snakemake/config.smk and all 14 copies of it.
Possible solutions
Short term
Long term
- 🔴 Import from the new location.
- This would need a
try/except ImportError to be generally compatible across Snakemake versions.
- 🟢 Remove the import.
First noticed in nextstrain/conda-base#150 (comment).
Snakemake version 9.17.0 includes a breaking change for our usage.
Specifically, snakemake/snakemake@ffb19e7 moved
Wildcardsfromsnakemake.iotosnakemake.io.container. This breaks all imports that rely on the old location – shared/snakemake/config.smk and all 14 copies of it.Possible solutions
Short term
Long term
try/except ImportErrorto be generally compatible across Snakemake versions.snakemake.io.Wildcardsshared#72First noticed in nextstrain/conda-base#150 (comment).