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

FORCE_COLOR wins over --color never #8173

Closed
aberres opened this issue Oct 14, 2024 · 1 comment · Fixed by #8215
Closed

FORCE_COLOR wins over --color never #8173

aberres opened this issue Oct 14, 2024 · 1 comment · Fixed by #8215
Labels
bug Something isn't working

Comments

@aberres
Copy link

aberres commented Oct 14, 2024

❯ uv --version
uv 0.4.20 (0e1b25a53 2024-10-08)

The following call uses color codes. As coloring is explicitly disabled, I would expect no colors.

FORCE_COLOR=1 uv pip compile pyproject.toml --color never

I ran into this when converting a legacy CI pipeline to use UV. Piping the uv result into the next tool leads to funny results. Only using -o helps to get rid of the colors.

@Aditya-PS-05
Copy link
Contributor

@charliermarsh,
I have made the changes instructed by you sir.

@zanieb zanieb closed this as completed in b622315 Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
3 participants