From 9adc80d227fd524cad4ca755f1c44ca666479c87 Mon Sep 17 00:00:00 2001 From: Jasha <8935917+Jasha10@users.noreply.github.com> Date: Thu, 14 Oct 2021 13:45:36 -0500 Subject: [PATCH] copy hydra.git/noxfile.py: use session.run instead of session.install --- noxfile.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/noxfile.py b/noxfile.py index df550ea4f..0ed1816b5 100644 --- a/noxfile.py +++ b/noxfile.py @@ -11,9 +11,11 @@ def deps(session, editable_installl): - session.install("--upgrade", "setuptools") + session.run("python", "-m", "pip", "install", "--upgrade", "setuptools", "pip") extra_flags = ["-e"] if editable_installl else [] - session.install("-r", "requirements/dev.txt", *extra_flags, ".", silent=True) + session.run( + "pip", "install", "-r", "requirements/dev.txt", *extra_flags, ".", silent=True + ) @nox.session(python=PYTHON_VERSIONS)