-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Pin Avro dependency in Python SDK to be consistent with Avro versioning #10851
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
Conversation
4955d66 to
743400a
Compare
sdks/python/setup.py
Outdated
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.
Can you please add a comment that Avro does not follow semantic versioning, so the second number is the major version, and changes in major versions are not backwards-compatible?
Also I would suggest to target 1.8 range in this change, and make 1.8 -> 1.9 as a separate change.
I know that we attempted to switch to 1.9 in Dataflow in the past and it did not work well: https://issues.apache.org/jira/browse/AVRO-2429 (cc: @chamikaramj).
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.
done
743400a to
7fcc92e
Compare
|
Comment added + moved lower bound back to 1.8.1. PTAL @tvalentyn |
aaltay
left a comment
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.
Thank you @iemejia
|
Run Python PreCommit |
|
Run Portable_Python PreCommit |
|
Run Python PreCommit |
|
Thanks for the review @aaltay and @tvalentyn |
Avro does not follow semver so we should not be automatically upgrade on minor versions.
R: @tvalentyn
CC: @aaltay