|
37 | 37 | )
|
38 | 38 |
|
39 | 39 | DEFAULT_PYTHON_VERSION = "3.8"
|
40 |
| -SYSTEM_TEST_PYTHON_VERSIONS = ["3.8", "3.11"] |
41 |
| -UNIT_TEST_PYTHON_VERSIONS = ["3.7", "3.8", "3.9", "3.10", "3.11"] |
| 40 | +SYSTEM_TEST_PYTHON_VERSIONS = ["3.8", "3.11", "3.12"] |
| 41 | +UNIT_TEST_PYTHON_VERSIONS = ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] |
42 | 42 | CURRENT_DIRECTORY = pathlib.Path(__file__).parent.absolute()
|
43 | 43 |
|
44 | 44 | # 'docfx' is excluded since it only needs to run in 'docs-presubmit'
|
@@ -81,7 +81,7 @@ def default(session, install_extras=True):
|
81 | 81 | constraints_path,
|
82 | 82 | )
|
83 | 83 |
|
84 |
| - if install_extras and session.python == "3.11": |
| 84 | + if install_extras and session.python in ["3.11", "3.12"]: |
85 | 85 | install_target = ".[bqstorage,ipywidgets,pandas,tqdm,opentelemetry]"
|
86 | 86 | elif install_extras:
|
87 | 87 | install_target = ".[all]"
|
@@ -187,7 +187,7 @@ def system(session):
|
187 | 187 | # Data Catalog needed for the column ACL test with a real Policy Tag.
|
188 | 188 | session.install("google-cloud-datacatalog", "-c", constraints_path)
|
189 | 189 |
|
190 |
| - if session.python == "3.11": |
| 190 | + if session.python in ["3.11", "3.12"]: |
191 | 191 | extras = "[bqstorage,ipywidgets,pandas,tqdm,opentelemetry]"
|
192 | 192 | else:
|
193 | 193 | extras = "[all]"
|
@@ -251,7 +251,7 @@ def snippets(session):
|
251 | 251 | session.install("google-cloud-storage", "-c", constraints_path)
|
252 | 252 | session.install("grpcio", "-c", constraints_path)
|
253 | 253 |
|
254 |
| - if session.python == "3.11": |
| 254 | + if session.python in ["3.11", "3.12"]: |
255 | 255 | extras = "[bqstorage,ipywidgets,pandas,tqdm,opentelemetry]"
|
256 | 256 | else:
|
257 | 257 | extras = "[all]"
|
|
0 commit comments