Respect FORCE_COLOR environment variable#10315
Merged
charliermarsh merged 1 commit intomainfrom Jan 6, 2025
Merged
Conversation
charliermarsh
commented
Jan 6, 2025
| global = true, | ||
| long, | ||
| value_enum, | ||
| default_value = "auto", |
Member
Author
There was a problem hiding this comment.
The presence of the default meant we always used Auto :(
Collaborator
There was a problem hiding this comment.
Does it need to be removed from
Line 4489 in 7182a34
Member
Author
There was a problem hiding this comment.
I think it doesn't matter in practice, but yeah it makes sense to keep them in-sync. Thanks!
samypr100
reviewed
Jan 6, 2025
crates/uv-cli/src/lib.rs
Outdated
|
|
||
| /// Control colors in output. | ||
| /// | ||
| /// By default, uv will use colors when writing to a terminal. |
Collaborator
There was a problem hiding this comment.
Suggested change
| /// By default, uv will use colors when writing to a terminal. | |
| /// By default, uv will use automatically detect support for colors when writing to a terminal. |
54bc4ea to
a2246bd
Compare
a2246bd to
bb0682a
Compare
tmeijn
pushed a commit
to tmeijn/dotfiles
that referenced
this pull request
Jan 8, 2025
This MR contains the following updates: | Package | Update | Change | |---|---|---| | [astral-sh/uv](https://github.com/astral-sh/uv) | patch | `0.5.14` -> `0.5.15` | MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot). **Proposed changes to behavior should be submitted there as MRs.** --- ### Release Notes <details> <summary>astral-sh/uv (astral-sh/uv)</summary> ### [`v0.5.15`](https://github.com/astral-sh/uv/blob/HEAD/CHANGELOG.md#0515) [Compare Source](astral-sh/uv@0.5.14...0.5.15) ##### Python The managed Python distributions have been updated, including: - Python 3.14.0a3 support on macOS and Linux - Performance improvements - Fixes to SQLite feature detection See the [`python-build-standalone` release notes](https://github.com/astral-sh/python-build-standalone/releases/tag/20250106) for more details. ##### Enhancements - Respect `FORCE_COLOR` environment variable ([#​10315](astral-sh/uv#10315)) ##### Performance - Avoid generating unused hashes during `uv lock` ([#​10307](astral-sh/uv#10307)) - Visit source distributions before wheels ([#​10291](astral-sh/uv#10291)) ##### Bug fixes - Avoid downgrading packages when `--upgrade` is provided ([#​10097](astral-sh/uv#10097)) - Extract supported architectures from wheel tags ([#​10179](astral-sh/uv#10179)) - Redact new index credentials in `uv add` ([#​10329](astral-sh/uv#10329)) ##### Documentation - Clarify `exclude-newer` only allows full timestamps in settings documentation ([#​9135](astral-sh/uv#9135)) - Tweak script `--no-project` comment ([#​10331](astral-sh/uv#10331)) - Update copyright year ([#​10297](astral-sh/uv#10297)) - Add instructinos for installing with Scoop ([#​10332](astral-sh/uv#10332)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this MR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box --- This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS45MS4yIiwidXBkYXRlZEluVmVyIjoiMzkuOTEuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiUmVub3ZhdGUgQm90Il19-->
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #10303.