Skip to content

Commit dda4b8c

Browse files
authored
Merge branch 'main' into feature-process-time-partition-update
2 parents 3b7239a + 55336f3 commit dda4b8c

File tree

9 files changed

+59
-53
lines changed

9 files changed

+59
-53
lines changed

.github/sync-repo-settings.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ branchProtectionRules:
1616
- 'Samples - Python 3.10'
1717
- 'Samples - Python 3.11'
1818
- 'Samples - Python 3.12'
19+
- 'Samples - Python 3.13'
20+
1921
permissionRules:
2022
- team: actools-python
2123
permission: admin

CONTRIBUTING.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ In order to add a feature:
2222
documentation.
2323

2424
- The feature must work fully on the following CPython versions:
25-
3.8, 3.9, 3.10, 3.11 and 3.12 on both UNIX and Windows.
25+
3.8, 3.9, 3.10, 3.11, 3.12, and 3.13 on both UNIX and Windows.
2626

2727
- The feature must not add unnecessary dependencies (where
2828
"unnecessary" is of course subjective, but new dependencies should
@@ -72,7 +72,7 @@ We use `nox <https://nox.readthedocs.io/en/latest/>`__ to instrument our tests.
7272

7373
- To run a single unit test::
7474

75-
$ nox -s unit-3.12 -- -k <name of test>
75+
$ nox -s unit-3.13 -- -k <name of test>
7676

7777

7878
.. note::
@@ -143,12 +143,12 @@ Running System Tests
143143
$ nox -s system
144144

145145
# Run a single system test
146-
$ nox -s system-3.12 -- -k <name of test>
146+
$ nox -s system-3.13 -- -k <name of test>
147147

148148

149149
.. note::
150150

151-
System tests are only configured to run under Python 3.8, 3.11 and 3.12.
151+
System tests are only configured to run under Python 3.8, 3.12, and 3.13.
152152
For expediency, we do not run them in older versions of Python 3.
153153

154154
This alone will not run the tests. You'll need to change some local
@@ -226,12 +226,14 @@ We support:
226226
- `Python 3.10`_
227227
- `Python 3.11`_
228228
- `Python 3.12`_
229+
- `Python 3.13`_
229230

230231
.. _Python 3.8: https://docs.python.org/3.8/
231232
.. _Python 3.9: https://docs.python.org/3.9/
232233
.. _Python 3.10: https://docs.python.org/3.10/
233234
.. _Python 3.11: https://docs.python.org/3.11/
234235
.. _Python 3.12: https://docs.python.org/3.12/
236+
.. _Python 3.13: https://docs.python.org/3.13/
235237

236238

237239
Supported versions can be found in our ``noxfile.py`` `config`_.

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ dependencies.
5151

5252
Supported Python Versions
5353
^^^^^^^^^^^^^^^^^^^^^^^^^
54-
Python >= 3.8
54+
Python >= 3.8, <3.14
5555

5656
Unsupported Python Versions
5757
^^^^^^^^^^^^^^^^^^^^^^^^^^^

noxfile.py

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141

4242
DEFAULT_PYTHON_VERSION = "3.8"
4343

44-
UNIT_TEST_PYTHON_VERSIONS: List[str] = ["3.8", "3.9", "3.10", "3.11", "3.12"]
44+
UNIT_TEST_PYTHON_VERSIONS: List[str] = ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
4545
UNIT_TEST_STANDARD_DEPENDENCIES = [
4646
"mock",
4747
"asyncmock",
@@ -71,9 +71,14 @@
7171
"geography",
7272
"bqstorage",
7373
],
74+
"3.13": [
75+
"tests",
76+
"geography",
77+
"bqstorage",
78+
],
7479
}
7580

