Skip to content

Update rich requirement from >=4,<10 to >=4,<11#595

Merged
bee-san merged 1 commit intomasterfrom
dependabot/pip/rich-gte-4-and-lt-11
Mar 31, 2021
Merged

Update rich requirement from >=4,<10 to >=4,<11#595
bee-san merged 1 commit intomasterfrom
dependabot/pip/rich-gte-4-and-lt-11

Conversation

@dependabot-preview
Copy link
Copy Markdown
Contributor

Updates the requirements on rich to permit the latest version.

Release notes

Sourced from rich's releases.

Update to render protocol

Some significant signature to render protocol, hence the major version bump. These are unlikely to impact many people unless you are implementing your own renderables.

Most of the work in this version was to aid development of adding more dynamic features to future versions.

See changelog for details...

[10.0.0] - 2021-03-27

Changed

  • Made pydoc import lazy as at least one use found it slow to import willmcgugan/rich#1104
  • Modified string highlighting to not match in the middle of a word, so that apostrophes are not considered strings
  • New way of encoding control codes in Segment
  • New signature for Control class
  • Changed Layout.split to use new Splitter class
  • Improved layout.tree
  • Changed default theme color for repr.number to cyan
  • __rich_measure__ signature changed to accept ConsoleOptions rather than max_width

Added

  • Added __rich_repr__ protocol method to Pretty
  • Added rich.region.Region
  • Added ConsoleOptions.update_dimensions
  • Added rich.console.ScreenUpdate
  • Added Console.is_alt_screen
  • Added Control.segment, Control.bell, Control.home, Control.move_to, Control.clear, Control.show_cursor, Control.alt_screen
  • Added Console.update_screen and Console.update_screen_lines
  • Added Layout.add_split, Layout.split_column, Layout.split_row, layout.refresh
  • Added new Rich repr protocol __rich_repr__

Fixed

  • Fixed table style taking precedence over row style willmcgugan/rich#1129
  • Fixed incorrect measurement of Text with new lines and whitespace willmcgugan/rich#1133
  • Made type annotations consistent for various total keyword arguments in rich.progress and rich.progress_bar
  • Disabled Progress no longer displays itself when starting willmcgugan/rich#1125
Changelog

Sourced from rich's changelog.

[10.0.0] - Unreleased

Changed

  • Made pydoc import lazy as at least one use found it slow to import willmcgugan/rich#1104
  • Modified string highlighting to not match in the middle of a word, so that apostrophes are not considered strings
  • New way of encoding control codes in Segment
  • New signature for Control class
  • Changed Layout.split to use new Splitter class
  • Improved layout.tree
  • Changed default theme color for repr.number to cyan
  • __rich_measure__ signature changed to accept ConsoleOptions rather than max_width

Added

  • Added __rich_repr__ protocol method to Pretty
  • Added rich.region.Region
  • Added ConsoleOptions.update_dimensions
  • Added rich.console.ScreenUpdate
  • Added Console.is_alt_screen
  • Added Control.segment, Control.bell, Control.home, Control.move_to, Control.clear, Control.show_cursor, Control.alt_screen
  • Added Console.update_screen and Console.update_screen_lines
  • Added Layout.add_split, Layout.split_column, Layout.split_row, layout.refresh
  • Added new Rich repr protocol __rich_repr__

Fixed

  • Fixed table style taking precedence over row style willmcgugan/rich#1129
  • Fixed incorrect measurement of Text with new lines and whitespace willmcgugan/rich#1133
  • Made type annotations consistent for various total keyword arguments in rich.progress and rich.progress_bar
  • Disabled Progress no longer displays itself when starting willmcgugan/rich#1125

[9.13.0] - 2021-03-06

Added

  • Pretty printer now supports dataclasses

Fixed

Changed

  • Added ws and wss to url highlighter

[9.12.4] - 2021-03-01

Fixed

... (truncated)

Commits
  • b9e0014 Merge pull request #1125 from JoshKarpel/really-disable-pbar
  • 34c5620 test that Progress writes nothing when disabled
  • 3e079ff Merge branch 'master' into really-disable-pbar
  • 472ed32 Merge pull request #1122 from Adilius/master
  • fe5db3c Merge pull request #1126 from willmcgugan/dependabot/pip/sphinx-3.5.3
  • d1f819a Merge pull request #1131 from neutrinoceros/type_annotations_progress_total
  • e08a838 Merge branch 'master' into type_annotations_progress_total
  • 95016f4 Merge pull request #1119 from willmcgugan/control-codes
  • 86a3844 win32 skip
  • f1492a0 skip alt screen if LW
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Updates the requirements on [rich](https://github.com/willmcgugan/rich) to permit the latest version.
- [Release notes](https://github.com/willmcgugan/rich/releases)
- [Changelog](https://github.com/willmcgugan/rich/blob/master/CHANGELOG.md)
- [Commits](Textualize/rich@v4.0.0...v10.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Mar 27, 2021
@bee-san bee-san merged commit 398d24a into master Mar 31, 2021
@bee-san bee-san deleted the dependabot/pip/rich-gte-4-and-lt-11 branch March 31, 2021 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant