Skip to content
This repository was archived by the owner on Mar 16, 2026. It is now read-only.

Commit 762a46d

Browse files
committed
adds back in code that was removed
1 parent 8af7c47 commit 762a46d

File tree

3 files changed

+20
-4
lines changed

3 files changed

+20
-4
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def readme():
6262
# https://github.com/grpc/grpc/pull/15254
6363
"grpcio >= 1.47.0, < 2.0.0",
6464
"grpcio >= 1.49.1, < 2.0.0; python_version>='3.11'",
65-
"pyarrow >= 3.0.0",
65+
"pyarrow >= 5.0.0",
6666
],
6767
}
6868

sqlalchemy_bigquery/__init__.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,17 @@
4848
from . import _versions_helpers
4949

5050
sys_major, sys_minor, sys_micro = _versions_helpers.extract_runtime_version()
51+
52+
# Now that support for Python 3.7 and 3.8 has been removed, we don't expect the
53+
# following check to succeed. The warning is only included for robustness.
5154
if sys_major == 3 and sys_minor in (7, 8):
5255
warnings.warn(
53-
"The python-bigquery library will stop supporting Python 3.7 "
54-
"and Python 3.8 in a future major release expected in Q4 2024. "
56+
"The python-bigquery-sqlalchemy library no longer supports Python 3.7 "
57+
"and Python 3.8. "
5558
f"Your Python version is {sys_major}.{sys_minor}.{sys_micro}. We "
5659
"recommend that you update soon to ensure ongoing support. For "
5760
"more details, see: [Google Cloud Client Libraries Supported Python Versions policy](https://cloud.google.com/python/docs/supported-python-versions)",
58-
PendingDeprecationWarning,
61+
FutureWarning,
5962
)
6063

6164

testing/constraints-3.9.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# This constraints file is used to check that lower bounds
2+
# are correct in setup.py
3+
# List *all* library dependencies and extras in this file.
4+
# Pin the version to the lower bound.
5+
#
6+
# e.g., if setup.py has "foo >= 1.14.0, < 2.0.0dev",
7+
sqlalchemy==1.4.16
8+
google-auth==1.25.0
9+
google-cloud-bigquery==3.3.6
10+
google-cloud-bigquery-storage==2.0.0
11+
google-api-core==1.31.5
12+
grpcio==1.47.0
13+
numpy==1.26.4

0 commit comments

Comments
 (0)