hatch-jupyter-builder icon indicating copy to clipboard operation
hatch-jupyter-builder copied to clipboard

test_run: support spaces in sys.executable path

Open tomjakubowski opened this issue 1 year ago • 1 comments
trafficstars

On my Mac, hatch creates its virtual environments in $HOME/Library/Application Support. So the python3 executable ends up at a path with a space in it.

The space in the path caused test_run() to fail, because without quotes the first utis.run() call would try and execute $HOME/Library/Application (up to the space) instead of the python3 executable.

tomjakubowski avatar Oct 24 '24 18:10 tomjakubowski

This was kind of an obscure error. Let me know if I can explain it better.

tomjakubowski avatar Oct 24 '24 18:10 tomjakubowski