[
https://issues.apache.org/jira/browse/AIRFLOW-4731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16859904#comment-16859904
]
ASF GitHub Bot commented on AIRFLOW-4731:
-----------------------------------------
ashb commented on pull request #5368: [AIRFLOW-4731] Broken get_bucket kwarg in
GCS hook
URL: https://github.com/apache/airflow/pull/5368
----------------------------------------------------------------
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:
[email protected]
> 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
> Priority: Major
> Fix For: 1.10.4
>
>
> 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)