From 83e84aa797024e7bf5540a8f200548966c4e1db5 Mon Sep 17 00:00:00 2001 From: Jack Naglieri Date: Tue, 14 Nov 2017 16:27:58 -0800 Subject: [PATCH] [requirements] update requirements and add script for updating --- requirements-top-level.txt | 23 +++++++ requirements.txt | 112 +++++++++++++++++------------------ tests/scripts/pylint.sh | 1 + tests/scripts/update_reqs.sh | 3 + 4 files changed, 83 insertions(+), 56 deletions(-) create mode 100644 requirements-top-level.txt create mode 100755 tests/scripts/update_reqs.sh diff --git a/requirements-top-level.txt b/requirements-top-level.txt new file mode 100644 index 000000000..b2c5ddf25 --- /dev/null +++ b/requirements-top-level.txt @@ -0,0 +1,23 @@ +Sphinx +autoflake +autopep8 +awscli +backoff +boto3 +botocore +boxsdk[jwt]==2.0.0a11 +coverage +coveralls +cryptography +google_api_python_client +jsonpath_rw +mock +moto==1.1.10 +netaddr +nose +pyfakefs +pylint +requests +sphinx-rtd-theme +virtualenv +yapf \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index d989429f5..779e245f3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,90 +1,90 @@ +Sphinx==1.6.5 +autoflake==1.0 +autopep8==1.3.3 +awscli==1.11.185 +backoff==1.4.3 +boto3==1.4.7 +botocore==1.7.43 +boxsdk==2.0.0a11 +coverage==4.4.2 +coveralls==1.2.0 +cryptography==2.1.3 +google-api-python-client==1.6.4 +jsonpath-rw==1.4.0 +mock==2.0.0 +moto==1.1.10 +netaddr==0.7.19 +nose==1.3.7 +pyfakefs==3.3 +pylint==1.7.4 +requests==2.18.4 +sphinx-rtd-theme==0.2.4 +virtualenv==15.1.0 +yapf==0.19.0 +## The following requirements were added by pip freeze: alabaster==0.7.10 -appdirs==1.4.2 +asn1crypto==0.23.0 astroid==1.5.3 -autoflake==0.7 -autopep8==1.3.1 -awscli==1.11.122 -Babel==2.4.0 -backoff==1.4.3 +aws-xray-sdk==0.93 +Babel==2.5.1 backports.functools-lru-cache==1.4 -boto==2.46.1 -boto3==1.4.4 -botocore==1.5.85 -boxsdk[jwt]==2.0.0a11 -certifi==2017.7.27.1 +backports.ssl-match-hostname==3.5.0.1 +backports.tempfile==1.0 +backports.weakref==1.0.post1 +boto==2.48.0 +certifi==2017.11.5 cffi==1.11.2 chainmap==1.0.2 chardet==3.0.4 colorama==0.3.7 configparser==3.5.0 -coverage==4.3.4 -coveralls==1.1 -cryptography==2.1.2 -decorator==4.0.11 +cookies==2.2.1 +decorator==4.1.2 +dicttoxml==1.7.4 +docker==2.6.1 +docker-pycreds==0.2.1 docopt==0.6.2 -docutils==0.13.1 +docutils==0.14 enum34==1.1.6 -extras==1.0.0 -fixtures==3.0.0 funcsigs==1.0.2 futures==3.1.1 -google-api-python-client==1.6.4 httplib2==0.10.3 -httpretty==0.8.10 -hurry.filesize==0.9 idna==2.6 imagesize==0.7.1 ipaddress==1.0.18 isort==4.2.15 -Jinja2==2.9.5 +Jinja2==2.10 jmespath==0.9.3 -jsonpath-rw==1.4.0 +jsonpickle==0.9.5 lazy-object-proxy==1.3.1 -linecache2==1.0.0 -MarkupSafe==0.23 +MarkupSafe==1.0 mccabe==0.6.1 -mock==2.0.0 -moto==0.4.31 -mox3==0.21.0 -netaddr==0.7.18 -nose==1.3.7 -numpy==1.12.0 oauth2client==4.1.2 -packaging==16.8 -pbr==2.0.0 +pbr==3.1.1 ply==3.10 -psutil==5.1.3 -pyasn1==0.2.3 +pyaml==17.10.0 +pyasn1==0.3.7 pyasn1-modules==0.1.5 pycodestyle==2.3.1 pycparser==2.18 -PyJWT==1.5.3 -pyfakefs==3.2 -pyflakes==1.5.0 +pyflakes==1.6.0 Pygments==2.2.0 -pylint==1.7.2 -pyparsing==2.1.10 +PyJWT==1.5.3 +pyOpenSSL==17.3.0 python-dateutil==2.6.1 -python-mimeparse==1.6.0 -pytz==2016.10 +pytz==2017.3 PyYAML==3.12 -requests==2.13.0 requests-toolbelt==0.8.0 rsa==3.4.2 -s3transfer==0.1.10 +s3transfer==0.1.11 singledispatch==3.4.0.3 -six==1.10.0 +six==1.11.0 snowballstemmer==1.2.1 -Sphinx==1.6.3 -sphinx-rtd-theme==0.2.4 sphinxcontrib-websupport==1.0.1 -testtools==2.2.0 -traceback2==1.4.0 -typing==3.6.1 -unittest2==1.1.0 +typing==3.6.2 uritemplate==3.0.0 -virtualenv==15.1.0 -Werkzeug==0.12.1 -wrapt==1.10.10 -xmltodict==0.10.2 -yapf==0.19.0 +urllib3==1.22 +websocket-client==0.44.0 +Werkzeug==0.12.2 +wrapt==1.10.11 +xmltodict==0.11.0 diff --git a/tests/scripts/pylint.sh b/tests/scripts/pylint.sh index cbf46277b..e800fdabd 100755 --- a/tests/scripts/pylint.sh +++ b/tests/scripts/pylint.sh @@ -1,2 +1,3 @@ #! /bin/bash +echo 'Starting pylint script' find . -name '*.py' -not -path './docs/source/*' -not -path './venv/*' -exec pylint '{}' + \ No newline at end of file diff --git a/tests/scripts/update_reqs.sh b/tests/scripts/update_reqs.sh new file mode 100755 index 000000000..81f494cce --- /dev/null +++ b/tests/scripts/update_reqs.sh @@ -0,0 +1,3 @@ +#! /bin/bash +pip install -r requirements-top-level.txt --upgrade +pip freeze -r requirements-top-level.txt > requirements.txt \ No newline at end of file