Skip to content

Commit

Permalink
Relax Pillow and OpenCV version bounds.
Browse files Browse the repository at this point in the history
For Pillow, the change in commit

    e04e183 - chore: apply PIL major changes and increase min version specifier (#1237)

that does the `font.getsize()` -> `font.getbbox()` migration
is definitely already available in Pillow 9.2.0, see

https://pillow.readthedocs.io/en/stable/deprecations.html#font-size-and-offset-methods

> Deprecated since version 9.2.0.
  • Loading branch information
nh2 committed Nov 5, 2023
1 parent 75bddfc commit f1e34ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ dependencies = [
"numpy>=1.16.0,<2.0.0",
"scipy>=1.4.0,<2.0.0",
"h5py>=3.1.0,<4.0.0",
"opencv-python>=4.5.0,<5.0.0",
"opencv-python>=4.7.0,<5.0.0",
"pypdfium2>=4.0.0,<5.0.0",
"pyclipper>=1.2.0,<2.0.0",
"shapely>=1.6.0,<3.0.0",
"langdetect>=1.0.9,<2.0.0",
"rapidfuzz>=3.0.0,<4.0.0",
"matplotlib>=3.1.0",
"weasyprint>=55.0",
"Pillow>=10.0.0",
"Pillow>=9.2.0",
"defusedxml>=0.7.0",
"mplcursors>=0.3",
"unidecode>=1.0.0",
Expand Down

0 comments on commit f1e34ad

Please sign in to comment.