googleapis / googleapis/python-genai

Incorrect typing_extensions version in pyproject.toml for just-released 1.67

Abierto
#2,153 1 comentario 3 reacciones 1 asignado Reclamado por @Venkaiahbabuneelam Ver en GitHub
priority: p2 type: bug type: feature request
Lenguaje dominante
Python
Estrellas
4k
Forks
1k
Merge medio
2 d 12 h
PR fusionados (30 d)
41

Descripción

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'
```

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.