diff --git a/setup.py b/setup.py index c61012c6..de367807 100644 --- a/setup.py +++ b/setup.py @@ -81,6 +81,7 @@ _deps = [ "filelock", "flake8>=3.8.3", "huggingface-hub", + "importlib_metadata", "isort>=5.5.4", "numpy", "pytest", @@ -168,6 +169,7 @@ extras["test"] = [ extras["dev"] = extras["quality"] + extras["test"] + extras["training"] install_requires = [ + deps["importlib_metadata"] + ";python_version<'3.8'", # importlib_metadata for Python versions that don't have it deps["filelock"], deps["huggingface-hub"], deps["numpy"], @@ -179,7 +181,7 @@ install_requires = [ setup( name="diffusers", - version="0.1.0", + version="0.1.1", description="Diffusers", long_description=open("README.md", "r", encoding="utf-8").read(), long_description_content_type="text/markdown", diff --git a/src/diffusers/__init__.py b/src/diffusers/__init__.py index 6c6f42c4..d693ffe7 100644 --- a/src/diffusers/__init__.py +++ b/src/diffusers/__init__.py @@ -4,7 +4,7 @@ from .utils import is_inflect_available, is_transformers_available, is_unidecode_available -__version__ = "0.1.0" +__version__ = "0.1.1" from .modeling_utils import ModelMixin from .models import AutoencoderKL, UNet2DConditionModel, UNet2DModel, VQModel