-
Notifications
You must be signed in to change notification settings - Fork 3.1k
pip 25.1: installation progress bar in CI is a bit verbose #13354
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
Comments
First, as a workaround, I generally recommend Have you ever noticed this same issue with the download progress? I assume it should be the same, but maybe there are differences that increase the chance of the verbosity with the install progress bar. |
Thanks! The download bars are currently fine, I mentioned it in the report but it might have been unclear. They still render a progress bar, but don't have the repeated lines:
|
I'll note that We already have logic to detect whether pip is running in CI, anyway. pip/src/pip/_internal/network/session.py Lines 100 to 107 in c440c47
Alternatively, if we want to leave a way to forcefully opt INTO progress bars on CI, we could change the default value of |
The latest version of Rich also implemented a Perhaps setting |
We use A |
I'd be fine with passing I'll file a PR tomorrow after some experimentation. |
My feeling is that this is a non-urgent fix, meaning that I’m inclined to say I’d include it in 25.1.1 if we need a bugfix release, but I wouldn’t ship 25.1.1 just because of this. |
Stupid tablet, caused me to hit the wrong button. As I was saying, @AA-Turner would you agree with that? |
Sounds good, definitely not urgent. A |
1 similar comment
Sounds good, definitely not urgent. A |
Description
Opening for discussion, arguably not a bug.
Previous output:
New output:
Is there a way to detect that pip is running in CI, and change the rendering of the progress bar to take one line? The download progress bars currently do this:
The
25l
and25h
output also looks suspect, though I'm not as sure here.A
Expected behavior
No response
pip version
25.1
Python version
3.13, 3.14
OS
Ubuntu 24.04 (GHA)
How to Reproduce
Run
pip install
with several dependencies in a CI environment.Output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: