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

Pass -vv to pip install build env subprocess #12578

Merged
merged 1 commit into from
Mar 21, 2024

Conversation

markmc
Copy link
Contributor

@markmc markmc commented Mar 14, 2024

Fixes #12577

This looks like it was an oversight in #9450 - we should pass the correct verbosity level to build env install subprocesses.

Tested with:

rm -rf ~/.cache/pip && rm -f *.whl && pip wheel --no-binary :all: hatchling

and all three verbosity levels, before and after this change, giving the following logs:

     33 patched-verbosity0.log
   2549 patched-verbosity1.log
  11938 patched-verbosity2.log
     33 unpatched-verbosity0.log
     99 unpatched-verbosity1.log
   1030 unpatched-verbosity2.log

i.e. currently a lot of useful logs are being dropped from these install subprocesess even with -vvv

Fixes pypa#12577

This looks like it was an oversight in pypa#9450 - we should pass the
correct verbosity level to build env install subprocesses.

Tested with:

```
rm -rf ~/.cache/pip && rm -f *.whl && pip wheel --no-binary :all: hatchling
```

and all three verbosity levels, before and after this change, giving
the following logs:

```
     33 patched-verbosity0.log
   2549 patched-verbosity1.log
  11938 patched-verbosity2.log
     33 unpatched-verbosity0.log
     99 unpatched-verbosity1.log
   1030 unpatched-verbosity2.log
```

i.e. currently a lot of useful logs are being dropped from these install
subprocesess even with -vvv
@markmc markmc force-pushed the verbose-install-subprocess branch from 22eabd8 to 8d81de2 Compare March 20, 2024 11:23
@pradyunsg pradyunsg merged commit 52d7296 into pypa:main Mar 21, 2024
24 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

-vv is not passed to build env install subprocesses
2 participants