hanlp-haystack 2.1.0__tar.gz → 2.1.1__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.
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [integrations/hanlp-v2.1.0] - 2026-01-14
4
+
5
+ ### 🚀 Features
6
+
7
+ - Update hanlp components to auto call run `warm_up` (#2749)
8
+
9
+
3
10
  ## [integrations/hanlp-v2.0.0] - 2026-01-12
4
11
 
5
12
  ### 🐛 Bug Fixes
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hanlp-haystack
3
- Version: 2.1.0
3
+ Version: 2.1.1
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
@@ -20,6 +20,8 @@ Classifier: Programming Language :: Python :: Implementation :: PyPy
20
20
  Requires-Python: >=3.10
21
21
  Requires-Dist: hanlp>=2.1.1
22
22
  Requires-Dist: haystack-ai>=2.22.0
23
+ Requires-Dist: tokenizers>=0.20.2
24
+ Requires-Dist: transformers<5,>=4.1.1
23
25
  Description-Content-Type: text/markdown
24
26
 
25
27
  # hanlp-haystack
@@ -24,7 +24,11 @@ classifiers = [
24
24
  ]
25
25
  dependencies = [
26
26
  "haystack-ai>=2.22.0",
27
- "hanlp>=2.1.1"
27
+ "hanlp>=2.1.1",
28
+ # the following pins can be removed once HanLP supports transformers 5
29
+ "transformers>=4.1.1,<5",
30
+ # tokenizers is a dependency of transformers. The following version is the first one which supports Python 3.13.
31
+ "tokenizers>=0.20.2",
28
32
  ]
29
33
 
30
34
  [project.urls]
File without changes