Skip to content

Commit a0d5e39

Browse files
speedstorm1copybara-github
authored andcommitted
feat: add support for python 3.14
PiperOrigin-RevId: 800613714
1 parent e032208 commit a0d5e39

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

.github/workflows/import.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
strategy:
1515
matrix:
16-
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
16+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14.0-rc.2']
1717

1818
steps:
1919
- name: Checkout repository

.github/workflows/mypy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
17+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14.0-rc.2']
1818

1919
steps:
2020
- name: Checkout code

google/genai/mypy.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[mypy]
22
exclude = (tests/|_test_api_client\.py)
33
plugins = pydantic.mypy
4-
; we are ignoring 'unused-ignore' because we run mypy on Python 3.9 - 3.13 and
4+
; we are ignoring 'unused-ignore' because we run mypy on Python 3.9 - 3.14 and
55
; some errors in _automatic_function_calling_util.py only apply in 3.10+
66
; 'import-not-found' and 'import-untyped' are environment specific
77
disable_error_code = import-not-found, import-untyped, unused-ignore

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.11",
2323
"Programming Language :: Python :: 3.12",
2424
"Programming Language :: Python :: 3.13",
25+
"Programming Language :: Python :: 3.14",
2526
"Topic :: Internet",
2627
"Topic :: Software Development :: Libraries :: Python Modules",
2728
]
@@ -50,4 +51,4 @@ packages = [
5051
include-package-data = true
5152

5253
[tools.setuptools.package_data]
53-
"google.genai" = ["py.typed"]
54+
"google.genai" = ["py.typed"]

0 commit comments

Comments
 (0)