-
Notifications
You must be signed in to change notification settings - Fork 16.3k
Use __version__ in providers not version
#31393
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
Use __version__ in providers not version
#31393
Conversation
|
cc @eladkal as RM for providers. |
eladkal
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 Ash!
I will cancel the vote and start RC2 later today
2bcd14d to
884717b
Compare
|
Rebased as there was a CI failure on Wait for CI image or something |
|
This failure is a bug - look closely - openlineage actually imports the renamed I would have add a fixup but I can't |
|
|
Yup on it |
This is for consistency with what we do in `airflow` and is a common pattern in Python modules.
|
Pushed a fix 👍 |
72748e1 to
1144b04
Compare
Yes. there was a few times I was tempted to make fixup to your PRs and could not :) |

This is for consistency with what we do in
airflowand is a commonpattern in Python modules.
As discussed breifly in #30994 (comment)
As per PEP 396:
(The namespace package is
airflow.providersin our case, so all good.)TIL there is a pep for this, even if it's now rejected the above bits are still a useful indicator of what is common
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named
{pr_number}.significant.rstor{issue_number}.significant.rst, in newsfragments.