You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/08/12 22:14:53 UTC

[GitHub] [airflow] kaxil opened a new pull request #10307: Restrict google-cloud-dataproc to <2.0.0

kaxil opened a new pull request #10307:
URL: https://github.com/apache/airflow/pull/10307


   <!--
   Thank you for contributing! Please make sure that your code changes
   are covered with tests. And in case of new features or big changes
   remember to adjust the documentation.
   
   Feel free to ping committers for the review!
   
   In case of existing issue, reference it using one of the following:
   
   closes: #ISSUE
   related: #ISSUE
   
   How to write a good git commit message:
   http://chris.beams.io/posts/git-commit/
   -->
   
   Master has been failing with the following error:
   
   ```
   Traceback (most recent call last):
     File "/opt/airflow/backport_packages/import_all_provider_classes.py", line 61, in import_all_provider_classes
       _module = importlib.import_module(module_name)
     File "/usr/local/lib/python3.6/importlib/__init__.py", line 126, in import_module
       return _bootstrap._gcd_import(name[level:], package, level)
     File "<frozen importlib._bootstrap>", line 994, in _gcd_import
     File "<frozen importlib._bootstrap>", line 971, in _find_and_load
     File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
     File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
     File "<frozen importlib._bootstrap_external>", line 678, in exec_module
     File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
     File "/opt/airflow/airflow/providers/google/cloud/example_dags/example_dataproc.py", line 26, in <module>
       from airflow.providers.google.cloud.operators.dataproc import (
     File "/opt/airflow/airflow/providers/google/cloud/operators/dataproc.py", line 36, in <module>
       from google.cloud.dataproc_v1beta2.types import (  # pylint: disable=no-name-in-module
   ImportError: cannot import name 'Duration'
   ```
   
   This is because `google-cloud-dataproc` released 2.0.0 yesterday (Aug 11)
   
   ---
   **^ Add meaningful description above**
   
   Read the **[Pull Request Guidelines](https://github.com/apache/airflow/blob/master/CONTRIBUTING.rst#pull-request-guidelines)** for more information.
   In case of fundamental code change, Airflow Improvement Proposal ([AIP](https://cwiki.apache.org/confluence/display/AIRFLOW/Airflow+Improvements+Proposals)) is needed.
   In case of a new dependency, check compliance with the [ASF 3rd Party License Policy](https://www.apache.org/legal/resolved.html#category-x).
   In case of backwards incompatible changes please leave a note in [UPDATING.md](https://github.com/apache/airflow/blob/master/UPDATING.md).
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] feluelle merged pull request #10307: Restrict google-cloud-dataproc to <2.0.0

Posted by GitBox <gi...@apache.org>.
feluelle merged pull request #10307:
URL: https://github.com/apache/airflow/pull/10307


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] mik-laj commented on pull request #10307: Restrict google-cloud-dataproc to <2.0.0

Posted by GitBox <gi...@apache.org>.
mik-laj commented on pull request #10307:
URL: https://github.com/apache/airflow/pull/10307#issuecomment-673314259


   Yes. Google in its repositories also pins all libraries


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org