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
{{ message }}
This repository was archived by the owner on Sep 5, 2023. It is now read-only.
poetry 1.2 -> stopped adding setuptools to it's venvs
python 3.10
linux
google-cloud-secret-manager version: 2.12.6
Steps to reproduce
Install this package in a venv that doesn't have setuptools (which is every project using poetry >=1.2).
Result:
ImportError while importing test module '/[...]/world-domination.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.10/importlib/__init__.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
grand-plans/world-domination.py:10: in <module>
from google.cloud.secretmanager_v1.services.secret_manager_service import (
../../../.cache/pypoetry/virtualenvs/grand-plans--FsOQqwe-py3.10/lib/python3.10/site-packages/google/cloud/secretmanager_v1/__init__.py:17: in <module>
from .services.secret_manager_service import (
../../../.cache/pypoetry/virtualenvs/grand-plans--FsOQqwe-py3.10/lib/python3.10/site-packages/google/cloud/secretmanager_v1/services/secret_manager_service/__init__.py:16: in <module>
from .async_client import SecretManagerServiceAsyncClient
../../../.cache/pypoetry/virtualenvs/grand-plans--FsOQqwe-py3.10/lib/python3.10/site-packages/google/cloud/secretmanager_v1/services/secret_manager_service/async_client.py:27: in <module>
import pkg_resources
E ModuleNotFoundError: No module named 'pkg_resources'
Environment details
google-cloud-secret-managerversion: 2.12.6Steps to reproduce
Install this package in a venv that doesn't have setuptools (which is every project using poetry >=1.2).
Result: