Dear Maintainer,
With Python 3.14, the powerline-daemon fails to start with an uncaught
ValueError.
To reproduce:
1. Install python3 from experimental
2. Install powerline
3. Run "powerline-daemon"
The daemon fails to start with the following error:
Traceback (most recent call last):
File "/usr/bin/powerline-daemon", line 495, in <module>
main()
~~~~^^
File "/usr/bin/powerline-daemon", line 423, in main
parser = get_daemon_argparser()
File "/usr/lib/python3/dist-packages/powerline/commands/daemon.py", line 21, in get_argparser
replace_group = exclusive_group.add_argument_group()
File "/usr/lib/python3.14/argparse.py", line 1806, in add_argument_group
raise ValueError('argument groups cannot be nested')
ValueError: argument groups cannot be nested
Hello, I experiment the exact same bug since my package update of monday 29 June 2026 (yesterday). Powerline: 2.8.4-1 Python: 3.14.6 The fix is described in this github issue in the powerline repository: https://github.com/powerline/powerline/issues/2280 Fixed in commit #2271: https://github.com/powerline/powerline/pull/2271/commits The complete patch that fix the problem: https://github.com/powerline/powerline/pull/2271/changes/9739ec502075d8053108f8ee83928f92ac64a642 I would recommend to update the package with the last git repository image that should fix the problem. And, finally, a quick and dirty workaround in one line:--- /usr/lib/python3/dist-packages/powerline/commands/daemon.py.orig 2026-06-30 11:14:59.797451645 +0200 +++ /usr/lib/python3/dist-packages/powerline/commands/daemon.py 2026-06-30 11:14:32.390720479 +0200 @@ -18,7 +18,7 @@ parser.add_argument('--socket', '-s', help='Specify socket which will be used for connecting to daemon.') exclusive_group = parser.add_mutually_exclusive_group() exclusive_group.add_argument('--kill', '-k', action='store_true', help='Kill an already running instance.') - replace_group = exclusive_group.add_argument_group() + replace_group = parser.add_argument_group() replace_group.add_argument('--foreground', '-f', action='store_true', help='Run in the foreground (don’t daemonize).') replace_group.add_argument('--replace', '-r', action='store_true', help='Replace an already running instance.') return parser Regards -- Emmanuel Fleury Univ. de Bordeaux, LaBRI, | Associate Professor, 351, Cours de la Libération | Email: emmanuel.fleury@u-bordeaux.fr 33405 Talence Cedex, France | Web: http://www.labri.fr/~fleury
Hello, Bug #1135266 in powerline reported by you has been fixed in the Git repository and is awaiting an upload. You can see the commit message below and you can check the diff of the fix at: https://salsa.debian.org/python-team/packages/powerline/-/commit/2f6fb43c8083f9677959e2ccffc22ec28e4854bb ------------------------------------------------------------------------ d/p/Fix-compatibility-with-Python-3.14.patch: cherry-pick from upstream Closes: #1135266 ------------------------------------------------------------------------ (this message was generated automatically) -- Greetings https://bugs.debian.org/1135266
We believe that the bug you reported is fixed in the latest version of
powerline, 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 1135266@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Carlos Henrique Lima Melara <charlesmelara@riseup.net> (supplier of updated powerline 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: Sat, 18 Jul 2026 00:03:33 -0300
Source: powerline
Architecture: source
Version: 2.8.4-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Carlos Henrique Lima Melara <charlesmelara@riseup.net>
Closes: 1101656 1107442 1135266 1136291
Changes:
powerline (2.8.4-2) unstable; urgency=medium
.
* Team upload.
.
[ Carles Pina i Estany ]
* Added po-debconf Catalan translation. (Closes: #1101656)
.
[ Carlos Henrique Lima Melara ]
* debian/control:
- Bump standards-version to 4.7.4.
- Drop Priority field, optional is default now.
- Drop rules-requires-root field, no is default now.
* debian/patches/:
- 0007-reproducible-build.patch: apply patch. Thanks to Chris Lamb.
(Closes: 1136291)
- Fix-compatibility-with-Python-3.14.patch: cherry-pick from upstream.
(Closes: #1135266)
* debian/po/pt.po: update portuguese translation. Thanks to Américo
Monteiro. (Closes: 1107442)
Checksums-Sha1:
1fe2fe0665c8847806dd1b118d981e394d6167eb 2329 powerline_2.8.4-2.dsc
c7d76987a90ccb373f499f31e8124f1cba87de78 18232 powerline_2.8.4-2.debian.tar.xz
852f06de45f317f2ed1761c36144c90a0f99ac29 9112 powerline_2.8.4-2_amd64.buildinfo
Checksums-Sha256:
c743d7341806d7c069417b4c11cb26176ede3d15ccc59fd1f797e0226532662e 2329 powerline_2.8.4-2.dsc
440cc93e15fbdc71642128e5355e1528eb00e27f41754ee8ba1b22e735e4a5fc 18232 powerline_2.8.4-2.debian.tar.xz
225c88b368a8b0f1dc3c45ca9b6e8ac39b85fd66fe0271176e4a0a52f12a2b86 9112 powerline_2.8.4-2_amd64.buildinfo
Files:
f709e0895cdaa9c0816df3274d38e9b9 2329 shells optional powerline_2.8.4-2.dsc
1f3fcc388b164d24fd781aa5a2154a98 18232 shells optional powerline_2.8.4-2.debian.tar.xz
79b27b973ff815651670f424af6340a5 9112 shells optional powerline_2.8.4-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJNBAEBCgA3FiEECgzx8d8+AINglLHJt4M9ggJ8mQsFAmpa8WcZHGNoYXJsZXNt
ZWxhcmFAcmlzZXVwLm5ldAAKCRC3gz2CAnyZC2o2D/49J1G58mmcPYjHAgQPxPMu
YL79bnLecmirnN598AEt3nvK4TQ+2rOZQR2SJgAmw/VAmnQJ6f1mbjlVIAjChzah
FhIQyB+Wmo8X2LB3COYlN8Dhe9GGh17j6V6Nk3EkRy4NFiEY8JfcJvojb62u6avc
nFH97KUCPZQ5OW49WcbZgRvQ7TUa1Tp5td6ytgrsPlJBTUp5Pb0e0GDP3OebaGA0
a1YmLITsiEJ9Wqfh5P79Yn80vXn1dhq40uCKBOkiDYh6RnSpjs61FFwUDa6ZZnbm
PIpnytQNY5HYZdr0v1XYmDOBDnPG8/1t4Al2rdg3nSC7k35BMU35+6PZ8niihktm
7kYtbKagFbsf0tkOBhEpHPGH5sUpvVir2xVxP65DShBxXkcauKNiDoWjzPPzdueW
5/qaTo0seWOEXgtl2QrVtM+A0UMEH5kYpA5A+8xf69CDZiXO4W+U800+C5ssZUYH
PVn3Ey3G6DpAGz3L31y0TCs3oC8LZAhIcERBbyue7J6PIMMZK0PNvEbaTM9l55y+
GUxWJ5hLLrT/dic/lP0zOAjtwvKJ09RuVKt0h2PwIlKNMPk6vWk5kwAXAkRZMWq9
zrgfVeFaVAlbpEVIw1zH/X+9+KbykQl+OLP9eiNkyEJjJgpmLNh+ka+EG2Yj1dRy
clBpVVjbJLim1/hYQxNMuA==
=kptJ
-----END PGP SIGNATURE-----