-
Notifications
You must be signed in to change notification settings - Fork 99
Closed
Labels
api: spannerIssues related to the googleapis/python-spanner API.Issues related to the googleapis/python-spanner API.
Description
The Kokoro Benchmarking Tests presubmit check has been failing since last week. See build log.
The stack trace is
+ /home/kbuilder/.pyenv/versions/3.9.0/bin/python -m benchmark.benchwrapper.main --port 8081
Traceback (most recent call last):
File "/home/kbuilder/.pyenv/versions/3.9.0/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/home/kbuilder/.pyenv/versions/3.9.0/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/tmpfs/src/github/python-spanner/benchmark/benchwrapper/main.py", line 37, in <module>
from google.cloud import spanner
File "/tmpfs/src/github/python-spanner/google/cloud/spanner.py", line 17, in <module>
from google.cloud.spanner_v1 import __version__
File "/tmpfs/src/github/python-spanner/google/cloud/spanner_v1/__init__.py", line 23, in <module>
from .services.spanner import SpannerClient
File "/tmpfs/src/github/python-spanner/google/cloud/spanner_v1/services/spanner/__init__.py", line 16, in <module>
from .client import SpannerClient
File "/tmpfs/src/github/python-spanner/google/cloud/spanner_v1/services/spanner/client.py", line 37, in <module>
from google.api_core import gapic_v1
File "/home/kbuilder/.local/lib/python3.9/site-packages/google/api_core/gapic_v1/__init__.py", line 16, in <module>
from google.api_core.gapic_v1 import config
File "/home/kbuilder/.local/lib/python3.9/site-packages/google/api_core/gapic_v1/config.py", line 26, in <module>
from google.api_core import retry
File "/home/kbuilder/.local/lib/python3.9/site-packages/google/api_core/retry.py", line 67, in <module>
import requests.exceptions
File "/home/kbuilder/.local/lib/python3.9/site-packages/requests/__init__.py", line 43, in <module>
import urllib3
File "/home/kbuilder/.local/lib/python3.9/site-packages/urllib3/__init__.py", line 41, in <module>
raise ImportError(
ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'OpenSSL 1.0.2g 1 Mar 2016'. See: https://github.com/urllib3/urllib3/issues/2168
I believe the failure started when google-auth-library-python released version 2.23.1 which removes the constraint urllib3<2.0 via googleapis/google-auth-library-python#1389.
Metadata
Metadata
Assignees
Labels
api: spannerIssues related to the googleapis/python-spanner API.Issues related to the googleapis/python-spanner API.