76-
SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.8", "3.11", "3.12"]
81+
SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.8", "3.12", "3.13"]
7782
SYSTEM_TEST_STANDARD_DEPENDENCIES: List[str] = [
7883
"mock",
7984
"pytest",
@@ -91,12 +96,12 @@
9196
"alembic",
9297
"bqstorage",
9398
],
94-
"3.11": [
99+
"3.12": [
95100
"tests",
96101
"geography",
97102
"bqstorage",
98103
],
99-
"3.12": [
104+
"3.13": [
100105
"tests",
101106
"geography",
102107
"bqstorage",
@@ -219,7 +224,7 @@ def unit(session, protobuf_implementation, install_extras=True):
219224
)
220225
install_unittest_dependencies(session, "-c", constraints_path)
221226

222-
if install_extras and session.python in ["3.11", "3.12"]:
227+
if install_extras and session.python in ["3.11", "3.12", "3.13"]:
223228
install_target = ".[geography,alembic,tests,bqstorage]"
224229
elif install_extras:
225230
install_target = ".[all]"
@@ -395,7 +400,7 @@ def compliance(session):
395400
)
396401
if session.python == "3.8":
397402
extras = "[tests,alembic]"
398-
elif session.python in ["3.11", "3.12"]:
403+
elif session.python in ["3.12", "3.13"]:
399404
extras = "[tests,geography]"
400405
else:
401406
extras = "[tests]"
@@ -522,7 +527,7 @@ def docfx(session):
522527
)
523528

524529

