Skip to content

Commit

Permalink
Add python312 runtime to python_google_cloud_function (pantsbuild#20786)
Browse files Browse the repository at this point in the history
Changes

- Add python312 runtime to python_google_cloud_function target
  • Loading branch information
ravi2024sk authored Apr 14, 2024
1 parent 8f44568 commit eb3a6cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ class PythonGoogleCloudFunctionRuntimes(Enum):
PYTHON_39 = "python39"
PYTHON_310 = "python310"
PYTHON_311 = "python311"
PYTHON_312 = "python312"


class PythonGoogleCloudFunctionRuntime(PythonFaaSRuntimeField):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ def rule_runner() -> RuleRunner:
["python39", 3, 9],
["python310", 3, 10],
["python311", 3, 11],
["python312", 3, 12],
),
)
def test_to_interpreter_version(runtime: str, expected_major: int, expected_minor: int) -> None:
Expand Down

0 comments on commit eb3a6cf

Please sign in to comment.