Skip to content

Remove Pydantic 1 compatibility code - #33998

Merged
uranusjr merged 1 commit into
apache:mainfrom
astronomer:remove-pydantic-1-compat
Sep 4, 2023
Merged

Remove Pydantic 1 compatibility code#33998
uranusjr merged 1 commit into
apache:mainfrom
astronomer:remove-pydantic-1-compat

Conversation

@uranusjr

Copy link
Copy Markdown
Member

I think these are irrelevant after #33956

@vincbeck

Copy link
Copy Markdown
Contributor

Static checks failure

@uranusjr
uranusjrforce-pushed the remove-pydantic-1-compat branch from 223e458 to 22746baCompareSeptember 4, 2023 11:45
@potiukpotiuk added this to the Airflow 2.7.1 milestone Sep 4, 2023
@ephraimbuddyephraimbuddy 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:mainSep 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.
@ephraimbuddyephraimbuddy 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 freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:serializationchangelog:skipChanges 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

@uranusjr@vincbeck@potiuk@ephraimbuddy@Lee-W@hussein-awala