Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Jun 8, 2026. It is now read-only.
This repository was archived by the owner on Jun 8, 2026. It is now read-only.

Kokoro Benchmarking Tests presubmit fails with error ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+ #1018

Copy link
Copy link

Description

@parthea
Issue body actions

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.

Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

api: spannerIssues related to the googleapis/python-spanner API.Issues related to the googleapis/python-spanner API.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.