Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Pydantic 1 compatibility code #33998

Merged
merged 1 commit into from
Sep 4, 2023

Conversation

uranusjr
Copy link
Member

@uranusjr uranusjr commented Sep 1, 2023

I think these are irrelevant after #33956

@vincbeck
Copy link
Contributor

vincbeck commented Sep 1, 2023

Static checks failure

@uranusjr uranusjr force-pushed the remove-pydantic-1-compat branch from 223e458 to 22746ba Compare September 4, 2023 11:45
@potiuk potiuk added this to the Airflow 2.7.1 milestone Sep 4, 2023
@ephraimbuddy ephraimbuddy added the type:misc/internal Changelog: Misc changes that should appear in change log label Sep 4, 2023
@uranusjr uranusjr merged commit 601b9cd into apache:main Sep 4, 2023
@uranusjr uranusjr deleted the remove-pydantic-1-compat branch September 4, 2023 13:09
ephraimbuddy pushed a commit that referenced this pull request Sep 4, 2023
potiuk added a commit to potiuk/airflow that referenced this pull request Sep 4, 2023
The apache#33956 and apache#33998 updated limits for Pydantic to Pydantic 2
only and removed Pydantic 1 compatibility. However it turns out
that some of important 3rd-party libraries have not yet upgraded
and it will make it impossible to install them on Airflow 2.7.1+
if we keep the limit.

For now we bring back Pydantic 1 compatibility, we remove the limit
and filter the warnings that made us remove the compatibility code.
potiuk added a commit that referenced this pull request Sep 4, 2023
The #33956 and #33998 updated limits for Pydantic to Pydantic 2
only and removed Pydantic 1 compatibility. However it turns out
that some of important 3rd-party libraries have not yet upgraded
and it will make it impossible to install them on Airflow 2.7.1+
if we keep the limit.

For now we bring back Pydantic 1 compatibility, we remove the limit
and filter the warnings that made us remove the compatibility code.
@ephraimbuddy ephraimbuddy added changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) and removed type:misc/internal Changelog: Misc changes that should appear in change log labels Sep 4, 2023
ephraimbuddy pushed a commit that referenced this pull request Sep 4, 2023
The #33956 and #33998 updated limits for Pydantic to Pydantic 2
only and removed Pydantic 1 compatibility. However it turns out
that some of important 3rd-party libraries have not yet upgraded
and it will make it impossible to install them on Airflow 2.7.1+
if we keep the limit.

For now we bring back Pydantic 1 compatibility, we remove the limit
and filter the warnings that made us remove the compatibility code.

(cherry picked from commit 30ddfc5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:serialization 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.

6 participants