Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/import.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

strategy:
matrix:
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14', '3.15']
python-version: ['3.11', '3.12', '3.13', '3.14', '3.15']

steps:
- name: Checkout repository
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14', '3.15']
python-version: ['3.11', '3.12', '3.13', '3.14', '3.15']

steps:
- name: Checkout code
Expand Down
2 changes: 1 addition & 1 deletion google/genai/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -9712,7 +9712,7 @@ def _pil_image(self) -> Optional['PIL_Image']:
if not PIL_Image:
raise RuntimeError(
'The PIL module is not available. Please install the Pillow'
' package. `pip install pillow`'
' package. `pip install google-genai[pillow]`'
)
if self.image_bytes is None:
raise ValueError('The image bytes are not set.')
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ version = "2.33.0"
description = "GenAI Python SDK"
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.10"
requires-python = ">=3.11"
authors = [
{ name = "Google LLC", email = "googleapis-packages@google.com" },
]
Expand All @@ -16,7 +16,6 @@ classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
Expand All @@ -41,10 +40,11 @@ dependencies = [
[project.optional-dependencies]
aiohttp = ["aiohttp>=3.10.11, <4.0.0"]
httpx2 = ["httpx2>=2.0.0, <3.0.0"]
pillow = ["pillow>=13.0.0"]
local-tokenizer = [
"sentencepiece>=0.2.0",
"protobuf",
"pillow",
"pillow>=13.0.0",
"torch",
"torchvision",
"transformers",
Expand Down
7 changes: 3 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,12 @@ charset-normalizer==3.4.0
coverage==7.6.9
distro==1.9.0
httpx==0.28.1
httpx2==2.7.0; python_version >= '3.10'
httpx2==2.7.0
google-auth==2.56.0
idna==3.18
iniconfig==2.0.0
packaging==24.2
pillow==11.0.0; python_version < '3.15'
pillow==12.3.0; python_version >= '3.15'
pillow==13.0.0
pluggy==1.5.0
py==1.11.0
pyasn1==0.6.1
Expand All @@ -33,6 +32,6 @@ tenacity==8.2.3
typing_extensions>=4.14.1
urllib3==2.5.0
websockets==16.0
mcp>=1.14.0,<2.0.0; python_version > '3.9'
mcp>=1.14.0,<2.0.0
sentencepiece>=0.2.0
protobuf
Loading