-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
There was a problem hiding this 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 🤔
airbyte-cdk/python/pyproject.toml
Outdated
@@ -24,7 +24,7 @@ keywords = ["airbyte", "connector-development-kit", "cdk"] | |||
|
|||
[tool.poetry.dependencies] | |||
python = "^3.9" | |||
airbyte-protocol-models = "*" | |||
airbyte-protocol-models = "~0.9" |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
... or that might be wrong specifically for 0 versions, now i'm confused
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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!
There was a problem hiding this comment.
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 🤦
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 necessaryCan this PR be safely reverted and rolled back?