Skip to content

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented Dec 3, 2024


^ 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.rst or {issue_number}.significant.rst, in newsfragments.

We need to keep eval_type_backport, even if Pydantic 2.10.2 solves
some basic backport problems with typing on Python 3.8 and 3.9,
there are still some constructs that will raise error if
the eval_type_backport are not installed. This caused problems
in one of our backport tests in
https://github.com/apache/airflow/actions/runs/12105919009/job/33751221753
when new typing construct was added in Edge Provider and when we
tried to install Airflow 2.10.3 with new Edge provider without
eval_type_backport.

However, Pydantis has a fallback conditional code - if it is not
able to handle some construct, it will fall back to eval_type_backport
in case it is installed.

That's why we should not really remve eval_type_backport as
dependency from either Airflow 2.10.4 nor 3.0.0.
@uranusjr uranusjr merged commit 2e9b8b5 into apache:v2-10-test Dec 3, 2024
1 check passed
@utkarsharma2 utkarsharma2 added the changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) label Dec 4, 2024
@utkarsharma2 utkarsharma2 added this to the Airflow 2.10.4 milestone Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:API Airflow's REST/HTTP API area:dev-tools area:production-image Production image improvements and fixes changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants