From d36bbb817c61365df1d981404b1835ec800e181e Mon Sep 17 00:00:00 2001 From: Eugene Brodsky Date: Sat, 14 Jan 2023 02:27:29 -0500 Subject: [PATCH] (installer) use pep517 for installing dependencies the 'setup.py install' method is deprecated in favour of a build-system independent format: https://peps.python.org/pep-0517/ this is needed to install dependencies that don't have a pyproject.toml file (only setup.py) in a forward-compatible way --- installer/installer.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/installer/installer.py b/installer/installer.py index e2cc21c4be..5762e4fba8 100644 --- a/installer/installer.py +++ b/installer/installer.py @@ -228,6 +228,7 @@ class InvokeAiInstance: (Path(__file__).parents[1] / "environments-and-requirements/requirements-base.txt") .expanduser() .resolve(), + "--use-pep517", extra_index_url_arg, extra_index_url, ] @@ -240,6 +241,7 @@ class InvokeAiInstance: "install", "--require-virtualenv", Path(__file__).parents[1].expanduser().resolve(), + "--use-pep517", extra_index_url_arg, extra_index_url, ]