mirror of
https://github.com/Unstructured-IO/unstructured.git
synced 2025-06-27 02:30:08 +00:00
build: pin python-docx (#3110)
Since we incorporate a newer feature from `python-docx` [here](https://github.com/Unstructured-IO/unstructured/blob/main/unstructured/partition/docx.py#L521), we should make the version of `python-docx` that first supports that method an explicit requirement. I didn't pip recompile since our generated dependencies already have `python-docx==1.1.2`, but I can do that if someone thinks it's necessary.
This commit is contained in:
parent
9acf26ec2e
commit
293901e144
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -1 +1 @@
|
||||
__version__ = "0.14.4-dev1" # pragma: no cover
|
||||
__version__ = "0.14.4-dev2" # pragma: no cover
|
||||
|
Loading…
x
Reference in New Issue
Block a user