Skip to content

Update workflows for Snakemake v9.17.0 #39

@victorlin

Description

@victorlin

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

  • Pin snakemake to <9.17.0 in managed runtimes (docker, conda)

Long term

  1. 🔴 Import from the new location.
    • This would need a try/except ImportError to be generally compatible across Snakemake versions.
  2. 🟢 Remove the import.

First noticed in nextstrain/conda-base#150 (comment).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions