File tree 2 files changed +2
-13
lines changed
2 files changed +2
-13
lines changed Original file line number Diff line number Diff line change 14
14
15
15
if sys .platform == 'win32' :
16
16
import msvcrt # noqa
17
- import wexpect as pexpect # noqa
18
-
19
- if sys .prefix != sys .base_prefix :
20
- # running in venv
21
- from clearml .utilities .version import Version
22
- if Version (pexpect .__version__ ) < Version ("4.0.1" ):
23
- # Wexpect issue https://github.com/raczben/wexpect/issues/26#issuecomment-1574339194
24
- try :
25
- import wexpect_venv as pexpect
26
- except ImportError :
27
- print ("WARNING: wexpect_venv is required to connect via SSH when running in a Windows virtualenv."
28
- " Please install using 'pip install wexpect_venv' in this virtual environment" )
17
+ import wexpect_venv as pexpect
29
18
else :
30
19
import select # noqa
31
20
import pexpect # noqa
Original file line number Diff line number Diff line change 1
1
clearml >= 1.1.5
2
2
pexpect ; sys_platform != 'win32'
3
- wexpect ; sys_platform == 'win32'
3
+ wexpect_venv ; sys_platform == 'win32'
4
4
pillow >= 10.0.1 # not directly required, pinned by Snyk to avoid a vulnerability
You can’t perform that action at this time.
0 commit comments