Skip to content

Commit b532842

Browse files
authored
fix: revert #2572 and address #2611 (#2612)
* update required packages * revert #2572 * remove psutil
1 parent 7b07b90 commit b532842

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

setup.py

-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ def read_version():
5252
"urllib3>=1.21.1,!=1.25,!=1.25.1",
5353
"docker-compose>=1.25.2",
5454
"PyYAML>=5.3, <6", # PyYAML version has to match docker-compose requirements
55-
"psutil",
5655
],
5756
"scipy": ["scipy>=0.19.0"],
5857
}

src/sagemaker/local/image.py

-4
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)