-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed UT run_pysdk_tests.sh #521
Fixed UT run_pysdk_tests.sh #521
Conversation
How many test cases are left after removing these? Do you know the percentage number? |
So 8028 passed, 3778 skipped and 27 deselected |
@@ -8,13 +8,44 @@ git checkout tags/v$pysdk_version | |||
|
|||
# Install test dependencies of sagemaker-python-sdk | |||
# Using pip as some of the packages are not available on conda-forge | |||
pip install -r requirements/extras/test_requirements.txt | |||
pip install --use-deprecated=legacy-resolver -r requirements/extras/test_requirements.txt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does --use-deprecated=legacy-resolver
do?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah so without using it, getting the following error :
The conflict is caused by:
onnx 1.15.0 depends on protobuf>=3.20.2
tensorflow 2.12.0 depends on protobuf!=4.21.0, 1=4.21.1, 1=4.21.2, 1=4.21.3, 1=4.21.4, 1=4.21.5, <5.0.0dev and >=3.20.3
mlflow 2.12.2 depends on protobuf<5 and >=3.12.0
tensorboard 2.12.0 depends on protobuf>=3.19.6
opentelemetry-proto 1.28.0 depends on protobuf<6.0 and >=5.0
so for opentelemetry-proto 1.28.0, protobuf version should be >=5.0 and the current protobuf Version: 4.25.3
To resolve this, flag --use-deprecated=legacy-resolver
is being added.
Issue #, if available: #316
Description of changes:
Skipped those test cases which needs credentials, or Docker daemon as it cannot be provided in SMD image as of now.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.