Skip to content

Commit 59f972d

Browse files
authored
build(deps): add requests as a base dependency (#162)
* build(deps): add `requests` as a base dependency * linting, linting, linting * changelog typo
1 parent 74ce2ae commit 59f972d

File tree

5 files changed

+15
-3
lines changed

5 files changed

+15
-3
lines changed

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
## 0.4.3-dev2
1+
## 0.4.3
22

3+
* Adds `requests` as a base dependency
34
* Fix in `exceeds_cap_ratio` so the function doesn't break with empty text
45
* Fix bug in `_parse_received_data`.
56
* Update `detect_filetype` to properly handle `.doc`, `.xls`, and `.ppt`.

requirements/base.txt

+10-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ backoff==2.2.1
1111
certifi==2022.12.7
1212
# via
1313
# httpx
14+
# requests
1415
# unstructured (setup.py)
16+
charset-normalizer==3.0.1
17+
# via requests
1518
click==8.1.3
1619
# via nltk
1720
deprecated==1.2.13
@@ -25,7 +28,9 @@ httpcore==0.11.1
2528
httpx==0.15.5
2629
# via argilla
2730
idna==3.4
28-
# via rfc3986
31+
# via
32+
# requests
33+
# rfc3986
2934
joblib==1.2.0
3035
# via nltk
3136
lxml==4.9.2
@@ -67,6 +72,8 @@ pytz==2022.7
6772
# via pandas
6873
regex==2022.10.31
6974
# via nltk
75+
requests==2.28.2
76+
# via unstructured (setup.py)
7077
rfc3986[idna2008]==1.5.0
7178
# via httpx
7279
six==1.16.0
@@ -81,6 +88,8 @@ tqdm==4.64.1
8188
# nltk
8289
typing-extensions==4.4.0
8390
# via pydantic
91+
urllib3==1.26.14
92+
# via requests
8493
wrapt==1.13.3
8594
# via
8695
# argilla

requirements/huggingface.txt

+1
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ requests==2.28.2
9999
# via
100100
# huggingface-hub
101101
# transformers
102+
# unstructured (setup.py)
102103
rfc3986[idna2008]==1.5.0
103104
# via httpx
104105
sacremoses==0.0.53

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
"python-docx",
5858
"python-pptx",
5959
"python-magic",
60+
"requests",
6061
# NOTE(robinson) - The following dependencies are pinned
6162
# to address security scans
6263
"certifi>=2022.12.07",

unstructured/__version__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.4.3-dev2" # pragma: no cover
1+
__version__ = "0.4.3" # pragma: no cover

0 commit comments

Comments
 (0)