Skip to content

Commit

Permalink
Adopt changes from elasticsearch-py
Browse files Browse the repository at this point in the history
  • Loading branch information
pquentin committed Oct 11, 2024
1 parent 211a93a commit 1415822
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion utils/build-dists.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def run(*argv, expect_exit_code=0):
else:
os.chdir(tmp_dir)

cmd = " ".join(shlex.quote(x) for x in argv)
cmd = shlex.join(argv)
print("$ " + cmd)
exit_code = os.system(cmd)
if exit_code != expect_exit_code:
Expand Down Expand Up @@ -123,6 +123,7 @@ def test_dist(dist):
"--strict",
"--install-types",
"--non-interactive",
"--ignore-missing-imports",
os.path.join(
base_dir, "test_elasticsearch_serverless/test_types/async_types.py"
),
Expand All @@ -148,6 +149,7 @@ def test_dist(dist):
"--strict",
"--install-types",
"--non-interactive",
"--ignore-missing-imports",
os.path.join(
base_dir, "test_elasticsearch_serverless/test_types/sync_types.py"
),
Expand Down

0 comments on commit 1415822

Please sign in to comment.