-
Notifications
You must be signed in to change notification settings - Fork 992
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
[16.01] Fix virtual env handling broken with #1847. #1890
[16.01] Fix virtual env handling broken with #1847. #1890
Conversation
Should we add tests to Travis to check that these commands works, like we do for |
I would say yes, but the existing travis check for run.sh is kind of noisy right? Does anyone know why it fails semi-frequently? |
Kinda nitpicky, but now it prints twice:
|
@jmchilton Is it? I haven't noticed many failures, but maybe somebody re-run the builds superfast. |
I re-ran like 3 or 4 times - but admittedly it was all within a couple days about a week ago. Maybe it was some transient wheel or Travis problem that has been resolved. |
@dannon good point, I've removed the print statements added with this PR. |
@dannon Actually also |
It always printed it twice. |
Sounds like we need to fix that in one more spot, then :) Anyway, +1 for this change to 16.01. |
I think the double print is useful when debugging problems with virtual envs to check that |
then | ||
. "$GALAXY_VIRTUAL_ENV/bin/activate" | ||
fi | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This code must go AFTER ./scripts/common_startup.sh --skip-samples
, which will create the .venv
directory if it does not exist.
I've modified the order as requested by @nsoranzo. |
Merging this but we should probably switch to sourcing, further development in #1899 |
[16.01] Fix virtual env handling broken with #1847.
Thanks for the bug report @natefoo.