tmt
tmt copied to clipboard
Deprecation warning with docutils `frontend.OptionParser`
I just got hit by a bunch of deprecation warnings coming from: https://github.com/teemtee/tmt/blob/78742f93789da5bbc13db3713cd6de3e8f744443/tmt/utils.py#L7359-L7364
warning : /usr/lib/python3.12/site-packages/tmt/utils.py:7003: DeprecationWarning: The frontend.OptionParser class will be replaced by a subclass of argparse.ArgumentParser in Docutils 0.21 or later.
settings = docutils.frontend.OptionParser(components=components).get_default_values()
I was only doing pytest --help
:sweat_smile: