Add first-party line wrapping#17535
Merged
Merged
Conversation
73b9b0c to
9d91a8e
Compare
1fda928 to
700da71
Compare
700da71 to
b75af41
Compare
d5cced1 to
8005bd5
Compare
b75af41 to
4404fd5
Compare
8005bd5 to
fe700e0
Compare
4404fd5 to
70ca654
Compare
70ca654 to
ca11d5d
Compare
3932c28 to
66db1a1
Compare
ca11d5d to
d6ab7de
Compare
d6ab7de to
3bd3af1
Compare
zanieb
commented
Mar 16, 2026
zanieb
commented
Mar 16, 2026
zanieb
commented
Mar 16, 2026
zanieb
commented
Mar 16, 2026
3bd3af1 to
ffc265c
Compare
zanieb
commented
May 20, 2026
zanieb
commented
May 20, 2026
da76a07 to
56d0d9b
Compare
uv test inventory changesThis PR changes the tests when compared with the latest
|
6fa7ff1 to
29f5065
Compare
zanieb
commented
May 27, 2026
zanieb
commented
May 27, 2026
zanieb
commented
May 27, 2026
35716d3 to
eb705af
Compare
zanieb
commented
May 27, 2026
zanieb
commented
May 27, 2026
7d0e5a3 to
2d1f908
Compare
Add textwrap-based line wrapping for error and warning output, replacing the line wrapping previously provided by miette. - Add `write_error_chain` to `uv-errors` with terminal-width-aware wrapping and explicit `Hints` - Use the shared formatter for the CLI error exit path and direct chain emitters - Support `UV_NO_WRAP` env var to disable wrapping - Support `COLUMNS` env var and terminal size detection for wrap width - Words are never broken or hyphenated (URLs, package names stay intact) - Remove the old `write_error_chain` implementation from `uv-warnings`
2d1f908 to
e1522cf
Compare
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.
Required for #17110 to avoid regressions where miette previously wrapped lines in error messages.