hanlp-haystack 2.2.0__tar.gz → 3.0.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.
- {hanlp_haystack-2.2.0 → hanlp_haystack-3.0.0}/CHANGELOG.md +18 -0
- {hanlp_haystack-2.2.0 → hanlp_haystack-3.0.0}/PKG-INFO +3 -4
- {hanlp_haystack-2.2.0 → hanlp_haystack-3.0.0}/pyproject.toml +2 -2
- hanlp_haystack-3.0.0/tests/conftest.py +11 -0
- {hanlp_haystack-2.2.0 → hanlp_haystack-3.0.0}/.gitignore +0 -0
- {hanlp_haystack-2.2.0 → hanlp_haystack-3.0.0}/LICENSE.txt +0 -0
- {hanlp_haystack-2.2.0 → hanlp_haystack-3.0.0}/README.md +0 -0
- {hanlp_haystack-2.2.0 → hanlp_haystack-3.0.0}/pydoc/config_docusaurus.yml +0 -0
- {hanlp_haystack-2.2.0 → hanlp_haystack-3.0.0}/src/haystack_integrations/components/preprocessors/hanlp/__init__.py +0 -0
- {hanlp_haystack-2.2.0 → hanlp_haystack-3.0.0}/src/haystack_integrations/components/preprocessors/hanlp/chinese_document_splitter.py +0 -0
- {hanlp_haystack-2.2.0 → hanlp_haystack-3.0.0}/src/haystack_integrations/components/preprocessors/py.typed +0 -0
- {hanlp_haystack-2.2.0 → hanlp_haystack-3.0.0}/tests/__init__.py +0 -0
- {hanlp_haystack-2.2.0 → hanlp_haystack-3.0.0}/tests/test_chinese_document_splitter.py +0 -0
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [integrations/hanlp-v2.2.0] - 2026-04-22
|
|
4
|
+
|
|
5
|
+
### 📚 Documentation
|
|
6
|
+
|
|
7
|
+
- Simplify pydoc configs (#2855)
|
|
8
|
+
|
|
9
|
+
### 🧪 Testing
|
|
10
|
+
|
|
11
|
+
- Track test coverage for all integrations (#3065)
|
|
12
|
+
|
|
13
|
+
### 🧹 Chores
|
|
14
|
+
|
|
15
|
+
- Add ANN type annotations to google_genai, hanlp, jina, langfuse, lara (#2990)
|
|
16
|
+
- Enforce ruff docstring rules (D102/D103/D205/D209/D213/D417/D419) in integrations 11-20 (#3009)
|
|
17
|
+
- Increase lower pins for 3.14 support in some integrations + test with 3.14 (#3033)
|
|
18
|
+
- Hanlp - avoid mutating documents and add tests (#3206)
|
|
19
|
+
|
|
20
|
+
|
|
3
21
|
## [integrations/hanlp-v2.1.1] - 2026-01-27
|
|
4
22
|
|
|
5
23
|
### 🧹 Chores
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
2
|
Name: hanlp-haystack
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3.0.0
|
|
4
4
|
Summary: An integration of Han Language Processing - HanLP as a ChineseDocumentSplitter component.
|
|
5
5
|
Project-URL: Documentation, https://github.com/deepset-ai/haystack-core-integrations/tree/main/integrations/hanlp#readme
|
|
6
6
|
Project-URL: Issues, https://github.com/deepset-ai/haystack-core-integrations/issues
|
|
@@ -11,14 +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
17
|
Classifier: Programming Language :: Python :: 3.14
|
|
19
18
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
20
19
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
21
|
-
Requires-Python: >=3.
|
|
20
|
+
Requires-Python: >=3.11
|
|
22
21
|
Requires-Dist: hanlp>=2.1.1
|
|
23
22
|
Requires-Dist: haystack-ai>=2.22.0
|
|
24
23
|
Requires-Dist: tokenizers>=0.21.0
|
|
@@ -7,7 +7,7 @@ name = "hanlp-haystack"
|
|
|
7
7
|
dynamic = ["version"]
|
|
8
8
|
description = 'An integration of Han Language Processing - HanLP as a ChineseDocumentSplitter component.'
|
|
9
9
|
readme = "README.md"
|
|
10
|
-
requires-python = ">=3.
|
|
10
|
+
requires-python = ">=3.11"
|
|
11
11
|
license = "Apache-2.0"
|
|
12
12
|
keywords = []
|
|
13
13
|
authors = [{ name = "deepset GmbH", email = "info@deepset.ai" }]
|
|
@@ -15,7 +15,6 @@ classifiers = [
|
|
|
15
15
|
"License :: OSI Approved :: Apache Software License",
|
|
16
16
|
"Development Status :: 4 - Beta",
|
|
17
17
|
"Programming Language :: Python",
|
|
18
|
-
"Programming Language :: Python :: 3.10",
|
|
19
18
|
"Programming Language :: Python :: 3.11",
|
|
20
19
|
"Programming Language :: Python :: 3.12",
|
|
21
20
|
"Programming Language :: Python :: 3.13",
|
|
@@ -143,6 +142,7 @@ ignore = [
|
|
|
143
142
|
"PLR0912",
|
|
144
143
|
"PLR0913",
|
|
145
144
|
"PLR0915",
|
|
145
|
+
"PLR0917",
|
|
146
146
|
# Ignore unused params
|
|
147
147
|
"ARG001",
|
|
148
148
|
"ARG002",
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import pytest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
@pytest.fixture(autouse=True)
|
|
5
|
+
def allow_deserialization_of_test_modules(monkeypatch):
|
|
6
|
+
"""
|
|
7
|
+
haystack-ai >= 3.0 refuses to deserialize classes and callables from modules outside its
|
|
8
|
+
trusted-module allowlist. Tools and callbacks defined in the test modules live outside that
|
|
9
|
+
allowlist, so trust them explicitly; haystack-ai 2.x ignores this environment variable.
|
|
10
|
+
"""
|
|
11
|
+
monkeypatch.setenv("HAYSTACK_DESERIALIZATION_ALLOWLIST", "tests,test_*")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|