-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
We should add a subcommand
snakedeploy bump-conda-versions [ENVYAML, [ENVYAML, ...]]
which does the following. Given paths to environment YAML files, it would
- Extract package names and channels from the env.
- Run mamba create --dry-run --json -c .
- Extract the versions from the packages in the json that also occur in the original env.
- Rewrite the env with minor version pinnings derived from the extracted versions.
This can (a) be used to update all environments (except wrappers) in a workflow to the latest minor release, and (b) be used to update all wrapper envs in snakemake/snakemake-wrappers. The latter can be used in a weekly CI job which would automatically create a PR in case of new changes. The same github action can also be offered for workflows actually.
In addition, we should have another subcommand
snakedeploy bump-wrappers [SNAKEFILE, [SNAKEFILE, ...]]
which would bump all wrapper directives in a given Snakefile to the latest stable wrapper release. Again, this can come in combination with a github action that automatically creates a PR.
dlaehnemann and angrybeedlaehnemann
Metadata
Metadata
Assignees
Labels
No labels