[MacPorts] #74255: texlive-latex-extra @78229_2: latexminted crash due to "unexpected keyword argument 'color'" when using Python 3.14
MacPorts
noreply at macports.org
Mon Jul 27 12:40:34 UTC 2026
#74255: texlive-latex-extra @78229_2: latexminted crash due to "unexpected keyword
argument 'color'" when using Python 3.14
-------------------------+---------------------------------
Reporter: eric-j-ason | Owner: dports@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.12.5
Keywords: | Port: texlive-latex-extra
-------------------------+---------------------------------
To reproduce, just run 'latexminted'. Error output:
{{{
$ /opt/local/bin/latexminted
Traceback (most recent call last):
File "/opt/local/bin/latexminted", line 372, in <module>
main()
~~~~^^
File "/opt/local/share/texmf-
texlive/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 "/opt/local/share/texmf-
texlive/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
"/opt/local/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/argparse.py",
line 1272, in add_parser
parser = self._parser_class(**kwargs)
TypeError: ArgParser.__init__() got an unexpected keyword argument 'color'
}}}
The problem is documented [https://github.com/gpoore/minted/issues/471
upstream] and fixed in latexminted 0.7.1, so an upgrade should probably
do.
Workaround: Downgrade to Python 3.13:
{{{
sudo port select --set python3 python313
}}}
--
Ticket URL: <https://trac.macports.org/ticket/74255>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list