pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-urwid



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Nov 15 22:30:10 UTC 2026

Modified Files:
        pkgsrc/devel/py-urwid: Makefile distinfo

Log Message:
py-urwid: update to 5.1.3.

Urwid 5.1.3

2026-11-12

Breaking Changes ⚠

    Drop the experimental GraalPy support: the GraalPy 3.12 and 3.13 test environments, the classifier and the documentation entries are removed, and the workarounds for GraalPy are removed from the 
library. A failure that only GraalPy shows is no longer treated as a bug by @penguinolog in https://github.com/urwid/urwid/pull/1648

New features 🗹

    Add MonitoredFocusDeque.set_focus_moved_callback(), so MonitoredFocusDeque and SimpleFocusDequeWalker report a focus change as MonitoredFocusList does by @penguinolog in 
https://github.com/urwid/urwid/pull/1633

    Add the "postchange" signal to DropDown: it is sent with the previous index once selected and the label show the new option, while "change" is still sent before the selection changes by 
@penguinolog in https://github.com/urwid/urwid/pull/1634

    Support in-band resize notifications (DEC private mode 2048): a resize keeps its place among the keys and reaches the program over links that carry no SIGWINCH, such as a serial console or 
telnet. Add in_band_resize to the raw and curses Screen, accept the mode and answer DECRQM in the Terminal widget, and report a Windows console resize in order with the input by @penguinolog in 
https://github.com/urwid/urwid/pull/1643

Deprecations ⚡

    Deprecate TermCanvas.reverse_video() with PendingDeprecationWarning, for removal in 8.0. DECSCNM is now a flag applied when the content is drawn instead of a rewrite of every cell, so a child 
program that toggles the mode no longer stalls the event loop by @penguinolog in https://github.com/urwid/urwid/pull/1641

Bug fixes 🕷

    Notify list consumers when a sort that fails part-way has already changed the order of the items by @charan-rathore in https://github.com/urwid/urwid/pull/1636

    Start the gpm helper only when the raw screen reads a virtual console (/dev/tty1 to /dev/tty63, also through /dev/tty or /dev/console); on a pseudo-terminal it no longer takes over the mouse of 
the host’s console by @penguinolog in https://github.com/urwid/urwid/pull/1644

    Read CGI web display requests by CONTENT_LENGTH instead of until the end of input, which could block forever; answer 400 Bad Request to a request that cannot be decoded or whose length is invalid 
or over the limit by @penguinolog in https://github.com/urwid/urwid/pull/1645

    Stop terminal reports that no input filter took from raising TypeError in MainLoop.process_input(); the curses display drops terminal query replies by @penguinolog in 
https://github.com/urwid/urwid/pull/1647

    Report a window resize after the input typed before it, so that input is no longer handled at the new layout by @penguinolog in https://github.com/urwid/urwid/pull/1640

    Bound and validate CGI web display keyboard input: drop lines longer than MAX_LINE_LENGTH and lines that are not key names, send whole column counts from the page, and keep client text out of the 
debug log by @penguinolog in https://github.com/urwid/urwid/pull/1642

Optimizations 🛠

    Decode terminal input in linear time: decoding a 64 KiB burst took seconds and now takes milliseconds (about 92% to 99.8% less time), reported by lanjianchun by @penguinolog in 
https://github.com/urwid/urwid/pull/1640

    Speed up cursor seeks in ASCII text (calc_string_text_pos()), about 99% less time by @dexhunter in https://github.com/urwid/urwid/pull/1639

    Decompose nested tag markup in linear time: markup 800 levels deep takes about 90% less time by @penguinolog in https://github.com/urwid/urwid/pull/1646

Documentation 🕮

    Document the CGI web display limits in the reference and SECURITY.md, and where the Linux console mouse reaches the raw screen by @penguinolog in https://github.com/urwid/urwid/pull/1642, 
https://github.com/urwid/urwid/pull/1644 and https://github.com/urwid/urwid/pull/1645

Urwid 5.1.2

2026-11-11

New features 🗹

    Add CheckBox.Symbols.MIDDLE_DOT, FISHEYE and CIRCLED_SLASH by @penguinolog in https://github.com/urwid/urwid/pull/1631

Bug fixes 🕷

    Handle mouse input on the FreeBSD console: the curses screen no longer stops on a KEY_MOUSE with no matching event, and the raw screen drops an X10 mouse report that vt(4) cuts short instead of 
