Skip to content

Commit 1415822

Browse files
committed
Adopt changes from elasticsearch-py
1 parent 211a93a commit 1415822

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

utils/build-dists.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def run(*argv, expect_exit_code=0):
5050
else:
5151
os.chdir(tmp_dir)
5252

53-
cmd = " ".join(shlex.quote(x) for x in argv)
53+
cmd = shlex.join(argv)
5454
print("$ " + cmd)
5555
exit_code = os.system(cmd)
5656
if exit_code != expect_exit_code:
@@ -123,6 +123,7 @@ def test_dist(dist):
123123
"--strict",
124124
"--install-types",
125125
"--non-interactive",
126+
"--ignore-missing-imports",
126127
os.path.join(
127128
base_dir, "test_elasticsearch_serverless/test_types/async_types.py"
128129
),
@@ -148,6 +149,7 @@ def test_dist(dist):
148149
"--strict",
149150
"--install-types",
150151
"--non-interactive",
152+
"--ignore-missing-imports",
151153
os.path.join(
152154
base_dir, "test_elasticsearch_serverless/test_types/sync_types.py"
153155
),

0 commit comments

Comments
 (0)