Unverified Commit 30f4d108 authored by F-G Fernandez's avatar F-G Fernandez Committed by GitHub
Browse files

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
parent 59ec1dfd
......@@ -62,8 +62,8 @@ requirements = [
pytorch_dep,
]
# Excluding 8.3.0 because of https://github.com/pytorch/vision/issues/4146
pillow_ver = " >= 5.3.0, !=8.3.0"
# Excluding 8.3.* because of https://github.com/pytorch/vision/issues/4934
pillow_ver = " >= 5.3.0, !=8.3.*"
pillow_req = "pillow-simd" if get_dist("pillow-simd") is not None else "pillow"
requirements.append(pillow_req + pillow_ver)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment