Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pixi as an alternative to conda-lock #571

Open
scottyhq opened this issue Aug 6, 2024 · 1 comment
Open

Pixi as an alternative to conda-lock #571

scottyhq opened this issue Aug 6, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@scottyhq
Copy link
Member

scottyhq commented Aug 6, 2024

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

@scottyhq scottyhq added the enhancement New feature or request label Aug 6, 2024
@weiji14
Copy link
Member

weiji14 commented Aug 6, 2024

Been thinking about this too. I'd seriously consider making the jump once repo2docker supports pixi lock files (jupyterhub/repo2docker#1339), though we can test things out using the Dockerfile path too. We'll need to document this change though as some people might be depending on the conda-lock files and changing to pixi.lock will break their workflows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants