-
Notifications
You must be signed in to change notification settings - Fork 131
Open
Description
Running latexminted under Python 3.14.0 raises TypeError: ArgParser.__init__() got an unexpected keyword argument 'color', preventing minted usage from LaTeX.
Environment
OS: Windows 11
TeX: TeX Live 2025
Python: 3.14.0
Reproduce
Run latexminted --version (or run pdflatex file.tex that uses minted).
Expected result
latexminted runs and prints version/help, or the LaTeX file highlights normally.
Actual result
latexminted fails with TypeError (traceback excerpt below).
Traceback (most recent call last):
File "c:\texlive\2025\texmf-dist\scripts\minted\latexminted.py", line 372, in <module>
main()
~~~~^^
File "C:\texlive\2025\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 "C:\texlive\2025\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 "C:\Users\EKKE\AppData\Local\Programs\Python\Python314\Lib\argparse.py", line 1271, in add_parser
parser = self._parser_class(**kwargs)
TypeError: ArgParser.__init__() got an unexpected keyword argument 'color'
C:\texlive\2025\bin\windows\runscript.tlu:933: command failed with exit code 1:
python.exe c:\texlive\2025\texmf-dist\scripts\minted\latexminted.py --version
wupr, fancywriter, T-F-S, FedericoBruzzone, derchr and 21 more
Metadata
Metadata
Assignees
Labels
No labels