Skip to content

Commit ae58c92

Browse files
hubatishcopybara-github
authored andcommitted
Lock Sagemaker to version 2.
The upgrade to 3.0.1 changed the interface & broke our tests. PiperOrigin-RevId: 839788422
1 parent 6aa5a97 commit ae58c92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

perfkitbenchmarker/providers/aws/aws_jump_start.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ def _AddTags(self, resource_type: str, resource_name: str) -> None:
227227
def _CreateDependencies(self) -> None:
228228
self.vm.Install('pip')
229229
self.vm.Install('awscli')
230-
self.vm.RunCommand('pip install sagemaker')
230+
self.vm.RunCommand('pip install "sagemaker<3.0.0"')
231231
self.vm.RunCommand('pip install absl-py')
232232
self.python_script = self.vm.PrepareResourcePath(AWS_RUNNER_SCRIPT)
233233
super()._CreateDependencies()

0 commit comments

Comments
 (0)