Bug#1129920: texlive-extra: latexminted fails to run with Python 3.14 default

Vladimir Petko <[email protected]>
Newsgroups gmane.linux.debian.devel.tetex
Message-ID <177275995308.35942.13706960236744399008.reportbug__47050.5454622739$1772760090$gmane$org@vladimirp>
Source: texlive-extra
Version: 2025.20260124-1
Severity: normal

Dear Maintainer,

latexminted fails to run in Ubuntu 26.04 resolute with Python 3.14 as the
default:

$ python3 --version
Python 3.14.3

$ $ /usr/bin/latexminted
Traceback (most recent call last):
  File "/usr/bin/latexminted", line 372, in <module>
    main()
    ~~~~^^
  File "/usr/share/texlive/texmf-
dist/scripts/minted/latexminted-0.6.0-py3-none-any.whl/latexminted/cmdline.py",
line 148, in main
    parser.add_command('batch', help='Batch process highlight, styledef, and
clean', func=batch)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/texlive/texmf-
dist/scripts/minted/latexminted-0.6.0-py3-none-any.whl/latexminted/cmdline.py",
line 41, in add_command
    parser = self._command_subparsers.add_parser(name, help=help)
  File "/usr/lib/python3.14/argparse.py", line 1279, in add_parser
    parser = self._parser_class(**kwargs)
TypeError: ArgParser.__init__() got an unexpected keyword argument 'color'



-- System Information:
Debian Release: forky/sid
  APT prefers questing-updates
  APT policy: (500, 'questing-updates'), (500, 'questing-security'), (500, 'questing'), (100, 'questing-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.17.0-14-generic (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.