|
31 | 31 | extras_by_python = {
|
32 | 32 | "3.8": ["tests", "alembic", "bqstorage"],
|
33 | 33 | "3.11": ["tests", "geography", "bqstorage"],
|
| 34 | + "3.12": ["tests", "geography", "bqstorage"], |
34 | 35 | }
|
35 | 36 | templated_files = common.py_library(
|
36 |
| - unit_test_python_versions=["3.8", "3.9", "3.10", "3.11"], |
37 |
| - system_test_python_versions=["3.8", "3.11"], |
| 37 | + unit_test_python_versions=["3.8", "3.9", "3.10", "3.11", "3.12"], |
| 38 | + system_test_python_versions=["3.8", "3.11", "3.12"], |
38 | 39 | cov_level=100,
|
39 | 40 | unit_test_extras=extras,
|
40 | 41 | unit_test_extras_by_python=extras_by_python,
|
@@ -126,7 +127,7 @@ def place_before(path, text, *before_text, escape=None):
|
126 | 127 |
|
127 | 128 |
|
128 | 129 | install_logic = '''
|
129 |
| - if install_extras and session.python == "3.11": |
| 130 | + if install_extras and session.python in ["3.11", "3.12"]: |
130 | 131 | install_target = ".[geography,alembic,tests,bqstorage]"
|
131 | 132 | elif install_extras:
|
132 | 133 | install_target = ".[all]"
|
@@ -173,7 +174,7 @@ def compliance(session):
|
173 | 174 | )
|
174 | 175 | if session.python == "3.8":
|
175 | 176 | extras = "[tests,alembic]"
|
176 |
| - elif session.python == "3.11": |
| 177 | + elif session.python in ["3.11", "3.12"]: |
177 | 178 | extras = "[tests,geography]"
|
178 | 179 | else:
|
179 | 180 | extras = "[tests]"
|
|
0 commit comments