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 Mar 6, 2026. It is now read-only.
An issue that appears to be in this library popped up while running a test in a related bigquery library.
.nox/prerelease/lib/python3.8/site-packages/google/cloud/bigquery/table.py:46: in <module>
_read_wkt = shapely.geos.WKTReader(shapely.geos.lgeos).read
E AttributeError: module 'shapely.geos' has no attribute 'WKTReader'
Based on a quick review, it appears that shapely.geos no longer has a WKTReader class and it appears that the WKTReader class has been removed from the library entirely and they might be relying on a function elsewhere in the codebase. If I had to wager a guess, I might look at the from_wkt method in io.py.
Environment details
N/A
Steps to reproduce
N/A
Code example
N/A
Stack trace
nox > py.test --quiet --junitxml=prerelease_unit_3.8_sponge_log.xml tests/unit
ImportError while loading conftest '/tmpfs/src/github/python-bigquery-sqlalchemy/tests/unit/conftest.py'.
tests/unit/conftest.py:28: in <module>
from . import fauxdbi
tests/unit/fauxdbi.py:29: in <module>
import google.cloud.bigquery.schema
.nox/prerelease/lib/python3.8/site-packages/google/cloud/bigquery/__init__.py:35: in <module>
from google.cloud.bigquery.client import Client
.nox/prerelease/lib/python3.8/site-packages/google/cloud/bigquery/client.py:63: in <module>
from google.cloud.bigquery import _job_helpers
.nox/prerelease/lib/python3.8/site-packages/google/cloud/bigquery/_job_helpers.py:24: in <module>
from google.cloud.bigquery import job
.nox/prerelease/lib/python3.8/site-packages/google/cloud/bigquery/job/__init__.py:27: in <module>
from google.cloud.bigquery.job.copy_ import CopyJob
.nox/prerelease/lib/python3.8/site-packages/google/cloud/bigquery/job/copy_.py:21: in <module>
from google.cloud.bigquery.table import TableReference
.nox/prerelease/lib/python3.8/site-packages/google/cloud/bigquery/table.py:46: in <module>
_read_wkt = shapely.geos.WKTReader(shapely.geos.lgeos).read
E AttributeError: module 'shapely.geos' has no attribute 'WKTReader'
An issue that appears to be in this library popped up while running a test in a related bigquery library.
Based on a quick review, it appears that
shapely.geosno longer has aWKTReaderclass and it appears that theWKTReaderclass has been removed from the library entirely and they might be relying on a function elsewhere in the codebase. If I had to wager a guess, I might look at the from_wkt method in io.py.Environment details
N/A
Steps to reproduce
N/A
Code example
N/A
Stack trace