-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Hi, and thanks for the great project- the guiding ideas really resonate with me.
In a better world, I would be able to only use pip to manage dependencies in Python projects, however sometimes conda is useful, either because it can handle stuff pip can't (notably different python versions per env), or because the conda packaging has better support from from the package's author (if the pip's package has exists at all).
In practice, for my projects I usually use a minimal environment.yml file:
name: myenv
channels:
- conda-forge
- defaults
dependencies:
- python=3.8
- pip
- pip:
- -r requirements.txt
- -r requirements-dev.txtIf all the dependencies I need are available from pip (the best situation), they can all be managed with pip-compile. If not, I can add more dependencies to the conda file.
Is there a way to use zpy so that it integrates well with conda?
For example, in my setup conda stores envs in ~/.local/pkg/conda/envs, so zpy would need to use that, and with the name of the env, not the current hash (AFAIK conda finds myenv by checking ~/.local/pkg/conda/envs/myenv).