diff --git a/CHANGELOG.md b/CHANGELOG.md index 60d35ec56..73725edd1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.14.4-dev1 +## 0.14.4-dev2 ### Enhancements @@ -6,6 +6,7 @@ ### Fixes +* **Clarified dependence on particular version of `python-docx`** Pinned `python-docx` version to ensure a particular method `unstructured` uses is included. * **Ingest preserves original file extension** Ingest V2 introduced a change that dropped the original extension for upgraded connectors. This reverts that change. ## 0.14.3 diff --git a/requirements/deps/constraints.txt b/requirements/deps/constraints.txt index 325252e40..570d4949f 100644 --- a/requirements/deps/constraints.txt +++ b/requirements/deps/constraints.txt @@ -38,10 +38,6 @@ opencv-python==4.8.0.76 opencv-contrib-python==4.8.0.76 platformdirs==3.10.0 -# Note(scanny): partition_docx() uses table features added in python-docx v1.1.2. Added here since -# multiple formats have a python-docx dependency (docx, odt) -python-docx>=1.1.2 - # TODO: Constraint due to langchain, remove when that gets updated: packaging<24.0 diff --git a/requirements/extra-docx.in b/requirements/extra-docx.in index ea1062fe6..296b718aa 100644 --- a/requirements/extra-docx.in +++ b/requirements/extra-docx.in @@ -1,4 +1,5 @@ -c ./deps/constraints.txt -c base.txt -python-docx +# Note(scanny): partition_docx() uses table features added in python-docx v1.1.2. +python-docx>=1.1.2 diff --git a/requirements/extra-odt.in b/requirements/extra-odt.in index 29f9e0512..727a76f5e 100644 --- a/requirements/extra-odt.in +++ b/requirements/extra-odt.in @@ -1,5 +1,6 @@ -c ./deps/constraints.txt -c base.txt -python-docx +# Note(scanny): partition_docx() uses table features added in python-docx v1.1.2. +python-docx>=1.1.2 pypandoc diff --git a/unstructured/__version__.py b/unstructured/__version__.py index 23bad8442..469f3223a 100644 --- a/unstructured/__version__.py +++ b/unstructured/__version__.py @@ -1 +1 @@ -__version__ = "0.14.4-dev1" # pragma: no cover +__version__ = "0.14.4-dev2" # pragma: no cover