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
apache-airflow-providers-google incompatible with latest google-cloud-dataproc (2.6.0) #18485
Comments
assigned the issue to you |
Thanks - Would it be preferable to simply pin the version to |
How long do you estimate the hook/operator fix would be? If that needs a while, it may be a good idea to merge the quick fix first and then work on upgrading the hooks in a subsequent PR. |
Yeah agreed, its hard to estimate how long operator fix will take but it will be very easy to pin the version to a non-breaking one in the meantime. I'll open a PR shortly and we can open a separate issue to track the deprecation of the |
I created a issue in Google repository: googleapis/python-dataproc#271 |
…a2`` client (#18486) Re: #18485 The removal of the v1beta2 client from the google-cloud-dataproc library in release 2.6.0 makes dataproc operators unusable. We can get around this temporarily by pinning the installation of the library to the previous version. In a follow-up PR I can update all of the dataproc integrations to use the stable dataproc_v1 client.
If you install this provider with constraints file, this will work for now. |
e.g :
as we have the following https://github.com/apache/airflow/blob/constraints-2.1.4/constraints-3.6.txt#L251 |
Latest release has been YANKED, so it is not problem anymore. |
@SamWheating @kaxil @mik-laj @uranusjr FYI migration to v1 and upgrade to 3.0.0 already sent to review. |
Apache Airflow version
2.1.4 (latest released)
Operating System
MacOS
Versions of Apache Airflow Providers
apache-airflow-providers-google==5.1.0
Deployment
Other
Deployment details
No response
What happened
Installing the google provider and importing the
DataprocSubmitJobOperator
fails.I believe this is due to the removal of the Dataproc V1Beta2 Client in googleapis/python-dataproc#253.
How to reproduce
From a fresh virtualenv:
Anything else
Its easy enough to pin the google-cloud-dataproc requirement to an older version, but should we also refactor the dataproc operators to stop using the deprecated client?
Either way I can help out with a PR.
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: