-
Notifications
You must be signed in to change notification settings - Fork 797
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR reverts `pytesseract` dependency to `unstructured.pytesseract` fork due to the unavailability of some recent release versions of `pytesseract` on PyPI. This PR also addresses an issue encountered during the publication of `unstructured==0.15.4` to PyPI. The error was due to the fact that PyPI does not allow direct dependencies from Version Control System URLs like GitHub in the `install_requires` or `extras_require` sections of the `setup.py` file.
- Loading branch information
1 parent
e64e095
commit fc26426
Showing
11 changed files
with
30 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,4 @@ effdet | |
# Do not move to constraints.in, otherwise unstructured-inference will not be upgraded | ||
# when unstructured library is. | ||
unstructured-inference==0.7.36 | ||
# NOTE(christine): Pinned to a specific version of pytesseract from the GitHub repository. | ||
# Remove this pin and switch to the latest version from PyPI once version 0.3.13 or newer is officially released. | ||
pytesseract @ git+https://github.com/madmaze/[email protected] | ||
unstructured.pytesseract>=0.3.12 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -135,8 +135,8 @@ packaging==23.2 | |
# matplotlib | ||
# onnxruntime | ||
# pikepdf | ||
# pytesseract | ||
# transformers | ||
# unstructured-pytesseract | ||
pandas==2.2.2 | ||
# via layoutparser | ||
pdf2image==1.17.0 | ||
|
@@ -159,8 +159,8 @@ pillow==10.4.0 | |
# pdfplumber | ||
# pikepdf | ||
# pillow-heif | ||
# pytesseract | ||
# torchvision | ||
# unstructured-pytesseract | ||
pillow-heif==0.18.0 | ||
# via -r ./extra-pdf-image.in | ||
portalocker==2.10.1 | ||
|
@@ -201,8 +201,6 @@ pypdf==4.3.1 | |
# -r ./extra-pdf-image.in | ||
pypdfium2==4.30.0 | ||
# via pdfplumber | ||
pytesseract @ git+https://github.com/madmaze/[email protected] | ||
# via -r ./extra-pdf-image.in | ||
python-dateutil==2.9.0.post0 | ||
# via | ||
# -c ./base.txt | ||
|
@@ -289,6 +287,8 @@ tzdata==2024.1 | |
# via pandas | ||
unstructured-inference==0.7.36 | ||
# via -r ./extra-pdf-image.in | ||
unstructured-pytesseract==0.3.13 | ||
# via -r ./extra-pdf-image.in | ||
urllib3==1.26.19 | ||
# via | ||
# -c ././deps/constraints.txt | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = "0.15.5-dev1" # pragma: no cover | ||
__version__ = "0.15.5" # pragma: no cover |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters