Unverified Commit ac83a2c0 authored by Nicolas Hug's avatar Nicolas Hug Committed by GitHub
Browse files

Explicitly exclude PIL 8.3.0 from compatible dependencies (#4148)

parent 993325dd
...@@ -12,6 +12,6 @@ dependencies: ...@@ -12,6 +12,6 @@ dependencies:
- ca-certificates - ca-certificates
- pip: - pip:
- future - future
- pillow >=5.3.0 - pillow >=5.3.0, !=8.3.0
- scipy - scipy
- av - av
...@@ -12,7 +12,7 @@ dependencies: ...@@ -12,7 +12,7 @@ dependencies:
- ca-certificates - ca-certificates
- pip: - pip:
- future - future
- pillow >=5.3.0 - pillow >=5.3.0, !=8.3.0
- scipy - scipy
- av - av
- dataclasses - dataclasses
...@@ -67,7 +67,8 @@ requirements = [ ...@@ -67,7 +67,8 @@ requirements = [
pytorch_dep, pytorch_dep,
] ]
pillow_ver = ' >= 5.3.0' # Excluding 8.3.0 because of https://github.com/pytorch/vision/issues/4146
pillow_ver = ' >= 5.3.0, !=8.3.0'
pillow_req = 'pillow-simd' if get_dist('pillow-simd') is not None else 'pillow' pillow_req = 'pillow-simd' if get_dist('pillow-simd') is not None else 'pillow'
requirements.append(pillow_req + pillow_ver) 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