I tried to just install typing-extensions, but that doesn't seem to help. Any thoughts on the best way to deal with this? My feeling is that I don't really care about this error at all on an older python, so maybe there's a way to special-case typing?
So if I have..
and I wrap it like this:
Then I get this stub:
Which is fine, but in https://github.com/robotpy/robotpy-build/actions/runs/6600503330/job/17930593375#step:10:921 this fails on Python 3.8 because it can't find
typing.Annotated
.I tried to just install typing-extensions, but that doesn't seem to help. Any thoughts on the best way to deal with this? My feeling is that I don't really care about this error at all on an older python, so maybe there's a way to special-case
typing
?