reading the next report as its coordinate by @penguinolog in https://github.com/urwid/urwid/pull/1630

    Stop AsyncioEventLoop from retaining alarms cancelled natively with handle.cancel(); remove_alarm() returns False for such an alarm by @IlyaKhalafi in https://github.com/urwid/urwid/pull/1458, 
adopted by @charan-rathore in https://github.com/urwid/urwid/pull/1628

Documentation 🕮

    Document when CheckBox and RadioButton send change and postchange, what each passes, and the order of signals when a RadioButton selection moves by @maruixin-kls in 
https://github.com/urwid/urwid/pull/1291

    List what each FreeBSD console delivers as mouse input by @penguinolog in https://github.com/urwid/urwid/pull/1630

    Name the default Linux console fonts in the coverage notes of the widget symbol sets by @penguinolog in https://github.com/urwid/urwid/pull/1631

New Contributors

    @maruixin-kls made their first contribution in https://github.com/urwid/urwid/pull/1291

Urwid 5.1.1

2026-11-10

Breaking Changes ⚠

    CheckBox(checked_symbol=...) is keyword-only: passing it as the sixth positional argument raises TypeError by @penguinolog in https://github.com/urwid/urwid/pull/1603

    The WebSocket display allows up to 223 columns and 223 rows by default, up from 200 columns and 100 rows; pass max_cols and max_rows to keep the old limits by @penguinolog in 
https://github.com/urwid/urwid/pull/1608

New features 🗹
Layout and sizing

    Add shrink_to_fit=True to Overlay, Filler and OverlayStack.open(): a 'pack' top widget or body taller than the screen that also supports BOX sizing is rendered as a box at the rows available 
instead of being cut off at the bottom, so a dialog keeps its border and buttons by @penguinolog in https://github.com/urwid/urwid/pull/1624

    Add ListBox(flow=True): the list reports FLOW sizing over a body that knows its length, so a dialog takes the rows of its content and scrolls only when the screen is too short by @penguinolog in 
https://github.com/urwid/urwid/pull/1625

    Accept a flow size in Frame when its body does, and add Frame(flow=True) to report FLOW sizing over such a body by @penguinolog in https://github.com/urwid/urwid/pull/1626

    Add Frame(min_body_rows=..., trim_first=...) to choose which part of a Frame keeps its rows on a short screen by @penguinolog in https://github.com/urwid/urwid/pull/1627

    Raise WidgetSizingError naming the widget, the size and the sizing modes it supports when a widget gets a size it cannot handle, instead of an unrelated ValueError or AttributeError from deep 
inside urwid; it subclasses the exception it replaces by @penguinolog in https://github.com/urwid/urwid/pull/1612

Widgets

    Add ListBox.set_scrollpos() to scroll the view to an exact row, and wheel="view" for ListBox, TreeListBox and Table, where the mouse wheel scrolls the view rather than moving the focus by 
@penguinolog in https://github.com/urwid/urwid/pull/1616

    Add Table(footer=...) for a row below the body, and header_drop / footer_drop thresholds that give the body room on a short screen by @penguinolog in https://github.com/urwid/urwid/pull/1609

    Add Table.set_focus(position, coming_from=...), and unfocused_focus_attr_func= to compute the unfocused focus attribute per child in Pile, Columns, GridFlow, ListBox, Tabs and Table by 
@penguinolog in https://github.com/urwid/urwid/pull/1615

    Pass ScrollBar options to Table as scrollbar_<name> keywords by @penguinolog in https://github.com/urwid/urwid/pull/1601

    Add unchecked_symbol= and mixed_symbol= to CheckBox, all three symbol keywords to RadioButton, CheckBox.Symbols with common state marks, and more ScrollBar symbols by @penguinolog in 
https://github.com/urwid/urwid/pull/1603

Displays

    Add mouse input to the WebSocket display, and max_cols / max_rows to its Screen() and html_page() by @penguinolog in https://github.com/urwid/urwid/pull/1608

Testing helpers

    Add urwid.testing.VirtualClockEventLoop, whose alarms fire on a clock the test advances, and urwid.testing.attrs_for_text() by @penguinolog in https://github.com/urwid/urwid/pull/1620

    Add VirtualClockEventLoop.run_until_idle() to run every pending alarm and readable watched file and then return by @penguinolog in https://github.com/urwid/urwid/pull/1621

    Add ScriptedScreen(inputs=None), a screen that feeds no input and keeps a started loop running for run_until_idle() by @penguinolog in https://github.com/urwid/urwid/pull/1622

Bug fixes 🕷

    Return Enter and Space from Table to the enclosing widget unless an "activate" handler returns a true value; a handler that returns None no longer consumes the key by @penguinolog in 
https://github.com/urwid/urwid/pull/1614

    Pass keys to the Frame body when the header and footer fill the Frame but render() still shows a body row by @penguinolog in https://github.com/urwid/urwid/pull/1626

    Draw every line of a TextCanvas whose attr or cs list is shorter than text, such as attr=[]; such lines were counted by rows() but left out of content() by @penguinolog in 
https://github.com/urwid/urwid/pull/1611

    Free a dropped Pile, Columns, GridFlow, Tabs or Table without waiting for the cyclic garbage collector by @penguinolog in https://github.com/urwid/urwid/pull/1613

Documentation 🕮

    Remove Python 2 leftovers and correct manual and reference statements that no longer matched the code by @penguinolog in https://github.com/urwid/urwid/pull/1604

    List which members of each widget symbol set the default console fonts display by @penguinolog in https://github.com/urwid/urwid/pull/1610

    Document the TextCanvas attribute and character set runs, and show the source of each example program by @penguinolog in https://github.com/urwid/urwid/pull/1611


To generate a diff of this commit:
cvs rdiff -u -r1.80 -r1.81 pkgsrc/devel/py-urwid/Makefile
cvs rdiff -u -r1.68 -r1.69 pkgsrc/devel/py-urwid/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-urwid/Makefile
diff -u pkgsrc/devel/py-urwid/Makefile:1.80 pkgsrc/devel/py-urwid/Makefile:1.81
--- pkgsrc/devel/py-urwid/Makefile:1.80 Sun Nov  8 19:22:39 2026
+++ pkgsrc/devel/py-urwid/Makefile      Sun Nov 15 22:30:10 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.80 2026/11/08 19:22:39 wiz Exp $
+# $NetBSD: Makefile,v 1.81 2026/11/15 22:30:10 wiz Exp $
 
-DISTNAME=      urwid-5.1.0
+DISTNAME=      urwid-5.1.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=u/urwid/}
@@ -25,8 +25,8 @@ TEST_DEPENDS+=        ${PYPKGPREFIX}-zmq>=0:../
 
 USE_LANGUAGES= # none
 
-# as of 5.1.0
-# 186 passed, 1 skipped, 6 warnings
+# as of 5.1.3
+# 197 passed, 1 skipped, 6 warnings
 
 .include "../../lang/python/batteries-included.mk"
 .include "../../lang/python/wheel.mk"

Index: pkgsrc/devel/py-urwid/distinfo
diff -u pkgsrc/devel/py-urwid/distinfo:1.68 pkgsrc/devel/py-urwid/distinfo:1.69
--- pkgsrc/devel/py-urwid/distinfo:1.68 Sun Nov  8 19:22:39 2026
+++ pkgsrc/devel/py-urwid/distinfo      Sun Nov 15 22:30:10 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.68 2026/11/08 19:22:39 wiz Exp $
+$NetBSD: distinfo,v 1.69 2026/11/15 22:30:10 wiz Exp $
 
-BLAKE2s (urwid-5.1.0.tar.gz) = 0ad5ca9ee8248adc199687f0b10ec6e65c6093fc55e015c7222e4566be3685bf
-SHA512 (urwid-5.1.0.tar.gz) = d063f51a8d0e9e1ab21e37ebc6ef2cc98232844aa0faac2f4f75253599fd78af3d88c55b0ea5cedb284c4845098495fa9ce6fb0e4d73bd3fd6c241d778f9a719
-Size (urwid-5.1.0.tar.gz) = 528491 bytes
+BLAKE2s (urwid-5.1.3.tar.gz) = dce25af871263b9a231c85de037f41da764cb10d4a26fc4b1208e44d0b05ce9b
+SHA512 (urwid-5.1.3.tar.gz) = 98602f714e4700ffde6e363b04785b617c576b1852e6752ffe9b2304deb391bc94bea2e381e93824468691a6fc2ccae4c2ddba5d61e17b3f5f755cdaeb1c99b6
+Size (urwid-5.1.3.tar.gz) = 568762 bytes



Home | Main Index | Thread Index | Old Index