Skip to content

Commit 30f4d10

Browse files
authored
Updates PIL version specifier to prevent issues with padding when image mode = P (#4939)
* chore: Updated pillow version specifier * docs: Updated issue ref in comment
1 parent 59ec1df commit 30f4d10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ def write_version_file():
6262
pytorch_dep,
6363
]
6464

65-
# Excluding 8.3.0 because of https://github.com/pytorch/vision/issues/4146
66-
pillow_ver = " >= 5.3.0, !=8.3.0"
65+
# Excluding 8.3.* because of https://github.com/pytorch/vision/issues/4934
66+
pillow_ver = " >= 5.3.0, !=8.3.*"
6767
pillow_req = "pillow-simd" if get_dist("pillow-simd") is not None else "pillow"
6868
requirements.append(pillow_req + pillow_ver)
6969

0 commit comments

Comments
 (0)