googleapis / googleapis/python-genai
Incorrect typing_extensions version in pyproject.toml for just-released 1.67
- Lingua principale
- Python
- Stelle
- 4k
- Fork
- 1k
- Merge medio
- 2g 11h
- PR unite (30g)
- 40
Descrizione
The lower bound in `pyproject.toml` for the `typing_extensions` version is too low in version 1.67.0 of this library. The bound should be at least `4.13`, but it's `4.11`.
## Environment details
- Programming language: Python
- OS: Linux
- Language runtime version: 3.12
- Package version: 1.67
#### Steps to reproduce
1. Do `pip install "google-genai==1.67.0" "typing-extensions==4.12.2"`
2. Run `from google import genai`
This produces the following stack trace:
```
~/‹›/foobar> .venv/bin/python
>>> from google import genai
Traceback (most recent call last):
File "", line 1, in
from google import genai
File "/home/sam-watson/code/foobar/.venv/lib/python3.13/site-packages/google/genai/__init__.py", line 18, in
from . import interactions
File "/home/sam-watson/code/foobar/.venv/lib/python3.13/site-packages/google/genai/interactions.py", line 17, in
from ._interactions.types import *
File "/home/sam-watson/code/foobar/.venv/lib/python3.13/site-packages/google/genai/_interactions/__init__.py", line 20, in
from . import types
File "/home/sam-watson/code/foobar/.venv/lib/python3.13/site-packages/google/genai/_interactions/types/__init__.py", line 74, in
from .interaction_create_params import InteractionCreateParams as InteractionCreateParams
File "/home/sam-watson/code/foobar/.venv/lib/python3.13/site-packages/google/genai/_interactions/types/interaction_create_params.py", line 34, in
from .dynamic_agent_config_param import DynamicAgentConfigParam
File "/home/sam-watson/code/foobar/.venv/lib/python3.13/site-packages/google/genai/_interactions/types/dynamic_agent_config_param.py", line 25, in
class DynamicAgentConfigParam(TypedDict, total=False, extra_items=object): # type: ignore[call-arg]
...<2 lines>...
type: Required[Literal["dynamic"]]
TypeError: _TypedDictMeta.__new__() got an unexpected keyword argument 'extra_items'
```
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.