You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Gordon Ball (JIRA)" <ji...@apache.org> on 2019/06/04 10:40:00 UTC

[jira] [Created] (AIRFLOW-4731) GCS hook broken by storage client 1.16

Gordon Ball created AIRFLOW-4731:
------------------------------------

             Summary: GCS hook broken by storage client 1.16
                 Key: AIRFLOW-4731
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-4731
             Project: Apache Airflow
          Issue Type: Bug
          Components: gcp
    Affects Versions: 1.10.3
            Reporter: Gordon Ball


Upgrading google-cloud-storage to 1.16 (allowed by the current spec in setup.py, ~= 1.14) causes breakage.

Upstream change [https://github.com/googleapis/google-cloud-python/pull/7856|https://github.com/googleapis/google-cloud-python/pull/7856/files] altered the argument name for `get_bucket(...)`, so existing calls which use `get_bucket(bucket_name=...)` now cause an error. Comments on that pull acknowledge that this shouldn't have been done in a minor version.

The simple fix would be to pin `google-cloud-storage == 1.15`, but this is probably fairly easy to fix call sites for future compatibility.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)