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

only info if during discovery fail to query a executable #1574

Merged
merged 1 commit into from
Feb 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/changelog/1574.bugfix.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
While discovering a python executables interpreters that cannot be queried are now displayed with info level rather
than warning, so now they're no longer shown by default (these can be just executables to which we don't have access
or that are broken, don't warn if it's not the target Python we want) - by :user:`gaborbernat`.
2 changes: 1 addition & 1 deletion src/virtualenv/discovery/cached_py_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def from_exe(cls, exe, raise_on_error=True, ignore_cache=False):
if raise_on_error:
raise result
else:
logging.warning("%s", str(result))
logging.info("%s", str(result))
result = None
return result

Expand Down