You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It sounds like google-cloud-ndb depends on six but doesn't declare its dependency:
>>> import google.cloud.ndb
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/jelle/py/venvs/py311/lib/python3.11/site-packages/google/cloud/ndb/__init__.py", line 28, in <module>
from google.cloud.ndb.client import Client
File "/Users/jelle/py/venvs/py311/lib/python3.11/site-packages/google/cloud/ndb/client.py", line 33, in <module>
from google.cloud.ndb import context as context_module
File "/Users/jelle/py/venvs/py311/lib/python3.11/site-packages/google/cloud/ndb/context.py", line 23, in <module>
import six
ModuleNotFoundError: No module named 'six'
Presumably something previously installed six into the venv for us, but not any more.
Activity
AlexWaygood commentedon Sep 12, 2023
Lots of ImportErrors for Google-cloud-ndb: https://github.com/python/typeshed/actions/runs/6153134121/job/16696503233
But it doesn't look like they've cut a new release; it's weird: https://pypi.org/project/google-cloud-ndb/
JelleZijlstra commentedon Sep 12, 2023
It sounds like
google-cloud-ndbdepends onsixbut doesn't declare its dependency:Presumably something previously installed six into the venv for us, but not any more.
Always install `six` when stubtesting `types-google-cloud-ndb`
Always install `six` when stubtesting `types-google-cloud-ndb` (#10704)
JelleZijlstra commentedon Sep 12, 2023
Reported googleapis/python-ndb#911