Dear Debian sen package maintainer,
sen 0.8.1-1 fails to build from source and fails its autopkgtest
against python3-urwid 4.1.3-1, which is now in unstable. The test
module tests/test_widgets.py imports SimpleListWalker from the old
module path urwid.listbox:
ImportError while importing test module '.../tests/test_widgets.py'.
Traceback:
tests/test_widgets.py:7: in <module>
from urwid.listbox import SimpleListWalker
E ModuleNotFoundError: No module named 'urwid.listbox'
urwid 3.x still provided urwid.listbox as a deprecated alias for
urwid.widget.listbox, emitting a DeprecationWarning. urwid 4.0.0
removed all of these old-path aliases, so the import now fails.
Since pybuild runs pytest during the build, this is a FTBFS in sid,
and the autopkgtest regression currently blocks urwid 4.1.3-1 from
migrating to Debian Testing.
The installed sen code itself does not use any removed urwid module
path or API; only this one test import is affected.
The fix is a one-line change, already proposed upstream in
https://github.com/TomasTomecek/sen/issues/192. SimpleListWalker is
exported from the urwid top-level namespace in both urwid 3.x and
4.x, so the change is backwards compatible:
--- a/tests/test_widgets.py
+++ b/tests/test_widgets.py
@@ -4,7 +4,7 @@
import pytest
from flexmock import flexmock
-from urwid.listbox import SimpleListWalker
+from urwid import SimpleListWalker
from sen.tui.widgets.list.base import WidgetBase
from sen.tui.widgets.list.common import ScrollableListBox, AsyncScrollableListBox
I intend to upload a team upload with this fix shortly.
Thanks,
Boyuan Yang
We believe that the bug you reported is fixed in the latest version of
sen, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1148037@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Boyuan Yang <byang@debian.org> (supplier of updated sen package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Wed, 16 Sep 2026 09:48:06 -0400
Source: sen
Architecture: source
Version: 0.8.1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Boyuan Yang <byang@debian.org>
Closes: 1148037
Changes:
sen (0.8.1-2) unstable; urgency=medium
.
* Team upload.
* debian/patches/urwid-4-test-import.patch: Import SimpleListWalker
from the urwid top-level namespace instead of the urwid.listbox
alias that urwid 4.0 removed. Fixes FTBFS and autopkgtest failure
with python3-urwid 4.1.3. (Closes: #1148037)
* debian/control: Bump debhelper compat to v14.
* debian/watch: Update to version 5.
* debian/control: Bump Standards-Version to 4.7.4. Drop the Priority
and Rules-Requires-Root fields, both are the default now.
Checksums-Sha1:
a9d322ba1ec0b4fc944cbbd94852407b8a739dd7 2970 sen_0.8.1-2.dsc
e0249dce063ca3a20ed18aedb4c2f25d3a844772 1933646 sen_0.8.1.orig.tar.gz
002f47b99feb1d8ac62d3aae4caca3a13ea9c8e3 4292 sen_0.8.1-2.debian.tar.xz
165e4ba676ec708a8118d1f44e94adee3a7745be 7319 sen_0.8.1-2_amd64.buildinfo
Checksums-Sha256:
87f470a76b6e19dfac65546e3a60cd719ab7c99cc229ccd20ff74f523c71c8e4 2970 sen_0.8.1-2.dsc
705236bc14fbd5682fd6744b3065224d71267b08bf9707a21c707fa1843e0561 1933646 sen_0.8.1.orig.tar.gz
8d6b1bc83a97c834dcbe82103b850acfb05460f6e5e2daace76f445007bf5396 4292 sen_0.8.1-2.debian.tar.xz
080f73b33fbb5daa4866973a82e23aa20cf73bd2ad1e82487861fd85b4846244 7319 sen_0.8.1-2_amd64.buildinfo
Files:
7309925ab2e6107402dbb2e309fb05cc 2970 admin optional sen_0.8.1-2.dsc
1ad38f1c37480a38631df455ba1280ec 1933646 admin optional sen_0.8.1.orig.tar.gz
3ac374153daba940606385ff45e04b46 4292 admin optional sen_0.8.1-2.debian.tar.xz
26d10850d1ead98cf96e5a43d140c2de 7319 admin optional sen_0.8.1-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEfncpR22H1vEdkazLwpPntGGCWs4FAmqqnrcACgkQwpPntGGC
Ws7V9g/+NKLJqAgkaLF3f8wJevL19SXCsMp5PA/fnsh/hBQ44M1omnOpabJRzSCp
44Zm3nQ0r01Vob9trvb4h5Rc645Uoj1u5UO6KMw/CxjzYsn98O4PA8jn5hEwRmVH
skTSUmZqnBnSa/KyJEzHd5/nQmGvyhFnOYEzrgd9LgNMA3DbqgxLxnwTITKnuQOj
jlYtnfadvgzzjAfx+rKVYaZ9LV28zMAWWMEM68i4Z7zAmd3JK1PjK6XvmMV/mNJr
ErzmfiVgpCywepMEB/U6t084hcDooZrOvEYsihpT9786Ty42vFuVWFfRcvwj/4/v
KxryFnNVGNWPg7FZiac/+M/NU9oE4LjnJ9osfzqhjo+zrtTvGbC13L/Nf5CLrR8t
dov/xf7KiKAVN3S22Gkzvlcm8ypb4QXEIEILVMLFkWiw+vyx2ikoYVSmCxvOo/yJ
96fF7s47Yz7Rohuj7OKTxpCexf5gZjQOycGSRHEMLmtWMbfHezCAY6bmgY6e5QL7
ZJShtiuw3xKC4GdnBFu65MUFM80b4e/2fVHZNlhtTzpfg8ZOSM8jaIGLzmfVPFcO
Yjkxrbyeq7gWPusxwePAfgtska85URmVt3mUs3BsKxrASMSvw4lCBi0cP8nfNQiN
89wW/3lI5CU3iALtvizqkxAnQ//O5toGaG16q4nOaXoGKmkirgE=
=bHlw
-----END PGP SIGNATURE-----