Skip to content

Commit

Permalink
remove old unstructured dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
epinzur committed Feb 22, 2024
1 parent 77d157a commit 2910ed5
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 11 deletions.
5 changes: 0 additions & 5 deletions docs/modules/ROOT/pages/migration.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ RAGStack contains the below packages as of version `0.7.0`. When RAGStack is ins
| llama-index
| ==0.9.48

| unstructured
| >=0.10,<0.11


|===

Expand Down Expand Up @@ -201,7 +198,6 @@ tqdm 4.66.1
typing_extensions 4.9.0
typing-inspect 0.9.0
tzdata 2023.3
unstructured 0.10.30
urllib3 2.1.0
wrapt 1.16.0
xxhash 3.4.1
Expand Down Expand Up @@ -395,7 +391,6 @@ tqdm 4.66.1
typing_extensions 4.9.0
typing-inspect 0.9.0
tzdata 2023.4
unstructured 0.10.30
urllib3 2.1.0
wrapt 1.16.0
yarl 1.9.4
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/quickstart.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Requirement already satisfied: ragstack-ai in ./ragstack-venv/lib/python3.11/sit
Collecting ragstack-ai
Downloading ragstack_ai-0.1.1-py3-none-any.whl.metadata (2.4 kB)
…installing packages…
Successfully installed astrapy-0.6.1 backoff-2.2.1 chardet-5.2.0 emoji-2.8.0 filetype-1.2.0 h2-4.1.0 hpack-4.0.0 httpcore-1.0.2 httpx-0.25.1 hyperframe-6.0.1 joblib-1.3.2 langdetect-1.0.9 lxml-4.9.3 nltk-3.8.1 python-iso639-2023.6.15 python-magic-0.4.27 ragstack-ai-0.1.1 rapidfuzz-3.5.2 tabulate-0.9.0 unstructured-0.10.30
Successfully installed astrapy-0.6.1 backoff-2.2.1 chardet-5.2.0 emoji-2.8.0 filetype-1.2.0 h2-4.1.0 hpack-4.0.0 httpcore-1.0.2 httpx-0.25.1 hyperframe-6.0.1 joblib-1.3.2 langdetect-1.0.9 lxml-4.9.3 nltk-3.8.1 python-iso639-2023.6.15 python-magic-0.4.27 ragstack-ai-0.1.1 rapidfuzz-3.5.2 tabulate-0.9.0
----
======
+
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ packages = [{ include = "ragstack" }]
python = ">=3.9,<4.0"
astrapy = "~0.7.0"
cassio = "~0.1.3"
unstructured = "^0.10"
llama-index = { version = "0.9.48", extras = ["langchain"] }
llama-parse = { version = "0.1.4" }
langchain = { version = "0.1.4" }
Expand Down
1 change: 0 additions & 1 deletion ragstack-e2e-tests/pyproject.langchain.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ llama-parse = { version = "0.1.4" }
astrapy = "~0.7.0"
# we need this specific feature from cassio: https://github.com/CassioML/cassio/pull/128
cassio = "~0.1.4"
unstructured = "^0.10"

[build-system]
requires = ["poetry-core"]
Expand Down
1 change: 0 additions & 1 deletion ragstack-e2e-tests/pyproject.llamaindex.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ langchain-nvidia-ai-endpoints = { version = "0.0.1" }
astrapy = "~0.7.0"
# we need this specific feature from cassio: https://github.com/CassioML/cassio/pull/128
cassio = "~0.1.4"
unstructured = "^0.10"

[build-system]
requires = ["poetry-core"]
Expand Down
2 changes: 1 addition & 1 deletion scripts/generate-changelog.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
exit(1)
import sys

IMPORTANT_DEPENDENCIES = ["langchain", "llama-index", "astrapy", "cassio", "unstructured"]
IMPORTANT_DEPENDENCIES = ["langchain", "llama-index", "astrapy", "cassio"]


def main():
Expand Down
1 change: 0 additions & 1 deletion tests/unit-tests/test_ragstack.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ def test_import():
import langsmith # noqa
import astrapy # noqa
import cassio # noqa
import unstructured # noqa
import openai # noqa
import tiktoken # noqa

Expand Down

0 comments on commit 2910ed5

Please sign in to comment.