Skip to content

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

@angrybee

Description

@angrybee
  • 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

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