Skip to content

Commit c1b6aab

Browse files
committed
chore(bigquery): support python 3.15 in sqlalchemy-bigquery
1 parent a7effa0 commit c1b6aab

2 files changed

Lines changed: 1 addition & 8 deletions

File tree

packages/sqlalchemy-bigquery/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def readme():
121121
"sqlalchemy>=1.4.16,<3.0.0",
122122
],
123123
extras_require=extras,
124-
python_requires=">=3.10, <3.15",
124+
python_requires=">=3.10, <3.16",
125125
tests_require=["packaging", "pytz"],
126126
entry_points={
127127
"sqlalchemy.dialects": ["bigquery = sqlalchemy_bigquery:BigQueryDialect"]

scripts/import_profiler/profiler.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -156,13 +156,6 @@ def _format_stats(title, data, p50, p90, p99, fmt):
156156

157157
def run_master(iterations, target_module, cpu=0, csv_path=None, clear_cache=True, fail_threshold=None, diff_baseline=None, diff_threshold=None):
158158
"""Orchestrates the benchmark."""
159-
# Skip packages/sqlalchemy-bigquery because python_requires restricts to < 3.15
160-
# TODO: Re-enable once Python 3.15 is supported (see issue #17786)
161-
if (target_module == "sqlalchemy.bigquery" or target_module == "sqlalchemy_bigquery") and sys.version_info >= (3, 15):
162-
print(f"\nWARNING: Skipping {target_module} import profiling: python_requires limits support to < 3.15 (see issue #17786)")
163-
print("\nSession import_profiler was successful.")
164-
sys.exit(0)
165-
166159
if iterations < 1:
167160
raise ValueError("Number of iterations must be at least 1.")
168161
times, memories, rss_memories = [], [], []

0 commit comments

Comments
 (0)