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
Better handling of base executable not found #1515 #1522
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gaborbernat
force-pushed
the
1515
branch
2 times, most recently
from
January 29, 2020 15:04
468bafb
to
7a7236d
Compare
gaborbernat
changed the title
Interpreter failed to be found
More gracious handling of base executable not found (fallback to closest one available)
Jan 29, 2020
gaborbernat
changed the title
More gracious handling of base executable not found (fallback to closest one available)
Better handling of base executable not found (fallback to closest one available)
Jan 29, 2020
gaborbernat
force-pushed
the
1515
branch
2 times, most recently
from
January 29, 2020 19:20
152bd6e
to
9ebfa0e
Compare
Add debug message why we refuse an interprter found within find_exe_based_of. Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
…st matches instead of hard fail Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
…nts us to Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
gaborbernat
force-pushed
the
1515
branch
9 times, most recently
from
January 30, 2020 18:15
c566594
to
8186042
Compare
asottile
reviewed
Jan 30, 2020
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
gaborbernat
changed the title
Better handling of base executable not found (fallback to closest one available)
Better handling of base executable not found #1515
Jan 30, 2020
encukou
added a commit
to encukou/tox-current-env
that referenced
this pull request
Aug 11, 2020
…on run Virtualenv 20.0 follows symlinks when populating sys.executable, so we can't use it. (AFAIUI it's done to better handle cases where the system executable is changed after a virtualenv is created.) See: pypa/virtualenv#1522 sys.exec_prefix still points to inside the virtualenv, so use that in the tests to determine what's being run.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Improve the base executable discovery mechanism:
Resolves #1515.