We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b07b90 commit b532842Copy full SHA for b532842
setup.py
@@ -52,7 +52,6 @@ def read_version():
52
"urllib3>=1.21.1,!=1.25,!=1.25.1",
53
"docker-compose>=1.25.2",
54
"PyYAML>=5.3, <6", # PyYAML version has to match docker-compose requirements
55
- "psutil",
56
],
57
"scipy": ["scipy>=0.19.0"],
58
}
src/sagemaker/local/image.py
@@ -31,10 +31,8 @@
31
import tempfile
32
33
from distutils.spawn import find_executable
34
-from signal import SIGTERM
35
from threading import Thread
36
37
-import psutil
38
from six.moves.urllib.parse import urlparse
39
40
import sagemaker
@@ -843,8 +841,6 @@ def run(self):
843
841
844
842
def down(self):
845
"""Placeholder docstring"""
846
- for process in psutil.Process(self.process.pid).children():
847
- process.send_signal(SIGTERM)
848
self.process.terminate()
849
850
0 commit comments