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

Check target environment instead of Spyder environment for dependencies #177

Closed
jitseniesen opened this issue Jun 24, 2022 · 2 comments · Fixed by #182
Closed

Check target environment instead of Spyder environment for dependencies #177

jitseniesen opened this issue Jun 24, 2022 · 2 comments · Fixed by #182
Labels
Milestone

Comments

@jitseniesen
Copy link
Member

As noted in #175 (comment), the plugin uses the environment that Spyder runs in to find its dependencies (nose, pytest and their plugins). Instead, it should use the environment that the user configured for running the tests.

This happens in the following places (at least): when testing whether a test run configuration is valid, when using the plugin option menu item "Show dependencies", when checking for pytest-cov in PR #175.

@jitseniesen
Copy link
Member Author

See spyder-ide/spyder-kernels#392 (comment) for a possible way to implement this.

@jitseniesen
Copy link
Member Author

A problem with using the IPythonConsole plugin to check the environment is that (as far as I can tell) there is not necessarily a console open with the current environment.

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

Successfully merging a pull request may close this issue.

1 participant