snakedeploy icon indicating copy to clipboard operation
snakedeploy copied to clipboard

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

Open angrybee opened this issue 9 months ago • 0 comments

  • snakedeploy version: 0.9.1
  • Python version: 3.12.3
  • Operating System: linux-64

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

angrybee avatar Apr 26 '24 20:04 angrybee