Skip to content

Commit bce4f46

Browse files
committed
Upgrade rich to 14.3.2
1 parent 7c25d33 commit bce4f46

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+12336
-592
lines changed

news/rich.vendor.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Upgrade rich to 14.3.2

src/pip/_vendor/rich/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def inspect(
148148
docs (bool, optional): Also render doc strings. Defaults to True.
149149
private (bool, optional): Show private attributes (beginning with underscore). Defaults to False.
150150
dunder (bool, optional): Show attributes starting with double underscore. Defaults to False.
151-
sort (bool, optional): Sort attributes alphabetically. Defaults to True.
151+
sort (bool, optional): Sort attributes alphabetically, callables at the top, leading and trailing underscores ignored. Defaults to True.
152152
all (bool, optional): Show all attributes. Defaults to False.
153153
value (bool, optional): Pretty print value. Defaults to True.
154154
"""

src/pip/_vendor/rich/__main__.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -234,12 +234,12 @@ def iter_last(values: Iterable[T]) -> Iterable[Tuple[bool, T]]:
234234
console.print(f"[dim]rendered in [not dim]{taken}ms[/] (warm cache)")
235235
console.print()
236236
console.print(
237-
Panel.fit(
237+
Panel(
238238
"[b magenta]Hope you enjoy using Rich![/]\n\n"
239-
"Please consider sponsoring me if you get value from my work.\n\n"
240-
"Even the price of a ☕ can brighten my day!\n\n"
241-
"https://github.com/sponsors/willmcgugan",
242-
border_style="red",
239+
"Consider sponsoring to ensure this project is maintained.\n\n"
240+
"[cyan]https://github.com/sponsors/willmcgugan[/cyan]",
241+
border_style="green",
243242
title="Help ensure Rich is maintained",
243+
padding=(1, 2),
244244
)
245245
)

0 commit comments

Comments
 (0)