akazukin5151 / koneko

Browse pixiv in the terminal using kitty's icat to display images (in the terminal!)
https://koneko.readthedocs.io/en/latest/
GNU General Public License v3.0
51 stars 3 forks source link

Update blessed requirement from ~=1.19 to ~=1.20 #37

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Updates the requirements on blessed to permit the latest version.

Release notes

Sourced from blessed's releases.

1.20.0

  • introduced Terminal.get_fgcolor() and Terminal.get_bgcolor() to query the terminal for the currently set colors. #237 by @​stefanholek
  • bugfix: Copy globals dict before iterating to avoid RuntimeError in multithreaded applications, #248 by @​adamnovak
Changelog

Sourced from blessed's changelog.

.. py:currentmodule:: blessed.terminal

Version History

1.20

  • introduced :meth:~Terminal.get_fgcolor and :meth:~Terminal.get_bgcolor to query the terminal for the currently set colors. :ghissue:237 by :ghuser:stefanholek
  • bugfix: Copy globals dict before iterating to avoid RuntimeError in multithreaded applications, :ghissue:248 by :ghuser:adamnovak

1.19

  • introduced :meth:~Terminal.truncate to truncate a string while retaining the sequences, :ghissue:211 by :ghuser:fishermans-friend
  • enhancement: Add small sleep in :meth:~Terminal.kbhit on Windows to reduce CPU load :ghissue:209 by :ghuser:numerlor
  • enhancement: :meth:~Terminal.rjust, :meth:~Terminal.ljust, and :meth:~Terminal.center now accept :class:~typing.SupportsIndex types, :ghissue:234
  • enhancement: When 88 colors is detected, it is now interpreted as 16 colors rather than raising an :exc:AssertionError, :ghissue:235
  • bugfix: Fix global variable declarations in type annotations, :ghissue:230 by :ghuser:mwchase

1.18

  • bugfix: :meth:~Terminal.split_seqs for some sequences like term.move_left(3), :ghissue:197.
  • introduced: type annotations, :ghissue:192 by :ghuser:dlax.
  • bugfix: do not fail when sys.stdin is unset, :ghissue:195 by :ghuser:Olen
  • docfix: correct "Bottom of the screen" example to use end='' and document about it in location.rst, :ghissue:188 by :ghuser:pyfisch

1.17

  • introduced: :ref:hyperlinks, method :meth:~Terminal.link, :ghissue:116.
  • introduced: 24-bit color support, detected by term.number_of_colors == 1 << 24, and 24-bit color foreground method :meth:~Terminal.color_rgb and background method :meth:~Terminal.on_color_rgb, as well as 676 common X11 color attribute names are now possible, such as term.aquamarine_on_wheat, :ghissue:60.
  • introduced: term.move_xy, recommended over built-in move capability, as the argument order, (x, y) matches the return value of :meth:~.Terminal.get_location, and all other common graphics library calls, :ghissue:65.
  • introduced: :meth:~.Terminal.move_up, :meth:~Terminal.move_down, :meth:Terminal.move_left, :meth:~Terminal.move_right which are strings that move the cursor one cell in the respective direction, are now also callables for moving n cells to the given direction, such as term.move_right(9).
  • introduced: :attr:~Terminal.pixel_width and :attr:~Terminal.pixel_height for libsixel support or general curiosity.
  • introduced: :meth:~.Terminal.formatter which returns callable formatters for valid text formatters such as 'red' or 'bold_on_red', returning a :class:~blessed.formatters.NullCallableString if passed an invalid text formatter.

... (truncated)

Commits
  • d404d8c Bump version to 1.20.0
  • 54b367d Move base python for testing to 3.11
  • 8c0d4ac Add metadata for latest versions of Python
  • ca28503 Copy globals before iterating
  • d933a37 Fixes for latest Pylint
  • faf10af Fix for GitHub Actions
  • f77e676 Add Terminal.get_fgcolor() and Terminal.get_bgcolor() (#237)
  • 7a114c3 Fix and update CI test configs
  • 0ba532f Minor code tweaks
  • 0c5549b Return full SupportsIndex support
  • Additional commits viewable in compare view


You can trigger a rebase of this PR 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)
> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.