Skip to content

Commit 5b56e22

Browse files
shawn-yang-googlecopybara-github
authored andcommitted
chore: Support Python 3.12 for reasoning engine.
PiperOrigin-RevId: 713408013
1 parent aabb579 commit 5b56e22

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

vertexai/reasoning_engines/_reasoning_engines.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848

4949

5050
_LOGGER = base.Logger(__name__)
51-
_SUPPORTED_PYTHON_VERSIONS = ("3.8", "3.9", "3.10", "3.11")
51+
_SUPPORTED_PYTHON_VERSIONS = ("3.8", "3.9", "3.10", "3.11", "3.12")
5252
_DEFAULT_GCS_DIR_NAME = "reasoning_engine"
5353
_BLOB_FILENAME = "reasoning_engine.pkl"
5454
_REQUIREMENTS_FILE = "requirements.txt"
@@ -224,8 +224,9 @@ def create(
224224
use for staging the artifacts needed.
225225
sys_version (str):
226226
Optional. The Python system version used. Currently supports any
227-
of "3.8", "3.9", "3.10", "3.11". If not specified, it defaults
228-
to the "{major}.{minor}" attributes of sys.version_info.
227+
of "3.8", "3.9", "3.10", "3.11", "3.12". If not specified,
228+
it defaults to the "{major}.{minor}" attributes of
229+
sys.version_info.
229230
extra_packages (Sequence[str]):
230231
Optional. The set of extra user-provided packages (if any).
231232

0 commit comments

Comments
 (0)