Skip to content

Commit 5eb6c3b

Browse files
NicolasHugfacebook-github-bot
authored andcommitted
[fbsync] Enforce PIL < 11.3 (#9134)
Reviewed By: AntoineSimoulin Differential Revision: D79175041 fbshipit-source-id: 379f76ca44397fec98348e487ba7f964490719ec
1 parent c10a223 commit 5eb6c3b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,8 @@ def get_dist(pkgname):
111111
]
112112

113113
# Excluding 8.3.* because of https://github.com/pytorch/vision/issues/4934
114-
pillow_ver = " >= 5.3.0, !=8.3.*"
114+
# TODO remove <11.3 bound and address corresponding deprecation warnings
115+
pillow_ver = " >= 5.3.0, !=8.3.*, <11.3"
115116
pillow_req = "pillow-simd" if get_dist("pillow-simd") is not None else "pillow"
116117
requirements.append(pillow_req + pillow_ver)
117118

0 commit comments

Comments
 (0)