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

Python CDK: Pin the airbyte_protocol version #37679

Merged
merged 7 commits into from
Apr 30, 2024

Conversation

girarda
Copy link
Contributor

@girarda girarda commented Apr 29, 2024

What

Pin the CDK's dependency on airbyte-protocol-models to ^0.9.0 to avoid accidental breaking changes. We should implicitly bump to a major version if/when necessary

Can this PR be safely reverted and rolled back?

  • YES 💚

@girarda girarda requested a review from a team as a code owner April 29, 2024 22:51
Copy link

vercel bot commented Apr 29, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
airbyte-docs ⬜️ Ignored (Inspect) Visit Preview Apr 29, 2024 11:49pm

@octavia-squidington-iii octavia-squidington-iii added the CDK Connector Development Kit label Apr 29, 2024
Copy link
Contributor

@erohmensing erohmensing left a comment

Choose a reason for hiding this comment

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

Thanks for this! This is just preventative right? I remember hearing something about there being protocol version dependency clashes with the CDK and something, but there doesn't seem to be a later version 🤔

@@ -24,7 +24,7 @@ keywords = ["airbyte", "connector-development-kit", "cdk"]

[tool.poetry.dependencies]
python = "^3.9"
airbyte-protocol-models = "*"
airbyte-protocol-models = "~0.9"
Copy link
Contributor

Choose a reason for hiding this comment

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

If you want to keep it under 1.0, but are okay with 0.10, 0.11 etc, this should be ^0.9.0

Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I guess we can do >= 0.9.0, < 2.0

Copy link
Contributor

Choose a reason for hiding this comment

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

You mean <1.0? Works!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes... 7 commits for a 1-line change 🤦

@girarda girarda merged commit 50f4add into master Apr 30, 2024
32 checks passed
@girarda girarda deleted the alex/cdk_pin_protocol_version branch April 30, 2024 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CDK Connector Development Kit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants