googleapis / googleapis/google-cloud-python

mypy 2.0.0 not supported in all packages

Đang mở
#16,984 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
priority: p3 type: cleanup
Ngôn ngữ chính
Python
Star
5.4k
Fork
1.8k
Merge trung bình
3 ngày 4 giờ
Pull request đã merge (30 ngày)
122

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.