tox-dev / tox-conda

Make tox cooperate with conda envs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Windows] tox-conda 0.8.0 and beyond breaks when space present in activation path

rsokl opened this issue · comments

For tox-conda==0.7.3 I have no issue.

For tox-conda==0.8.0 I get:

$ tox -e py38
GLOB sdist-make: C:\Users\Ryan Soklaski\BWSIGrader\setup.py
py38 create: C:\Users\Ryan Soklaski\BWSIGrader\.tox\py38
py38 installdeps: pytest, hypothesis
ERROR: invocation failed (exit code 1), logfile: C:\Users\Ryan Soklaski\BWSIGrader\.tox\py38\log\py38-1.log
============================================================================================================= log start =============================================================================================================

DirectoryNotACondaEnvironmentError: The target directory exists, but it is not a conda environment.
Use 'conda create' to convert the directory to a conda environment.
  target directory: C:\Users\Ryan


For tox-conda==0.9.1 I get:

$ tox -e py310
GLOB sdist-make: C:\Users\Ryan Soklaski\BWSIGrader\setup.py
py310 create: C:\Users\Ryan Soklaski\BWSIGrader\.tox\py310
py310 installdeps: pytest, hypothesis
ERROR: invocation failed (exit code 2), logfile: C:\Users\Ryan Soklaski\BWSIGrader\.tox\py310\log\py310-1.log
============================================================================================================= log start =============================================================================================================
activate does not accept more than one argument:
['C:\\Users\\Ryan', 'Soklaski\\BWSIGrader\\.tox\\py310']

Hi @rsokl, this has been fixed in 0.9.2.

Awesome, thank you!