#1135266 powerline-daemon crashes with ValueError using Python 3.14

Package:
powerline
Source:
powerline
Description:
prompt and statusline utility
Submitter:
Oliver Reiche
Date:
2026-04-30 10:27:01 UTC
Severity:
normal
Tags:
#1135266#5
Date:
2026-04-30 10:24:56 UTC
From:
To:
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