I am trying to upgrade dash and I am getting the following traceback:
Traceback (most recent call last):
File "/usr/lib/python3.13/pdb.py", line 2480, in main
pdb._run(target)
~~~~~~~~^^^^^^^^
File "/usr/lib/python3.13/pdb.py", line 2220, in _run
self.run(target.code)
~~~~~~~~^^^^^^^^^^^^^
File "/usr/lib/python3.13/bdb.py", line 666, in run
exec(cmd, globals, locals)
~~~~^^^^^^^^^^^^^^^^^^^^^^
File "<string>", line 1, in <module>
File "/home/bselme/OneDrive/linux_share/ss_app/ss_app/app.py", line 25, in <module>
from dash import ALL, callback, callback_context, ctx, Dash, dcc, html, Input, no_update, Output, State
File "/usr/local/lib/python3.13/dist-packages/dash/__init__.py", line 44, in <module>
from ._hooks import hooks # noqa: F401,E402
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/dist-packages/dash/_hooks.py", line 24, in <module>
HookDataType = _tx.TypeVar("HookDataType")
File "/usr/lib/python3/dist-packages/typing_extensions.py", line 1455, in __new__
_set_default(typevar, default)
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/typing_extensions.py", line 1412, in _set_default
type_param.__default__ = None
^^^^^^^^^^^^^^^^^^^^^^
AttributeError: attribute '__default__' of 'typing.TypeVar' objects is not writable
Uncaught exception. Entering post mortem debugging
Running 'cont' or 'step' will restart the program
> /usr/lib/python3/dist-packages/typing_extensions.py(1412)_set_default()
-> type_param.__default__ = None