-
Notifications
You must be signed in to change notification settings - Fork 69
Open
Description
Just doing some initial integration with a typer command line using python 3.9 and I get this error:
Traceback (most recent call last):
File "/home/juguerre/.local/share/uv/python/cpython-3.9.21-linux-x86_64-gnu/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/home/juguerre/.local/share/uv/python/cpython-3.9.21-linux-x86_64-gnu/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/juguerre/dev/repos/elasticcsv/elasticcsv/csv2es.py", line 8, in <module>
from trogon.typer import init_tui
File "/home/juguerre/dev/repos/elasticcsv/.venv/lib/python3.9/site-packages/trogon/typer.py", line 13, in <module>
def init_tui(app: typer.Typer, name: str | None = None):
TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'
Documentation claims that python 3.9 is supported and it seems that is not the case.
Tested on kubuntu 24.04
trogon v0.6.0
Thanks
Metadata
Metadata
Assignees
Labels
No labels