Closed notpeelz closed 5 months ago
I have nothing against it in general, but stdStream
isn't used anymore, as no function defines streams as parameters. Is typing union the only thing that requires 3.10?
There's also traceback.print_exception(exception)
. With Python <=3.9, the signature is traceback.print_exception(etype, value, tb)
: https://docs.python.org/3.10/library/traceback.html#traceback.print_exception
I'll remove the revert commit and let you clean up the dead code.
On second thought I do not want to mess with traceback.print_exception()
)
The code currently uses features that aren't compatible with older python versions. Here's a non-exhaustive list of things pylance reports:
exit_on_error
attr: https://docs.python.org/3.9/library/argparse.html?highlight=exit_on_error#argumentparser-objectsThis version bump means officially dropping support for older debian/ubuntu LTS releases. Ubuntu 22.04 (jammy jellyfish) ships Python 3.10: https://discourse.ubuntu.com/t/jammy-jellyfish-release-notes/24668 Debian 12 (bookworm) ships Python 3.11: https://packages.debian.org/bookworm/python3