Skip to content

Commit

Permalink
fix(pptx): accommodate invalid image/jpg MIME-type
Browse files Browse the repository at this point in the history
As described in #3381, some clients, perhaps including Adobe PDF
Converter, map JPEG images to the invalid `image/jpg` MIME-type. Prior
to v1.0.0, `python-pptx` would not load these images, which caused image
extraction to fail.

Update the `python-pptx` dependency to `v1.0.0` or above to ensure this
upstream fix is always available.
  • Loading branch information
scanny committed Aug 3, 2024
1 parent b749b89 commit 0141770
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion requirements/extra-pptx.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
-c ./deps/constraints.txt

python-pptx<=0.6.23
python-pptx>=1.0.0

0 comments on commit 0141770

Please sign in to comment.