From 1e190d33c404115d6b96a1c29bb5cb436df8c167 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Fri, 27 Oct 2023 14:01:32 -0400 Subject: [PATCH] Run check-sdist with --no-isolation (#9791) * Run check-sdist with --no-isolation This is primarily useful for quick dev-cycles locally * Update noxfile.py --- noxfile.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index 98ecdb619a4a..a8b10a6fbf25 100644 --- a/noxfile.py +++ b/noxfile.py @@ -158,6 +158,9 @@ def flake(session: nox.Session) -> None: # but not install us. install( session, + "setuptools-rust", + "cffi>=1.12; platform_python_implementation != 'PyPy'", + "wheel", "ruff", "check-sdist", "mypy", @@ -170,7 +173,7 @@ def flake(session: nox.Session) -> None: session.run("ruff", ".") session.run("ruff", "format", "--check", ".") - session.run("check-sdist") + session.run("check-sdist", "--no-isolation") session.run( "mypy", "src/cryptography/",