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

Log all pip invocations #2035

Merged
merged 1 commit into from
Jan 13, 2023
Merged

Conversation

huonw
Copy link
Collaborator

@huonw huonw commented Jan 12, 2023

This adds logging for pip invocations, to make it easier to understand how pex is calling pip, such as when a single invocation is taking a long time (#2036).

This mirrors similar logging for Python invocations: https://github.com/pantsbuild/pex/blob/1f8e25a714e52c45a50a6d6ab2ee7cb9e21a92bb/pex/interpreter.py#L713-L716

Copy link
Member

@jsirois jsirois left a comment

Choose a reason for hiding this comment

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

I don't see the harm, but the use case seems a bit exotic too. Just reading the code gives the same info and this is a pretty static arrangement. the pip download + pip wheel + pip install that services pex ... has been the same since day 1 of switching to Pip 3+ years ago as has the pip download used to satisfy pex3 lock create, etc.

@jsirois jsirois merged commit e8844ec into pex-tool:main Jan 13, 2023
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.

2 participants