525-
@nox.session(python="3.12")
530+
@nox.session(python="3.13")
526531
@nox.parametrize(
527532
"protobuf_implementation",
528533
["python", "upb", "cpp"],

owlbot.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,11 @@
3333
"3.8": ["tests", "alembic", "bqstorage"],
3434
"3.11": ["tests", "geography", "bqstorage"],
3535
"3.12": ["tests", "geography", "bqstorage"],
36+
"3.13": ["tests", "geography", "bqstorage"],
3637
}
3738
templated_files = common.py_library(
38-
unit_test_python_versions=["3.8", "3.9", "3.10", "3.11", "3.12"],
39-
system_test_python_versions=["3.8", "3.11", "3.12"],
39+
unit_test_python_versions=["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"],
40+
system_test_python_versions=["3.8", "3.12", "3.13"],
4041
cov_level=100,
4142
unit_test_extras=extras,
4243
unit_test_extras_by_python=extras_by_python,
Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
11
attrs==25.3.0
2-
click==8.1.8
3-
google-auth==2.38.0
4-
google-cloud-testutils==1.6.0
2+
click===8.1.8; python_version <= '3.9'
3+
click==8.2.1; python_version >= '3.10'
4+
google-auth==2.40.3
5+
google-cloud-testutils==1.6.4
56
iniconfig==2.1.0
6-
packaging==24.2
7-
pluggy==1.5.0
7+
packaging==25.0
8+
pluggy===1.5.0; python_version == '3.8'
9+
pluggy==1.6.0; python_version >= '3.9'
810
py==1.11.0
911
pyasn1==0.6.1
1012
pyasn1-modules==0.4.2
1113
pyparsing===3.1.4; python_version == '3.8'
1214
pyparsing==3.2.3; python_version >= '3.9'
1315
pytest===6.2.5
14-
rsa==4.9
16+
rsa==4.9.1
1517
six==1.17.0
1618
toml==0.10.2
17-
typing-extensions==4.13.0
19+
typing-extensions===4.13.0; python_version == '3.8'
20+
typing-extensions==4.14.0; python_version >= '3.9'

samples/snippets/requirements.txt

Lines changed: 22 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,47 @@
11
alembic===1.14.0; python_version == '3.8'
2-
alembic==1.15.2; python_version >= '3.9'
3-
certifi==2025.1.31
4-
charset-normalizer==3.4.1
2+
alembic==1.16.1; python_version >= '3.9'
3+
certifi==2025.4.26
4+
charset-normalizer==3.4.2
55
geoalchemy2==0.17.1
6-
google-api-core[grpc]==2.24.2
7-
google-auth==2.38.0
6+
google-api-core[grpc]==2.25.0
7+
google-auth==2.40.3
88
google-cloud-bigquery===3.30.0; python_version == '3.8'
9-
google-cloud-bigquery==3.31.0; python_version >= '3.9'
9+
google-cloud-bigquery==3.34.0; python_version >= '3.9'
1010
google-cloud-core==2.4.3
1111
google-crc32c===1.5.0; python_version == '3.8'
1212
google-crc32c==1.7.1; python_version >= '3.9'
1313
google-resumable-media==2.7.2
14-
googleapis-common-protos==1.69.2
15-
greenlet==3.1.1
14+
googleapis-common-protos==1.70.0
15+
greenlet===3.1.1; python_version == '3.8'
16+
greenlet==3.2.3; python_version >= '3.9'
1617
grpcio===1.68.0; python_version == '3.8'
17-
grpcio==1.71.0; python_version >= '3.9'
18+
grpcio==1.73.0; python_version >= '3.9'
1819
grpcio-status===1.68.0; python_version == '3.8'
19-
grpcio-status==1.71.0; python_version >= '3.9'
20+
grpcio-status==1.73.0; python_version >= '3.9'
2021
idna==3.10
2122
importlib-resources===6.4.5; python_version == '3.8'
2223
importlib-resources==6.5.2; python_version >= '3.9'
2324
mako===1.3.5; python_version == '3.8'
24-
mako==1.3.9; python_version >= '3.9'
25+
mako==1.3.10; python_version >= '3.9'
2526
markupsafe===2.1.5; python_version == '3.8'
2627
markupsafe==3.0.2; python_version >= '3.9'
27-
packaging==24.2
28+
packaging==25.0
2829
proto-plus==1.26.1
29-
protobuf===5.28.3; python_version >= '3.8'
30+
protobuf===5.28.3; python_version == '3.8'
31+
protobuf==6.31.1; python_version >= '3.9'
3032
pyasn1==0.6.1
3133
pyasn1-modules==0.4.2
3234
pyparsing===3.1.4; python_version == '3.8'
3335
pyparsing==3.2.3; python_version >= '3.9'
3436
python-dateutil==2.9.0.post0
3537
pytz==2025.2
36-
requests==2.32.3
37-
rsa==4.9
38-
shapely==2.0.7
38+
requests==2.32.4
39+
rsa==4.9.1
40+
shapely===2.0.7; python_version <= '3.9'
41+
shapely==2.1.1; python_version >= '3.10'
3942
six==1.17.0
4043
sqlalchemy===1.4.27
41-
typing-extensions==4.13.0
44+
typing-extensions===4.13.0; python_version == '3.8'
45+
typing-extensions==4.14.0; python_version >= '3.9'
4246
urllib3===2.2.3; python_version == '3.8'
43-
urllib3==2.3.0; python_version >= '3.9'
47+
urllib3==2.4.0; python_version >= '3.9'

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ def readme():
104104
"Programming Language :: Python :: 3.10",
105105
"Programming Language :: Python :: 3.11",
106106
"Programming Language :: Python :: 3.12",
107+
"Programming Language :: Python :: 3.13",
107108
"Operating System :: OS Independent",
108109
"Topic :: Database :: Front-Ends",
109110
],
@@ -119,7 +120,7 @@ def readme():
119120
"sqlalchemy>=1.4.16,<3.0.0",
120121
],
121122
extras_require=extras,
122-
python_requires=">=3.8, <3.13",
123+
python_requires=">=3.8, <3.14",
123124
tests_require=["packaging", "pytz"],
124125
entry_points={
125126
"sqlalchemy.dialects": ["bigquery = sqlalchemy_bigquery:BigQueryDialect"]

testing/constraints-3.13.txt

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1 @@
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-
# e.g., if setup.py has "google-cloud-foo >= 1.14.0, < 2.0.0dev",
6-
# Then this file should have google-cloud-foo==1.14.0
7-
google-api-core == 1.31.5
8-
google-auth==1.25.0
9-
google-cloud-bigquery==3.3.6
10-
google-cloud-bigquery-storage == 2.0.0
11-
grpcio == 1.47.0
12-
pyarrow == 3.0.0
13-
sqlalchemy==1.4.16
1+
numpy>=1.23

0 commit comments

Comments
 (0)