googleapis / googleapis/google-cloud-python

mypy 2.0.0 not supported in all packages

Aperta
#16,984 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
priority: p3 type: cleanup
Lingua principale
Python
Stelle
5.4k
Fork
1.8k
Merge medio
3g 4h
PR unite (30g)
122

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.