googleapis / googleapis/google-cloud-python

mypy 2.0.0 not supported in all packages

未关闭
#16,984 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
priority: p3 type: cleanup
主要语言
Python
星标
5.4k
派生
1.8k
平均合并
3 天 4 小时
30 天内合并 PR
122

描述

https://pypi.org/project/mypy/2.0.0/ was released yesterday on May 6. We see the following failure in `google-cloud-bigtable`

```
nox > Running session mypy
nox > Creating virtual environment (virtualenv) using python3.14 in .nox/mypy
nox > python -m pip install -e .
nox > python -m pip install mypy types-setuptools types-protobuf types-mock types-requests
nox > python -m pip install google-cloud-testutils
nox > mypy -p google.cloud.bigtable.data
google/cloud/bigtable/data/execute_query/_byte_cursor.py:109: error: Argument 1 to "append" of "list" has incompatible type "memoryview[int]"; expected "bytes" [arg-type]
```

This bug tracks updating `google-cloud-bigtable` to use mypy 2.0.0

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。