Open banderlog opened 2 months ago
UPD: it is the problem of combination of python and typing-extensions
python-3.12 with typing-extensions>4.9.0 fails
python-3.10 and python-3.11 works fine with typing-extensions>=4.9.0
https://github.com/python/typing_extensions/issues/372#issuecomment-2067787722
Thanks. This happens because you're mixing typing.Protocol with typing_extensions.runtime_checkable. If you either import both symbols from typing or both symbols from typing_extensions, the error goes away.
I know I might be asking for too much, but do you have any timeline in mind to publish a fix soon? I'm experiencing this exact error and would like to get it fixed soon. Thanks in advance. @banderlog
@simonzg https://github.com/dbrattli/OSlash/pull/36
or hardcode specific version typing-extensions==4.9.0
in requirements/toml file
also, typing-extensions now have 4.11 version, in which it might be fixed already
Hi, the next error appears on python3.12.2:
with 3.11 everything is fine
oslash-0.6.3 (latest)