Skip to content

Remove support for the bytes based fonts#961

Merged
penguinolog merged 1 commit intourwid:masterfrom
penguinolog:deprecation_binary_font
Dec 5, 2024
Merged

Remove support for the bytes based fonts#961
penguinolog merged 1 commit intourwid:masterfrom
penguinolog:deprecation_binary_font

Conversation

@penguinolog
Copy link
Copy Markdown
Collaborator

It Was a long time deprecated and related to the python < 3.0 only.
Note: Protected method _to_text is only deprecated now: previously it was used.

Checklist
  • I've ensured that similar functionality has not already been implemented
  • I've ensured that similar functionality has not earlier been proposed and declined
  • I've branched off the master branch
  • I've merged fresh upstream into my branch recently
  • I've ran tox successfully in local environment
  • I've included docstrings and/or documentation and/or examples for my code (if this is a new feature)

It Was a long time deprecated and related to the python < 3.0 only.
Note: Protected method `_to_text` is only deprecated now: previously it was used.
@penguinolog penguinolog added the Breaking API breaking changes label Dec 4, 2024
@penguinolog penguinolog added this to the 3.0.0 milestone Dec 4, 2024
@penguinolog penguinolog requested a review from wardi December 4, 2024 08:02
@coveralls
Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 12155428784

Details

  • 2 of 4 (50.0%) changed or added relevant lines in 1 file are covered.
  • 2 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.01%) to 74.585%

Changes Missing Coverage Covered Lines Changed/Added Lines %
urwid/font.py 2 4 50.0%
Files with Coverage Reduction New Missed Lines %
urwid/font.py 2 86.36%
Totals Coverage Status
Change from base Build 12143614706: -0.01%
Covered Lines: 9396
Relevant Lines: 12722

💛 - Coveralls

@penguinolog penguinolog merged commit 4f4a679 into urwid:master Dec 5, 2024
@penguinolog penguinolog deleted the deprecation_binary_font branch December 5, 2024 05:48
netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this pull request May 11, 2025
Urwid 3.0.2
===========

2025-05-07

Bug fixes 🕷
++++++++++++
* Bugfix: Corner case: Scrollbar render for only 1 row height by @penguinolog in urwid/urwid#1021

Urwid 3.0.1
===========

2025-05-07

Bug fixes 🕷
++++++++++++
* Packaging: drop setup.py and adjust requirements by @penguinolog in urwid/urwid#1018
  Not updated `setup.py` lead to wrong metadata and mark of release 3.0.0 as Python 3.7 compatible.
  Since urwid is distribluted in the pre-packaged format (wheel),
  missing `setup.py` will not affect old toolchain users except special cases (manually enforced sdist usage).
* Python 3.14 compatibility: adjust `AsyncioEventLoop` by @penguinolog in urwid/urwid#1019

Urwid 3.0.0
===========

2025-05-06

Breaking Changes ⚠
++++++++++++++++++
* Drop deprecated `__super` property by @penguinolog in urwid/urwid#956
* Drop deprecated `FlowWidget`, `BoxWidget` and `FixedWidget` widgets by @penguinolog in urwid/urwid#955
* Remove deprecated protected getter methods from the `Canvas` and `AttrSpec` by @penguinolog in urwid/urwid#958
* Remove support for the `bytes` based fonts by @penguinolog in urwid/urwid#961
* Remove deprecated `TermScroller` by @penguinolog in urwid/urwid#960
* Remove deprecated protected getter methods from the decoration widgets by @penguinolog in urwid/urwid#959
* Remove deprecated protected getter methods from the container widgets by @penguinolog in urwid/urwid#957
* Remove deprecated protected setters in the decoration widgets by @penguinolog in urwid/urwid#968
* Remove deprecated protected methods from the container widgets by @penguinolog in urwid/urwid#970
* Remove deprecated protected method `_set_done` from the `ProgressBar` by @penguinolog in urwid/urwid#971

New features 🗹
+++++++++++++++
* API Extension: make `CommandMap` `MutableMapping` by @penguinolog in urwid/urwid#969
* Make sizing computation much faster for nested containers by @ogayot in urwid/urwid#991
* `MetaSignals` subclass `ABCMeta` by @penguinolog in urwid/urwid#962

Deprecations ⚡
+++++++++++++++
* `MetaSuper` should be the last base for classes by @penguinolog in urwid/urwid#972
* Announce deprecated API removal versions by @penguinolog in urwid/urwid#999

Bug fixes 🕷
++++++++++++
* Fix handling of WEIGHT selectable items in the `Pile` by @penguinolog in urwid/urwid#1006

Refactoring 🛠
++++++++++++++
* Refactoring: micro optimizations of iterable items reconstruction by @penguinolog in urwid/urwid#1009

New Contributors
++++++++++++++++
* @ogayot made their first contribution in urwid/urwid#991
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Breaking API breaking changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants