Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running python tests fails on some current conda installs #100

Open
saskeli opened this issue Jun 24, 2019 · 0 comments
Open

Running python tests fails on some current conda installs #100

saskeli opened this issue Jun 24, 2019 · 0 comments

Comments

@saskeli
Copy link

saskeli commented Jun 24, 2019

This relates to building the python command to run tests with the tmc-cli.

The current conda release versions do not define the CONDA_PYTHON_EXE environment variable and some do not have the py alias defined. In case both of these fail, tmc-cli will report 0/0 test passed and no useful error information. For all reported cases python -m tmc would work but won't be run since the OS is detected to be windows.

The current development version of conda does have the environment variable set, so the issue will be partially resolved as a new version is realeased. However adding some sort of error handling to try running with python -m tmc if all else fails could be nice.

Also more transparent error reporting could be neat.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant