From 7fcb9960e65591b42c1b46811dd529bae52ddf85 Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Fri, 31 Mar 2023 12:29:06 -0700 Subject: [PATCH] Use --no-isolation for package-data sanity test (#80377) The dependencies are already in the sanity test venv. This avoids use of unpinned dependencies and a dependency on a network connection. --- test/sanity/code-smell/package-data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/sanity/code-smell/package-data.py b/test/sanity/code-smell/package-data.py index f3b585c4e4a..ddfdda09a23 100644 --- a/test/sanity/code-smell/package-data.py +++ b/test/sanity/code-smell/package-data.py @@ -180,7 +180,7 @@ def create_sdist(tmp_dir): pathlib.Path(f'changelogs/CHANGELOG-v{version.major}.{version.minor}.rst').touch() create = subprocess.run( - [sys.executable, '-m', 'build', '--sdist', '--config-setting=--build-manpages', '--outdir', tmp_dir], + [sys.executable, '-m', 'build', '--sdist', '--no-isolation', '--config-setting=--build-manpages', '--outdir', tmp_dir], stdin=subprocess.DEVNULL, capture_output=True, text=True,