Uh oh!
There was an error while loading. Please reload this page.
[v2-10-test] Only install eval-type-backport for Python < 3.10 (#44294) - #44315
Conversation
…e#44294) 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 apache#42196 but it was added for all Python versions - this change limits it only to Python < 3.10 (cherry picked from commit 2948338) Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
I am cherry-picking that one to 2-10-test - targetting for 2.10.4 - just in case pydantic/pydantic#10958 will not be quickly resolved and Pydantic team will be reluctant to make |
bugraoz93
commented
Nov 24, 2024
I believe failed steps are not relevant to the changes. It seems like a couple of tests are still using old configuration. |
potiuk
commented
Nov 24, 2024
Yeah, we need to fix it separately. |
… (#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)
… (#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)
The
eval-type-backportis a tool to replace some of the controversial new type hints added withfrom future imoport __annotations__to "classic" type hint (| and list - intoUnionandList).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)
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named
{pr_number}.significant.rstor{issue_number}.significant.rst, in newsfragments.