Unverified Commit dd350c8a authored by Anton Lozhkov's avatar Anton Lozhkov Committed by GitHub
Browse files

Handle the PIL.Image.Resampling deprecation (#588)

* Handle the PIL.Image.Resampling deprecation

* style
parent 80183ca5
...@@ -77,7 +77,7 @@ from setuptools import find_packages, setup ...@@ -77,7 +77,7 @@ from setuptools import find_packages, setup
# 1. all dependencies should be listed here with their version requirements if any # 1. all dependencies should be listed here with their version requirements if any
# 2. once modified, run: `make deps_table_update` to update src/diffusers/dependency_versions_table.py # 2. once modified, run: `make deps_table_update` to update src/diffusers/dependency_versions_table.py
_deps = [ _deps = [
"Pillow", "Pillow<10.0", # keep the PIL.Image.Resampling deprecation away
"accelerate>=0.11.0", "accelerate>=0.11.0",
"black==22.8", "black==22.8",
"datasets", "datasets",
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# 1. modify the `_deps` dict in setup.py # 1. modify the `_deps` dict in setup.py
# 2. run `make deps_table_update`` # 2. run `make deps_table_update``
deps = { deps = {
"Pillow": "Pillow", "Pillow": "Pillow<10.0",
"accelerate": "accelerate>=0.11.0", "accelerate": "accelerate>=0.11.0",
"black": "black==22.8", "black": "black==22.8",
"datasets": "datasets", "datasets": "datasets",
......
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