watsonx-haystack 1.6.0__tar.gz → 1.7.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. {watsonx_haystack-1.6.0 → watsonx_haystack-1.7.0}/CHANGELOG.md +13 -0
  2. {watsonx_haystack-1.6.0 → watsonx_haystack-1.7.0}/PKG-INFO +4 -4
  3. {watsonx_haystack-1.6.0 → watsonx_haystack-1.7.0}/pyproject.toml +4 -3
  4. {watsonx_haystack-1.6.0 → watsonx_haystack-1.7.0}/src/haystack_integrations/components/embedders/watsonx/document_embedder.py +1 -1
  5. {watsonx_haystack-1.6.0 → watsonx_haystack-1.7.0}/src/haystack_integrations/components/embedders/watsonx/text_embedder.py +1 -1
  6. {watsonx_haystack-1.6.0 → watsonx_haystack-1.7.0}/src/haystack_integrations/components/generators/watsonx/chat/chat_generator.py +1 -1
  7. {watsonx_haystack-1.6.0 → watsonx_haystack-1.7.0}/.gitignore +0 -0
  8. {watsonx_haystack-1.6.0 → watsonx_haystack-1.7.0}/LICENSE.txt +0 -0
  9. {watsonx_haystack-1.6.0 → watsonx_haystack-1.7.0}/README.md +0 -0
  10. {watsonx_haystack-1.6.0 → watsonx_haystack-1.7.0}/examples/chat_generator_example.py +0 -0
  11. {watsonx_haystack-1.6.0 → watsonx_haystack-1.7.0}/examples/embedders_example.py +0 -0
  12. {watsonx_haystack-1.6.0 → watsonx_haystack-1.7.0}/pydoc/config_docusaurus.yml +0 -0
  13. {watsonx_haystack-1.6.0 → watsonx_haystack-1.7.0}/src/haystack_integrations/components/embedders/py.typed +0 -0
  14. {watsonx_haystack-1.6.0 → watsonx_haystack-1.7.0}/src/haystack_integrations/components/embedders/watsonx/__init__.py +0 -0
  15. {watsonx_haystack-1.6.0 → watsonx_haystack-1.7.0}/src/haystack_integrations/components/generators/py.typed +0 -0
  16. {watsonx_haystack-1.6.0 → watsonx_haystack-1.7.0}/src/haystack_integrations/components/generators/watsonx/__init__.py +0 -0
  17. {watsonx_haystack-1.6.0 → watsonx_haystack-1.7.0}/src/haystack_integrations/components/generators/watsonx/chat/__init__.py +0 -0
  18. {watsonx_haystack-1.6.0 → watsonx_haystack-1.7.0}/src/haystack_integrations/components/generators/watsonx/generator.py +0 -0
  19. {watsonx_haystack-1.6.0 → watsonx_haystack-1.7.0}/tests/__init__.py +0 -0
  20. {watsonx_haystack-1.6.0 → watsonx_haystack-1.7.0}/tests/conftest.py +0 -0
  21. {watsonx_haystack-1.6.0 → watsonx_haystack-1.7.0}/tests/test_chat_generator.py +0 -0
  22. {watsonx_haystack-1.6.0 → watsonx_haystack-1.7.0}/tests/test_document_embedder.py +0 -0
  23. {watsonx_haystack-1.6.0 → watsonx_haystack-1.7.0}/tests/test_files/apple.jpg +0 -0
  24. {watsonx_haystack-1.6.0 → watsonx_haystack-1.7.0}/tests/test_generator.py +0 -0
  25. {watsonx_haystack-1.6.0 → watsonx_haystack-1.7.0}/tests/test_text_embedder.py +0 -0
@@ -1,5 +1,18 @@
1
1
  # Changelog
2
2
 
3
+ ## [unreleased]
4
+
5
+ ### 🧪 Testing
6
+
7
+ - Fix failing test watsonx integration (#3414)
8
+ - Trust test modules under Haystack 3.0's deserialization allowlist (#3537)
9
+ - Make Tool/Agent serialization assertions version-agnostic for Haystack 2.x/3.x (#3533)
10
+
11
+ ### 🧹 Chores
12
+
13
+ - Support sync streaming callbacks in async contexts for Haystack 2.x/3.x compatibility (#3534)
14
+
15
+
3
16
  ## [integrations/watsonx-v1.5.0] - 2026-06-04
4
17
 
5
18
  ### 🚀 Features
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: watsonx-haystack
3
- Version: 1.6.0
3
+ Version: 1.7.0
4
4
  Summary: Watsonx integration for Haystack
5
5
  Project-URL: Documentation, https://github.com/deepset-ai/haystack-core-integrations/tree/main/integrations/watsonx#readme
6
6
  Project-URL: Issues, https://github.com/deepset-ai/haystack-core-integrations/issues
@@ -11,13 +11,13 @@ License-File: LICENSE.txt
11
11
  Classifier: Development Status :: 4 - Beta
12
12
  Classifier: License :: OSI Approved :: Apache Software License
13
13
  Classifier: Programming Language :: Python
14
- Classifier: Programming Language :: Python :: 3.10
15
14
  Classifier: Programming Language :: Python :: 3.11
16
15
  Classifier: Programming Language :: Python :: 3.12
17
16
  Classifier: Programming Language :: Python :: 3.13
18
- Requires-Python: >=3.10
17
+ Classifier: Programming Language :: Python :: 3.14
18
+ Requires-Python: >=3.11
19
19
  Requires-Dist: haystack-ai>=2.30.0
20
- Requires-Dist: ibm-watsonx-ai>=1.3.26
20
+ Requires-Dist: ibm-watsonx-ai>=1.5.13
21
21
  Requires-Dist: pandas>=2.2.3
22
22
  Description-Content-Type: text/markdown
23
23
 
@@ -7,7 +7,7 @@ name = "watsonx-haystack"
7
7
  dynamic = ["version"]
8
8
  description = "Watsonx integration for Haystack"
9
9
  readme = "README.md"
10
- requires-python = ">=3.10"
10
+ requires-python = ">=3.11"
11
11
  license = "Apache-2.0"
12
12
  authors = [
13
13
  { name = "Divya", email = "divyaruhil999@gmail.com" },
@@ -17,12 +17,12 @@ classifiers = [
17
17
  "License :: OSI Approved :: Apache Software License",
18
18
  "Development Status :: 4 - Beta",
19
19
  "Programming Language :: Python",
20
- "Programming Language :: Python :: 3.10",
21
20
  "Programming Language :: Python :: 3.11",
22
21
  "Programming Language :: Python :: 3.12",
23
22
  "Programming Language :: Python :: 3.13",
23
+ "Programming Language :: Python :: 3.14",
24
24
  ]
25
- dependencies = ["haystack-ai>=2.30.0", "ibm-watsonx-ai>=1.3.26", "pandas>=2.2.3"]
25
+ dependencies = ["haystack-ai>=2.30.0", "ibm-watsonx-ai>=1.5.13", "pandas>=2.2.3"]
26
26
 
27
27
  [project.urls]
28
28
  Documentation = "https://github.com/deepset-ai/haystack-core-integrations/tree/main/integrations/watsonx#readme"
@@ -137,6 +137,7 @@ ignore = [
137
137
  "PLR0912",
138
138
  "PLR0913",
139
139
  "PLR0915",
140
+ "PLR0917",
140
141
  # Ignore unused params
141
142
  "ARG001",
142
143
  "ARG002",
@@ -116,7 +116,7 @@ class WatsonxDocumentEmbedder:
116
116
  model_id=model,
117
117
  credentials=credentials,
118
118
  project_id=project_id.resolve_value(),
119
- params=params if params else None,
119
+ params=params if params else None, # type: ignore[arg-type]
120
120
  batch_size=batch_size,
121
121
  concurrency_limit=concurrency_limit,
122
122
  max_retries=max_retries,
@@ -100,7 +100,7 @@ class WatsonxTextEmbedder:
100
100
  model_id=model,
101
101
  credentials=credentials,
102
102
  project_id=project_id.resolve_value(),
103
- params=params if params else None,
103
+ params=params if params else None, # type: ignore[arg-type]
104
104
  max_retries=max_retries,
105
105
  )
106
106
 
@@ -352,7 +352,7 @@ class WatsonxChatGenerator:
352
352
  merged_kwargs = {**self.generation_kwargs, **(generation_kwargs or {})}
353
353
 
354
354
  watsonx_messages = []
355
- content: str | None | dict[str, Any] | list[dict[str, Any]]
355
+ content: str | dict[str, Any] | list[dict[str, Any]] | None
356
356
 
357
357
  flattened_tools = flatten_tools_or_toolsets(tools or self.tools)
358
358
  _check_duplicate_tool_names(flattened_tools)