Skip to content

Commit 050396d

Browse files
deps: bump the production-dependencies group across 1 directory with 26 updates (#1919)
1 parent f3944f5 commit 050396d

File tree

4 files changed

+400
-435
lines changed

4 files changed

+400
-435
lines changed

griptape/drivers/prompt/huggingface_pipeline_prompt_driver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
if TYPE_CHECKING:
1717
from collections.abc import Iterator
1818

19-
from transformers import TextGenerationPipeline
19+
from transformers.pipelines.text_generation import TextGenerationPipeline
2020

2121
from griptape.drivers.prompt.base_prompt_driver import StructuredOutputStrategy
2222

griptape/tokenizers/huggingface_tokenizer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from griptape.utils import import_optional_dependency
99

1010
if TYPE_CHECKING:
11-
from transformers import PreTrainedTokenizerBase
11+
from transformers.tokenization_utils_base import PreTrainedTokenizerBase
1212

1313

1414
@define()

tests/unit/tasks/test_output_schema_validation_subtask.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def output_schema(self, request):
3434
{"key": 123},
3535
create_model("OutputSchema", key=(str, ...)),
3636
None,
37-
"[{'type': 'string_type', 'loc': ('key',), 'msg': 'Input should be a valid string', 'input': 123, 'url': 'https://errors.pydantic.dev/2.10/v/string_type'}]",
37+
"[{'type': 'string_type', 'loc': ('key',), 'msg': 'Input should be a valid string', 'input': 123, 'url': 'https://errors.pydantic.dev/2.11/v/string_type'}]",
3838
),
3939
(
4040
{"key": "value"},

0 commit comments

Comments
 (0)