Skip to content

Commit 8da7e4b

Browse files
committed
feat(sqla): Update Python version warning to include 3.9
1 parent 690b25b commit 8da7e4b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • packages/sqlalchemy-bigquery/sqlalchemy_bigquery

packages/sqlalchemy-bigquery/sqlalchemy_bigquery/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@
4747

4848
sys_major, sys_minor, sys_micro = _versions_helpers.extract_runtime_version()
4949

50-
# Now that support for Python 3.7 and 3.8 has been removed, we don't expect the
50+
# Now that support for Python 3.7, 3.8 and 3.9 has been removed, we don't expect the
5151
# following check to succeed. The warning is only included for robustness.
52-
if sys_major == 3 and sys_minor in (7, 8): # pragma: NO COVER
52+
if sys_major == 3 and sys_minor in (7, 8, 9): # pragma: NO COVER
5353
warnings.warn(
54-
"The python-bigquery-sqlalchemy library no longer supports Python 3.7 "
55-
"and Python 3.8. "
54+
"The python-bigquery-sqlalchemy library no longer supports Python 3.7, "
55+
"3.8 and 3.9. "
5656
f"Your Python version is {sys_major}.{sys_minor}.{sys_micro}. We "
5757
"recommend that you update soon to ensure ongoing support. For "
5858
"more details, see: [Google Cloud Client Libraries Supported Python Versions policy](https://cloud.google.com/python/docs/supported-python-versions)",

0 commit comments

Comments
 (0)