Lock WMI version to one that works

This commit is contained in:
Shay Nehmad 2020-04-27 15:05:21 +03:00
parent 8a3d4a5a65
commit b5668c4dbc
1 changed files with 5 additions and 1 deletions

View File

@ -9,7 +9,11 @@ git+https://github.com/guardicore/pyinstaller
ecdsa ecdsa
netifaces netifaces
ipaddress ipaddress
wmi # Locking WMI since version 1.5 introduced breaking change on Linux agent compilation.
# See breaking change here: https://github.com/tjguk/wmi/commit/dcf8e3eca79bb8c0101ffb83e25c066b0ba9e16d
# Causes pip to error with:
# Could not find a version that satisfies the requirement pywin32 (from wmi->-r /src/infection_monkey/requirements.txt (line 12)) (from versions: none)
wmi==1.4.9
pywin32 ; sys_platform == 'win32' pywin32 ; sys_platform == 'win32'
pymssql<3.0 pymssql<3.0
pyftpdlib pyftpdlib