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

Add pydantic 1.9 to Composer PyPI Packages #3216

Merged
merged 1 commit into from
Jan 5, 2024

Conversation

SorenSpicknall
Copy link
Contributor

Description

When we upgraded to use pyairtable V2 in our Composer PyPI package list for auth reasons, it introduced a dependency conflict: pyairtable has a version-unbounded pydantic requirement that in turn brings in typing-extensions. Because the pydantic version being fetched relied on a newer version of typing-extensions than the one that comes with our Composer-Airflow instance (which we can't modify), we need to pin the pydantic version imported in Composer to avoid the conflict. I used 1.9, which is used elsewhere in data-infra.

Merging this PR will also conveniently allow us to test some additional current behavior related to #3215 - does the Action fail to run when a new package is added to the requirements list, or just when the package version numbers are changed?

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation

How has this been tested?

Tested via rollout on production Composer - a safe move because Composer automatically rejects changes that produce dependency conflicts, rather than getting into a bad state.

Post-merge follow-ups

  • No action required
  • Actions required (specified below)

Monitor merge CI behavior to continue investigating #3215.

Copy link
Member

@charlie-costanzo charlie-costanzo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you for taking care of this!

@SorenSpicknall SorenSpicknall merged commit 2f96ada into main Jan 5, 2024
1 check passed
@SorenSpicknall SorenSpicknall deleted the soren-add_pydantic_to_composer_reqs branch January 5, 2024 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants