Skip to content

Commit 9fb6c68

Browse files
committed
address feedback
1 parent dba42d8 commit 9fb6c68

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/integ/sagemaker/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ def _generate_sagemaker_sdk_tar(destination_folder):
280280
"""
281281
Run setup.py sdist to generate the PySDK tar file
282282
"""
283-
command = f"python3 setup.py egg_info --egg-base {destination_folder} sdist -d {destination_folder} -k --verbose"
283+
command = f"python -m build --sdist -o {destination_folder}"
284284
print(f"Running command: {command}")
285285
result = subprocess.run(command, shell=True, check=True, capture_output=True)
286286
if result.returncode != 0:

tests/integ/sagemaker/feature_store/feature_processor/test_feature_processor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1272,7 +1272,7 @@ def _generate_and_move_sagemaker_sdk_tar():
12721272
"""
12731273
Run setup.py sdist to generate the PySDK whl file
12741274
"""
1275-
subprocess.run("python3 setup.py bdist_wheel", shell=True)
1275+
subprocess.run("python -m build --wheel", shell=True)
12761276
dist_dir = "dist"
12771277
source_archive = os.listdir(dist_dir)[0]
12781278
source_path = os.path.join(dist_dir, source_archive)

0 commit comments

Comments
 (0)