lara-haystack 1.0.0__tar.gz → 2.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.
- lara_haystack-2.0.0/CHANGELOG.md +9 -0
- {lara_haystack-1.0.0 → lara_haystack-2.0.0}/LICENSE.txt +1 -1
- {lara_haystack-1.0.0 → lara_haystack-2.0.0}/PKG-INFO +5 -4
- {lara_haystack-1.0.0 → lara_haystack-2.0.0}/pyproject.toml +18 -4
- {lara_haystack-1.0.0 → lara_haystack-2.0.0}/src/haystack_integrations/components/translators/lara/document_translator.py +1 -1
- lara_haystack-1.0.0/tests/__init__.py +0 -3
- {lara_haystack-1.0.0 → lara_haystack-2.0.0}/.gitignore +0 -0
- {lara_haystack-1.0.0 → lara_haystack-2.0.0}/README.md +0 -0
- {lara_haystack-1.0.0 → lara_haystack-2.0.0}/pydoc/config_docusaurus.yml +0 -0
- {lara_haystack-1.0.0 → lara_haystack-2.0.0}/src/haystack_integrations/components/translators/lara/__init__.py +0 -0
- {lara_haystack-1.0.0 → lara_haystack-2.0.0}/src/haystack_integrations/components/translators/py.typed +0 -0
- {lara_haystack-1.0.0/src/haystack_integrations → lara_haystack-2.0.0/tests}/__init__.py +0 -0
- {lara_haystack-1.0.0 → lara_haystack-2.0.0}/tests/test_document_translator.py +0 -0
|
@@ -58,7 +58,7 @@ APPENDIX: How to apply the Apache License to your work.
|
|
|
58
58
|
|
|
59
59
|
To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.
|
|
60
60
|
|
|
61
|
-
Copyright
|
|
61
|
+
Copyright 2023-present deepset GmbH
|
|
62
62
|
|
|
63
63
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
64
64
|
you may not use this file except in compliance with the License.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
2
|
Name: lara-haystack
|
|
3
|
-
Version:
|
|
3
|
+
Version: 2.0.0
|
|
4
4
|
Summary: Haystack integration for Lara, translated's AI translator
|
|
5
5
|
Project-URL: Documentation, https://github.com/deepset-ai/haystack-core-integrations/tree/main/integrations/lara#readme
|
|
6
6
|
Project-URL: Issues, https://github.com/deepset-ai/haystack-core-integrations/tree/main/integrations/issues
|
|
@@ -12,12 +12,13 @@ Keywords: Haystack,Lara,Translation,Translator
|
|
|
12
12
|
Classifier: Development Status :: 4 - Beta
|
|
13
13
|
Classifier: License :: OSI Approved :: Apache Software License
|
|
14
14
|
Classifier: Programming Language :: Python
|
|
15
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
16
15
|
Classifier: Programming Language :: Python :: 3.11
|
|
17
16
|
Classifier: Programming Language :: Python :: 3.12
|
|
18
17
|
Classifier: Programming Language :: Python :: 3.13
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
19
20
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
20
|
-
Requires-Python: >=3.
|
|
21
|
+
Requires-Python: >=3.11
|
|
21
22
|
Requires-Dist: haystack-ai>=2.24.1
|
|
22
23
|
Requires-Dist: lara-sdk
|
|
23
24
|
Description-Content-Type: text/markdown
|
|
@@ -7,7 +7,7 @@ name = "lara-haystack"
|
|
|
7
7
|
dynamic = ["version"]
|
|
8
8
|
description = "Haystack integration for Lara, translated's AI translator"
|
|
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
|
"Haystack",
|
|
@@ -22,10 +22,11 @@ classifiers = [
|
|
|
22
22
|
"License :: OSI Approved :: Apache Software License",
|
|
23
23
|
"Development Status :: 4 - Beta",
|
|
24
24
|
"Programming Language :: Python",
|
|
25
|
-
"Programming Language :: Python :: 3.10",
|
|
26
25
|
"Programming Language :: Python :: 3.11",
|
|
27
26
|
"Programming Language :: Python :: 3.12",
|
|
28
27
|
"Programming Language :: Python :: 3.13",
|
|
28
|
+
"Programming Language :: Python :: 3.14",
|
|
29
|
+
"Programming Language :: Python :: 3.15",
|
|
29
30
|
"Programming Language :: Python :: Implementation :: CPython",
|
|
30
31
|
]
|
|
31
32
|
dependencies = ["haystack-ai>=2.24.1", "lara-sdk"]
|
|
@@ -69,7 +70,8 @@ dependencies = [
|
|
|
69
70
|
unit = 'pytest -m "not integration" {args:tests}'
|
|
70
71
|
integration = 'pytest -m "integration" {args:tests}'
|
|
71
72
|
all = 'pytest {args:tests}'
|
|
72
|
-
cov-retry = 'pytest --cov=haystack_integrations --reruns 3 --reruns-delay 30 -x {args:tests}'
|
|
73
|
+
unit-cov-retry = 'pytest --cov=haystack_integrations --reruns 3 --reruns-delay 30 -x -m "not integration" {args:tests}'
|
|
74
|
+
integration-cov-append-retry = 'pytest --cov=haystack_integrations --cov-append --reruns 3 --reruns-delay 30 -x -m "integration" {args:tests}'
|
|
73
75
|
types = 'mypy -p haystack_integrations.components.translators.lara {args}'
|
|
74
76
|
|
|
75
77
|
[tool.mypy]
|
|
@@ -90,9 +92,17 @@ line-length = 120
|
|
|
90
92
|
[tool.ruff.lint]
|
|
91
93
|
select = [
|
|
92
94
|
"A",
|
|
95
|
+
"ANN",
|
|
93
96
|
"ARG",
|
|
94
97
|
"B",
|
|
95
98
|
"C",
|
|
99
|
+
"D102", # Missing docstring in public method
|
|
100
|
+
"D103", # Missing docstring in public function
|
|
101
|
+
"D205", # 1 blank line required between summary line and description
|
|
102
|
+
"D209", # Closing triple quotes go to new line
|
|
103
|
+
"D213", # summary lines must be positioned on the second physical line of the docstring
|
|
104
|
+
"D417", # Missing argument descriptions in the docstring
|
|
105
|
+
"D419", # Docstring is empty
|
|
96
106
|
"DTZ",
|
|
97
107
|
"E",
|
|
98
108
|
"EM",
|
|
@@ -131,6 +141,9 @@ ignore = [
|
|
|
131
141
|
"PLR0912",
|
|
132
142
|
"PLR0913",
|
|
133
143
|
"PLR0915",
|
|
144
|
+
"PLR0917",
|
|
145
|
+
# Allow `Any` - used legitimately for dynamic types and SDK boundaries
|
|
146
|
+
"ANN401",
|
|
134
147
|
]
|
|
135
148
|
unfixable = [
|
|
136
149
|
# Don't touch unused imports
|
|
@@ -145,11 +158,12 @@ ban-relative-imports = "parents"
|
|
|
145
158
|
|
|
146
159
|
[tool.ruff.lint.per-file-ignores]
|
|
147
160
|
# Tests can use magic values, assertions, and relative imports
|
|
148
|
-
"tests/**/*" = ["PLR2004", "S101", "TID252"]
|
|
161
|
+
"tests/**/*" = ["D", "PLR2004", "S101", "TID252", "ANN"]
|
|
149
162
|
|
|
150
163
|
[tool.coverage.run]
|
|
151
164
|
source = ["haystack_integrations"]
|
|
152
165
|
branch = true
|
|
166
|
+
relative_files = true
|
|
153
167
|
parallel = false
|
|
154
168
|
|
|
155
169
|
[tool.coverage.report]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|