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

Support more verbose output for interpreter info. #1347

Merged
merged 2 commits into from May 8, 2021

Conversation

jsirois
Copy link
Member

@jsirois jsirois commented May 8, 2021

Convert -v from a boolean to a counter and display more information
for -vv (tags) and -vvv (environment markers and venv affiliation).
This should be useful for debugging various issues in the field.

Convert `-v` from a boolean to a counter and display more information
for `-vv` (tags) and` -vvv` (environment markers and venv affiliation).
This should be useful for debugging various issues in the field.
@jsirois
Copy link
Member Author

jsirois commented May 8, 2021

This came up in #1345. It's a lot easier to be able to ask for PEX_TOOLS=1 my.pex interpreter -vv than "Find the pip (if it exists) associated with the interpreter printed by PEX_TOOLS=1 my.pex interpreter and report the output of pip debug -v.".

@jsirois jsirois requested a review from Eric-Arellano May 8, 2021 14:38
Copy link
Contributor

@Eric-Arellano Eric-Arellano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Consider adding a test, altho fine if you prefer not imo

@jsirois jsirois merged commit 1aff7cd into pex-tool:main May 8, 2021
@jsirois jsirois deleted the tools/interpreter/tags branch May 8, 2021 18:59
@jsirois jsirois mentioned this pull request Jun 18, 2021
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants