-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Labels
Description
I don't know if this is fixable (or if it should be fixed) in the role as it's technically a problem of conda env, but basically when there's a mistake in the pip section of miniconda_env the process returns exit status 0, despite the fact that the command failed.
For example, given this environment.yml:
dependencies:
- pip
- pip:
- flask-restful==0.3.5
- /var/www/recipestore/foodlab
- jwt==0.3.2
- pyasn1==0.1.9
- pycrypto==2.6.1
- requests-cache==0.4.12
- sqlalchemy-utils==0.32.1
name: eatingproject
The file has a mistake and prints to standard error
"/opt/miniconda/bin/conda" env update -f "/tmp/eatingproject-environment.yml" > hello
Invalid requirement: '/var/www/recipestore/foodlab'
It looks like a path. Does it exist ?
However, process has exit status 0:
echo $?
0
Is it possible to trigger a failure in this case?
btw I opened an issue here:
https://github.com/conda/conda-env/issues/255
Reactions are currently unavailable