Skip to content

Commit

Permalink
build(deps): add requests as a base dependency (#162)
Browse files Browse the repository at this point in the history
* build(deps): add `requests` as a base dependency

* linting, linting, linting

* changelog typo
  • Loading branch information
MthwRobinson authored Jan 18, 2023
1 parent 74ce2ae commit 59f972d
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 3 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## 0.4.3-dev2
## 0.4.3

* Adds `requests` as a base dependency
* Fix in `exceeds_cap_ratio` so the function doesn't break with empty text
* Fix bug in `_parse_received_data`.
* Update `detect_filetype` to properly handle `.doc`, `.xls`, and `.ppt`.
Expand Down
11 changes: 10 additions & 1 deletion requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ backoff==2.2.1
certifi==2022.12.7
# via
# httpx
# requests
# unstructured (setup.py)
charset-normalizer==3.0.1
# via requests
click==8.1.3
# via nltk
deprecated==1.2.13
Expand All @@ -25,7 +28,9 @@ httpcore==0.11.1
httpx==0.15.5
# via argilla
idna==3.4
# via rfc3986
# via
# requests
# rfc3986
joblib==1.2.0
# via nltk
lxml==4.9.2
Expand Down Expand Up @@ -67,6 +72,8 @@ pytz==2022.7
# via pandas
regex==2022.10.31
# via nltk
requests==2.28.2
# via unstructured (setup.py)
rfc3986[idna2008]==1.5.0
# via httpx
six==1.16.0
Expand All @@ -81,6 +88,8 @@ tqdm==4.64.1
# nltk
typing-extensions==4.4.0
# via pydantic
urllib3==1.26.14
# via requests
wrapt==1.13.3
# via
# argilla
Expand Down
1 change: 1 addition & 0 deletions requirements/huggingface.txt
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ requests==2.28.2
# via
# huggingface-hub
# transformers
# unstructured (setup.py)
rfc3986[idna2008]==1.5.0
# via httpx
sacremoses==0.0.53
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"python-docx",
"python-pptx",
"python-magic",
"requests",
# NOTE(robinson) - The following dependencies are pinned
# to address security scans
"certifi>=2022.12.07",
Expand Down
2 changes: 1 addition & 1 deletion unstructured/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.4.3-dev2" # pragma: no cover
__version__ = "0.4.3" # pragma: no cover

0 comments on commit 59f972d

Please sign in to comment.