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

Run pip with --force-color #11571

Closed
1 task done
vanschelven opened this issue Nov 3, 2022 · 1 comment
Closed
1 task done

Run pip with --force-color #11571

vanschelven opened this issue Nov 3, 2022 · 1 comment
Labels
type: feature request Request for a new feature

Comments

@vanschelven
Copy link
Contributor

What's the problem this feature will solve?

When running pip as part of some CI/CD tool, it is sometimes the case that pip is run from another process, i.e. not on the terminal. This means all pretty colors are lost, because pip (as it stands) will automatically try to determine whether color is supported when --no-color is not provided.

Describe the solution you'd like

If a force-color or similar flag is added, CI/CD tools can pass this flag (and make sure to deal with the associated color codes)

Alternative Solutions

.

Additional context

.

Code of Conduct

@vanschelven vanschelven added S: needs triage Issues/PRs that need to be triaged type: feature request Request for a new feature labels Nov 3, 2022
@uranusjr
Copy link
Member

uranusjr commented Nov 3, 2022

Duplicate of #10909

@uranusjr uranusjr marked this as a duplicate of #10909 Nov 3, 2022
@uranusjr uranusjr closed this as not planned Won't fix, can't repro, duplicate, stale Nov 3, 2022
@pradyunsg pradyunsg removed the S: needs triage Issues/PRs that need to be triaged label Nov 10, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: feature request Request for a new feature
Projects
None yet
Development

No branches or pull requests

3 participants