Closed lovetox closed 7 months ago
I need a few days before I have time to look at this in detail.
Can you enable and run the github action on your forked repository to test all Python versions? You should be able to run it manually for each branch.
It fails on older Python on my machine.
It there is no easy fix, maybe we could drop support for end-of-life Python versions. We would need to check how often the package is still used on those versions at the moment (ref #243 )
hi, all checks run now trough on all python versions
But this is only possible with a new dependency
typing_extensions
which provides type annotations which are backwards compatibleIf we don't want this dependency then our options are
str
TypedDict
and replace it with a dict[str, Any]
We could also use the Match class from typing_extensions
this will not break with 3.13, depending on the decision if you want to use typing_extensions
PR rebased, and code review suggestions squashed
I added some CI updates
Looks good to me. The typing_extensions
dependency is ok with me.
@TahirJalilov I think you can merge this too, but let's wait with a new release.
I will look into solving some of these type: ignore
. And also while I reviewed this PR, I found some unrelated problems with the tests/pytest that I want to solve.
As the typing extension is accepted, i fixed the last thing that we now use the Match object from typing_extensions
which should not break with 3.13
Looks good to me. The
typing_extensions
dependency is ok with me.@TahirJalilov I think you can merge this too, but let's wait with a new release.
I will look into solving some of these
type: ignore
. And also while I reviewed this PR, I found some unrelated problems with the tests/pytest that I want to solve.
ok @cvzi Thank you!
This moves all type annotations inline
type: ignore
on some lines because pyright thinks there are errors, this should be checked after this is mergedThis does not mean you need to use pyright as a type checker for this project. The config section simply allows developers who use pyright to pick up the config.