Repository navigation
Allow urwid 5 - #1865
Merged
Merged
Allow urwid 5#1865
Conversation
urwid was kept below 5 (#1851, #1855) because urwidtrees 1.0 called ListBox.get_focus, which urwid 5 removed. alot now requires urwidtrees 1.1.1, which no longer does, and the test suite passes with urwid 5.1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TR9KjabaVCyHnpqp2kQZHC
This was referenced Nov 22, 2026
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.
urwid was kept below 5 (#1851, #1855) because urwidtrees 1.0 called
ListBox.get_focus, which urwid 5 removed. Since #1838, alot requires urwidtrees 1.1.1, which no longer does, so the cap can go. alot's own uses of the removed accessors were already replaced in #1810.Refs #1863: Homebrew ships urwid 5, so 0.12 crashes there. This and #1810 make the next release work with it.
Testing
NEWS: deps: support urwid 5 (requires urwidtrees >= 1.1.1)
Review findings and resolution
review-correctness
SystemErrorinraw_display.get_cols_rows), independent of this change; CI tests 2.2.0 only on 3.10: left for a separate PR raising the minimum.[",]pattern in the oldest-dependencysedis no longer needed: left, harmless and useful for any future cap.review-design
move first/move lastin an empty search raisesIndexError, also on urwid 4: left for a separate PR.🤖 Generated with Claude Code
https://claude.ai/code/session_01TR9KjabaVCyHnpqp2kQZHC