activeloopai / activeloopai/deeplake

[BUG] google-auth is too old to use service account impersonation

未關閉
#2,707 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
bug
主要語言
C++
星號
9.2k
分支
722
PR 合併指標
30 天內沒有已合併 PR

描述

### Severity

P2 - Not urgent, nice to have

### Current Behavior

If you try to use impersonated service account, it fails with `DefaultCredentialsError: The file /xxxx/.config/gcloud/application_default_credentials.json does not have a valid type. Type is impersonated_service_account, expected one of ('authorized_user', 'service_account', 'external_account').`

### Steps to Reproduce

(i'll update the steps to reproduce)

### Expected/Desired Behavior

able to authenticate with impersonated_service_account, which enabled in https://github.com/googleapis/google-auth-library-python/pull/956 (released in [v2.5.0](https://github.com/googleapis/google-auth-library-python/releases/tag/v2.5.0)) but the version is upper bounded in https://github.com/activeloopai/deeplake/blob/1f21aa019cb4e42e15a131189fc8c6e221b75688/deeplake/requirements/common.txt#L6

### Python Version

3.11

### OS

OSX 12.6

### IDE

_No response_

### Packages

google-auth

### Additional Context

This is not a bug but just an issue of version dependency. If there's no specific reason, i'd like to release the upper bound of the `google-auth` version.

### Possible Solution

_No response_

### Are you willing to submit a PR?

- [X] I'm willing to submit a PR (Thank you!)

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。