Open maximlt opened 2 years ago
Could this be fixed by #73?
Oh well spotted! @philippjfr do you by any chance remember why you opened #73?
Ha no, 2 years is a long time. Presumably for the same reason though.
Ok thanks anyway! Looks like a good candidate for fixing this issue, I'll have a go at it.
The root cause of this issue seems to be a conda bug (https://github.com/conda/conda/issues/10522) by which a conda command executed on Windows with cmd.exe
doesn't handle well characters like !
. pyctdev
uses doit
which uses subprocess.Popen
to run conda commands like conda install ...
. On Windows subprocess.Popen
happens to run that command with cmd.exe
when shell=True
, which is the default of doit
. Hence, the bug observed with pyctdev.
Datashader's CI is failing on Windows. Its
setup.py
declaresnumpy >=1.7,!=1.22
and for some (still unknown, at least to me) reason the exclamation mark isn't passed down to conda which then translates it asnumpy=1.22
, exactly what we don't want!See https://github.com/holoviz/datashader/runs/5788134696?check_suite_focus=true#step:8:149 where this commands:
leads to:
In this PR https://github.com/pyviz-dev/pyctdev/pull/87 I tried to fix this issue by setting
shell=False
toCmdAction
in a couple of occurrences, which failed miserably!