I'm having trouble to get the lastest version of todoman (4.3.2 atm) run on fully upgraded Slackware64-15.0
Seems to be related to uncompatible python version : here python v3.9.18 and setuptools-65.1.1 (do not build with stock 57.5.0).
Reverting all the related syntax to something like this works
def __init__(self, parent, *a, **kw):
Since I'm total noob in python there's surely a better solution.
Edit : forgot to past the error !
Traceback (most recent call last):
File "/usr/bin/todo", line 5, in <module>
from todoman.cli import cli
File "/usr/lib64/python3.9/site-packages/todoman/cli.py", line 19, in <module>
from todoman.interactive import TodoEditor
File "/usr/lib64/python3.9/site-packages/todoman/interactive.py", line 3, in <module>
from todoman import widgets
File "/usr/lib64/python3.9/site-packages/todoman/widgets.py", line 29, in <module>
class ExtendedEdit(urwid.Edit):
File "/usr/lib64/python3.9/site-packages/todoman/widgets.py", line 48, in ExtendedEdit
size: tuple[int, int] | tuple[int] | tuple[()],
TypeError: unsupported operand type(s) for |: 'types.GenericAlias' and 'types.GenericAlias'
Hi,
I'm having trouble to get the lastest version of todoman (4.3.2 atm) run on fully upgraded Slackware64-15.0 Seems to be related to uncompatible python version : here python v3.9.18 and setuptools-65.1.1 (do not build with stock 57.5.0).
Build and runtime deps are
The error seems related to this syntax in widget.py (commit b08318a) and cli.py (line 100, commit 17dc309)
Reverting all the related syntax to something like this works
Since I'm total noob in python there's surely a better solution.
Edit : forgot to past the error !