Skip to content

Support snakemake v9#88

Merged
joverlee521 merged 1 commit intomainfrom
snakemake-v9
Jul 4, 2025
Merged

Support snakemake v9#88
joverlee521 merged 1 commit intomainfrom
snakemake-v9

Conversation

@jameshadfield
Copy link
Copy Markdown
Member

The only change needed to support Snakemake v9 was to remove a snakemake argument which was already deprecated and a no-op in v7. So I think this can be merged now (while our runtimes are still pinned to v7).

Closes #87

Tested in a conda environment with python 3.12.2, snakemake 9.6.2, augur e6245ebd (current master, v31.2.1).

This printed the reason for each executed rule but was already
deprecated and always true in v7 [1] and has been removed entirely in
later snakemake versions. The upgrade path is clear [2]: "Deprecated:
Drop it and don't worry about anything"

[1] <https://snakemake.readthedocs.io/en/v7.22.0/executing/cli.html#output>
[2] <https://snakemake.readthedocs.io/en/stable/getting_started/migration.html>
@jameshadfield jameshadfield requested a review from joverlee521 July 3, 2025 22:39
Copy link
Copy Markdown
Contributor

@joverlee521 joverlee521 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@joverlee521 joverlee521 merged commit dfe4019 into main Jul 4, 2025
4 checks passed
@joverlee521 joverlee521 deleted the snakemake-v9 branch July 4, 2025 00:07
jameshadfield added a commit to nextstrain/ncov that referenced this pull request Jul 7, 2025
This printed the reason for each executed rule but was already
deprecated and always true in v7 [1] and has been removed entirely in
later snakemake versions. The upgrade path is clear [2]: "Deprecated:
Drop it and don't worry about anything"

Note: The same changes were applied to zika [3]

[1] <https://snakemake.readthedocs.io/en/v7.22.0/executing/cli.html#output>
[2] <https://snakemake.readthedocs.io/en/stable/getting_started/migration.html>
[3] <nextstrain/zika#88>
jameshadfield added a commit to nextstrain/ncov that referenced this pull request Jul 11, 2025
This printed the reason for each executed rule but was already
deprecated and always true in v7 [1] and has been removed entirely in
later snakemake versions. The upgrade path is clear [2]: "Deprecated:
Drop it and don't worry about anything"

Note: The same changes were applied to zika [3]

[1] <https://snakemake.readthedocs.io/en/v7.22.0/executing/cli.html#output>
[2] <https://snakemake.readthedocs.io/en/stable/getting_started/migration.html>
[3] <nextstrain/zika#88>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update workflows to be compatible with Snakemake v9

3 participants