snakemake / snakedeploy

deploy a snakemake pipeline directly from version control (under development)
Mozilla Public License 2.0
19 stars 8 forks source link

IMP/FIX: snakedeploy considers/overwrites version dependecies in yaml-file #62

Open angrybee opened 4 months ago

angrybee commented 4 months ago

Description

I use snakedeploy to update my conda-envs. I need a specific version of pytorch so I pinned the version number in the yaml-file. snakedeploy upgrades it to the latest version and changes the version number in the yaml-file. In my case this single upgrade is unwanted.

What I Did

snakedeploy update-conda-envs python.yaml git diff python.yaml

channels:
  - conda-forge
  - bioconda
  - nodefaults
dependencies:
  - python
  - matplotlib
  - numpy
-  - pytorch=1.13.1
+  - pytorch =2.1.2