diff --git a/pytests/noxfile.py b/pytests/noxfile.py index 7588e96603e..57d9d63a044 100644 --- a/pytests/noxfile.py +++ b/pytests/noxfile.py @@ -6,14 +6,13 @@ @nox.session def test(session: nox.Session): - session.install(".[dev]") + session.env["MATURIN_PEP517_ARGS"] = "--profile=dev" + session.run_always("python", "-m", "pip", "install", "-v", ".[dev]") try: session.install("--only-binary=numpy", "numpy>=1.16") except CommandFailed: # No binary wheel for numpy available on this platform pass - session.install("maturin") - session.run_always("maturin", "develop") session.run("pytest", *session.posargs)