-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Prepend pip commands with activating env #8263
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
Conversation
ac5b060
to
4938904
Compare
Looks good to me. Once the tests are in order, I think this can go in. @jjhelmus please take a look, since you wrote the original functionality here. |
cf: #8229 |
fh.write("source \"{}\"\n".format(path)) | ||
script_caller = fh.name | ||
command_args = [shell_path, "-x", script_caller] | ||
command = ". \"{}\"\n".format(path) |
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.
Calling path directly and not souring is correct here. Thanks for correcting this mistake from #8229.
tmp_prefix = abspath(join(prefix, '.tmp')) | ||
script_caller = None | ||
if on_win: | ||
comspec = environ[str('COMSPEC')] |
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 environment lookup can fail but perhaps allowing the exception to propagate is the best option he 8000 re.
f68e6c8
to
b330c79
Compare
Looks like the python 2.7 tests are hitting the 1hr limit on appveyor |
Hi there, thank you for your contribution to Conda! This pull request has been automatically locked since it has not had recent activity after it was closed. Please open a new issue or pull request if needed. |
addresses #8187