-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[BUG] v13.3.4 broke coloring #2924
Comments
As far as I can tell Can you give me an example where that doesn't work? |
@willmcgugan I just hit the exact same problem. Specifically, this is happening with pip, which vendors v13.4.2, currently: https://github.com/pypa/pip/blob/2a0acb5/src/pip/_vendor/vendor.txt#L15-L17. We have There's one other place where it initializes This is how it crashes for me: https://github.com/aio-libs/yarl/actions/runs/6934150793/job/18862144526#step:6:24. @ofek is it pip that breaks in your case? cc @pradyunsg does this sound like a pip bug? |
Here's the hack that worked for me: aio-libs/yarl@f202823 (using a separate I also ended up filing an issue in pip: pypa/pip#12405. |
No it was for our main developer tool. I just had to stop forcing color DataDog/integrations-core@c5ef1ef |
@ofek sounds like you also had to use a hack? |
It's been fixed for a while in Rich. Pip will be using an older vendored version. |
@willmcgugan do you have the exact commit? I could attempt testing it with a local pip checkout... |
I posted in #2449 (comment) a summary of the dissonance between two toggle that is likely happening here… |
@willmcgugan do you have any workarounds in mind that could allow doing |
Describe the bug
Previously setting
NO_COLOR
to1
would override forced coloring but now it does not. The use case is in CI we force color to get nice test output but inside testing at the beginning of setup we set that environment variable so we can properly assert output.The text was updated successfully, but these errors were encountered: