Skip to content

Commit d8297ec

Browse files
rohangujarathiRohan Gujarathi
authored andcommitted
fix: Change the library used in pytorch test causing cloudpickle version conflict (aws#1287)
Co-authored-by: Rohan Gujarathi <[email protected]>
1 parent c098e98 commit d8297ec

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/data/dummy_code_bundle_with_reqs/main_script.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
import local_module
77

88
print("Trying to import module from requirements.txt...")
9-
import stepfunctions
9+
from aws_xray_sdk.core import xray_recorder
1010

1111
print("Done")
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# As a test dependency, we'll use the AWS Step Functions Data Science SDK - since it's more of a
2-
# notebook environment tool than a training/processing job library, so shouldn't be in base images
3-
stepfunctions
1+
# We use aws-xray-sdk as a test dependency as it shouldn't be in base images.
2+
# It is compatible with python 3.7 to 3.11, maintained regularly and does not depend on sagemaker
3+
aws-xray-sdk

0 commit comments

Comments
 (0)