summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2023-03-31 12:29:06 -0700
committerGitHub <noreply@github.com>2023-03-31 12:29:06 -0700
commit7fcb9960e65591b42c1b46811dd529bae52ddf85 (patch)
treec9aa7a426318360617b06537d7dc94a2f783fa3e
parent4b20191c52721930965ad96e9acca02f0227bc96 (diff)
downloadansible-7fcb9960e65591b42c1b46811dd529bae52ddf85.tar.gz
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.
-rw-r--r--test/sanity/code-smell/package-data.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sanity/code-smell/package-data.py b/test/sanity/code-smell/package-data.py
index f3b585c4e4..ddfdda09a2 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,