Skip to content

Pixi as an alternative to conda-lock #571

@scottyhq

Description

@scottyhq

Is your feature request related to a problem? Please describe.
conda-lock has worked really well for this project! Looking forward it might be worth also supporting or switching to pixi for environment management https://pixi.sh

Describe the solution you'd like
Try using pixi instead of conda-lock and supporting pixi.lock as another file that can be installed

&& mamba install conda-lock -y \

; if test -f "conda-lock.yml" ; then echo "Using conda-lock.yml" & \
conda-lock install --name ${CONDA_ENV} \
; elif test -f "environment.yml" ; then echo "Using environment.yml" & \
mamba env create --name ${CONDA_ENV} -f environment.yml \
; else echo "No conda-lock.yml or environment.yml! *creating default env*" ; \
mamba create --name ${CONDA_ENV} pangeo-notebook \

Describe alternatives you've considered
Stick with what's been working fine

Additional context
Discussion of pixi on conda-lock repo conda/conda-lock#615

Also https://github.com/prefix-dev/pixi-docker

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions