-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
uranusjr
force-pushed
the
remove-pydantic-1-compat
branch
from
September 1, 2023 09:03
cd66123
to
223e458
Compare
potiuk
approved these changes
Sep 1, 2023
vincbeck
approved these changes
Sep 1, 2023
Static checks failure |
Lee-W
approved these changes
Sep 4, 2023
hussein-awala
approved these changes
Sep 4, 2023
ephraimbuddy
approved these changes
Sep 4, 2023
uranusjr
force-pushed
the
remove-pydantic-1-compat
branch
from
September 4, 2023 11:45
223e458
to
22746ba
Compare
ephraimbuddy
added
the
type:misc/internal
Changelog: Misc changes that should appear in change log
label
Sep 4, 2023
ephraimbuddy
pushed a commit
that referenced
this pull request
Sep 4, 2023
(cherry picked from commit 601b9cd)
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
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)
97 tasks
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..)
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I think these are irrelevant after #33956