Skip to content

Commit ea80f71

Browse files
build: pinning unstructured to lowest working versions (#1841)
* finding lowest working versions * adding missing CI job * adding missing limitation
1 parent 3095079 commit ea80f71

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

.github/workflows/unstructured.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,16 @@ jobs:
7272
- name: Run tests
7373
run: hatch run cov-retry
7474

75+
- name: Run unit tests with lowest direct dependencies
76+
run: |
77+
hatch run uv pip compile pyproject.toml --resolution lowest-direct --output-file requirements_lowest_direct.txt
78+
hatch run uv pip install -r requirements_lowest_direct.txt
79+
hatch run test -m "not integration"
80+
7581
- name: Nightly - run unit tests with Haystack main branch
7682
if: github.event_name == 'schedule'
7783
run: |
84+
hatch env prune
7885
hatch run uv pip install git+https://github.com/deepset-ai/haystack.git@main
7986
hatch run cov-retry -m "not integration"
8087

integrations/unstructured/pyproject.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,12 @@ classifiers = [
2323
"Programming Language :: Python :: Implementation :: CPython",
2424
"Programming Language :: Python :: Implementation :: PyPy",
2525
]
26-
dependencies = ["haystack-ai", "unstructured", "unstructured-client<0.30.0"]
26+
dependencies = [
27+
"haystack-ai>=2.0.0",
28+
"unstructured>=0.15.0",
29+
"unstructured-client>=0.21.0",
30+
]
31+
2732

2833
[project.urls]
2934
Documentation = "https://github.com/deepset-ai/haystack-core-integrations/tree/main/integrations/unstructured#readme"

0 commit comments

Comments
 (0)