-
Notifications
You must be signed in to change notification settings - Fork 21
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
Virtualenv issues when queueing jobs #167
Comments
https://bugs.python.org/issue46473 Basically, importlib import_module ignores any egg-link files, so any of our modules which are linked that way won't be checked and importlib will fall back to the active venv path. Explicitly adding the code directories (i.e. ../code/ch_pipeline) gets past this issue, but really we just need to modify how some of our packages are installed to avoid egg-link files in the venv site-packages. As far as I can tell, only |
It seems like the logging uses class names from the current active venv rather than the venv that we're running the pipeline in. For example, if we have |
If you submit a job while in one virtual environment to run in a different environment (via the
venv
key) it will run the linter against the first one even though it should be running against the second one.The text was updated successfully, but these errors were encountered: