Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[v2-10-test] Only install eval-type-backport for Python < 3.10 (#44294)…
… (#44315) The `eval-type-backport` is a tool to replace some of the controversial new type hints added with `from future imoport __annotations__` to "classic" type hint (| and list - into `Union` and `List`). This helps to battle some of the issues where Pydantic has troubles when they are used for classes that Pydantic uses. The library was initially added in #42196 but it was added for all Python versions - this change limits it only to Python < 3.10 (cherry picked from commit 2948338)
- Loading branch information