Skip to content

Commit 9faa8be

Browse files
change: Add more debuging (#4687)
1 parent 8002d7f commit 9faa8be

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tests/integ/sagemaker/conftest.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -278,13 +278,14 @@ def _generate_sagemaker_sdk_tar(destination_folder):
278278
"""
279279
Run setup.py sdist to generate the PySDK tar file
280280
"""
281-
command = f"python3 setup.py egg_info --egg-base {destination_folder} sdist -d {destination_folder} -k"
281+
command = f"python3 setup.py egg_info --egg-base {destination_folder} sdist -d {destination_folder} -k --verbose"
282282
print(f"Running command: {command}")
283283
result = subprocess.run(command, shell=True, check=True, capture_output=True)
284284
if result.returncode != 0:
285285
print(f"Command failed with return code: {result.returncode}")
286-
print(f"Standard output: {result.stdout.decode()}")
287-
print(f"Standard error: {result.stderr.decode()}")
286+
287+
print(f"Standard output: {result.stdout.decode()}")
288+
print(f"Standard error: {result.stderr.decode()}")
288289
destination_folder_contents = os.listdir(destination_folder)
289290
source_archive = [file for file in destination_folder_contents if file.endswith("tar.gz")][0]
290291

0 commit comments

Comments
 (0)