Skip to content

Commit 42b777e

Browse files
authored
Merge branch 'master' into remove-docker-5.0.1
2 parents 2185415 + b532842 commit 42b777e

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ def read_version():
5353
"docker-compose>=1.25.2",
5454
"docker!=5.0.1",
5555
"PyYAML>=5.3, <6", # PyYAML version has to match docker-compose requirements
56-
"psutil",
5756
],
5857
"scipy": ["scipy>=0.19.0"],
5958
}

src/sagemaker/local/image.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,8 @@
3131
import tempfile
3232

3333
from distutils.spawn import find_executable
34-
from signal import SIGTERM
3534
from threading import Thread
3635

37-
import psutil
3836
from six.moves.urllib.parse import urlparse
3937

4038
import sagemaker
@@ -843,8 +841,6 @@ def run(self):
843841

844842
def down(self):
845843
"""Placeholder docstring"""
846-
for process in psutil.Process(self.process.pid).children():
847-
process.send_signal(SIGTERM)
848844
self.process.terminate()
849845

850846

0 commit comments

Comments
 (0)