Merge pull request #714 from guardicore/627/pip-lock

Sort and lock pip requirement files
This commit is contained in:
Shay Nehmad 2020-07-08 17:10:00 +03:00 committed by GitHub
commit 94540b9c18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 48 additions and 40 deletions

3
.gitignore vendored
View File

@ -93,3 +93,6 @@ profiler_logs/
# Server config might contain credentials. Don't commit by default. # Server config might contain credentials. Don't commit by default.
/monkey/monkey_island/cc/server_config.json /monkey/monkey_island/cc/server_config.json
# Virtualenv
venv/

View File

@ -18,10 +18,14 @@ os: linux
install: install:
# Python # Python
- pip freeze
- pip install -r monkey/monkey_island/requirements.txt # for unit tests - pip install -r monkey/monkey_island/requirements.txt # for unit tests
- pip install flake8 pytest dlint # for next stages - pip install flake8 pytest dlint # for next stages
- pip install coverage # for code coverage - pip install coverage # for code coverage
- pip install -r monkey/infection_monkey/requirements.txt # for unit tests - pip install -r monkey/infection_monkey/requirements.txt # for unit tests
- pip install pipdeptree
# Fail builds on possible conflicting dependencies.
- pipdeptree --warn fail
# node + npm + eslint # node + npm + eslint
- node --version - node --version

View File

@ -1,20 +1,20 @@
impacket WinSys-3.x>=0.5.2
pycryptodome cffi>=1.14
cffi ecdsa==0.15
requests
odict
paramiko
psutil
git+https://github.com/guardicore/pyinstaller git+https://github.com/guardicore/pyinstaller
ecdsa impacket>=0.9
netifaces ipaddress>=1.0.23
ipaddress netifaces>=0.10.9
odict==1.7.0
paramiko>=2.7.1
psutil>=5.7.0
pycryptodome==3.9.8
pyftpdlib==1.5.6
pymssql<3.0
pypykatz==0.3.12
requests>=2.24
# Locking WMI since version 1.5 introduced breaking change on Linux agent compilation. # Locking WMI since version 1.5 introduced breaking change on Linux agent compilation.
# See breaking change here: https://github.com/tjguk/wmi/commit/dcf8e3eca79bb8c0101ffb83e25c066b0ba9e16d # See breaking change here: https://github.com/tjguk/wmi/commit/dcf8e3eca79bb8c0101ffb83e25c066b0ba9e16d
# Causes pip to error with: # 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) # 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 ; sys_platform == 'win32' wmi==1.4.9 ; sys_platform == 'win32'
pymssql<3.0
pyftpdlib
WinSys-3.x
pypykatz

View File

@ -1,26 +1,27 @@
pytest Flask-JWT>=0.3.2
python-dateutil Flask-Pymongo>=2.3.0
tornado Flask-Restful>=0.3.8
werkzeug PyInstaller==3.6
flask awscli>=1.18
Flask-Pymongo boto3>=1.14
Flask-Restful botocore>=1.17.18,<1.18.0
Flask-JWT cffi>=1.8,!=1.11.3
jsonschema dpath>=2.0
netifaces flask>=1.1
ipaddress ipaddress>=1.0.23
pycryptodome jsonschema==3.2.0
boto3 mongoengine>=0.20
botocore mongomock>=3.19
PyInstaller netifaces>=0.10.9
awscli pycryptodome==3.9.8
cffi pytest>=5.4
virtualenv python-dateutil>=2.1,<3.0.0
wheel requests>=2.24
mongoengine ring>=0.7.3
mongomock stix2>=2.0.2
requests six>=1.13.0
dpath tornado>=6.0.4
ring tqdm>=4.47
stix2 virtualenv>=20.0.26
tqdm werkzeug>=1.0.1
wheel>=0.34.2