Skip to content

Pin pydantic<2 for the Python client#615

Merged
shangyian merged 1 commit intoDataJunction:mainfrom
shangyian:pin-pydantic-client
Jul 11, 2023
Merged

Pin pydantic<2 for the Python client#615
shangyian merged 1 commit intoDataJunction:mainfrom
shangyian:pin-pydantic-client

Conversation

@shangyian
Copy link
Copy Markdown
Collaborator

@shangyian shangyian commented Jul 9, 2023

Summary

Pin pydantic<2 for the Python client as we're not compatible with the latest release.

Found this issue from running the client. Since we don't pin an upper boundary for Pydantic, client users can find themselves using pydantic>=2, which isn't compatible with our models.

Test Plan

  • PR has an associated issue: #
  • make check passes
  • make test shows 100% unit test coverage

Deployment Plan

@netlify
Copy link
Copy Markdown

netlify bot commented Jul 9, 2023

Deploy Preview for thriving-cassata-78ae72 canceled.

Name Link
🔨 Latest commit edfc649
🔍 Latest deploy log https://app.netlify.com/sites/thriving-cassata-78ae72/deploys/64aacf2f93da51000866bd62

@shangyian shangyian marked this pull request as ready for review July 10, 2023 15:54
Copy link
Copy Markdown
Member

@agorajek agorajek left a comment

Choose a reason for hiding this comment

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

Yes please. And thank you @shangyian .

@shangyian shangyian merged commit 70b9e71 into DataJunction:main Jul 11, 2023
youngman-droid pushed a commit to youngman-droid/dj that referenced this pull request Aug 26, 2023
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.

3 participants