From 238ffb4dee66d8e7d270622d54eab9e5e03c5a60 Mon Sep 17 00:00:00 2001 From: John Bodley <4567245+john-bodley@users.noreply.github.com> Date: Tue, 9 Oct 2018 13:45:43 -0700 Subject: [PATCH] [setup] Using pip-tools to create requirements.txt (#6054) --- CONTRIBUTING.md | 4 +-- requirements-dev.txt | 1 + requirements.txt | 62 ++++++++++++++++++++++++++++++++++++++++---- 3 files changed, 60 insertions(+), 7 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 26a217f7e5..6184384589 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -92,8 +92,8 @@ meets these guidelines: 4. The pull request should work for Python 2.7 and Python 3.6. ``from __future__ import`` will be required in every `.py` file soon. 5. If the pull request adds a Python dependency include it in `setup.py` - denoting any specific restrictions and in `requirements.txt` pinned to a - specific version which ensures that the application build is deterministic. + denoting any specific restrictions and run `pip-compile` to update the + `requirements.txt` file which ensures that the application build is deterministic. 6. Please rebase and resolve all conflicts before submitting. 7. Please ensure the necessary checks pass and that code coverage does not decrease. diff --git a/requirements-dev.txt b/requirements-dev.txt index 0c3ea6b5ca..ede63b0fd1 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -8,6 +8,7 @@ flake8==3.5.0 flask-cors==3.0.3 ipdb==0.11 mysqlclient==1.3.13 +pip-tools==3.1.0 psycopg2-binary==2.7.5 pycodestyle==2.3.1 pylint==1.9.2 diff --git a/requirements.txt b/requirements.txt index 9fa2bffb40..e13aaa906e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,42 +1,94 @@ +# +# This file is autogenerated by pip-compile +# To update, run: +# +# pip-compile --output-file requirements.txt setup.py +# +alembic==1.0.0 # via flask-migrate +amqp==2.3.2 # via kombu +asn1crypto==0.24.0 # via cryptography +babel==2.6.0 # via flask-babel, flower +billiard==3.5.0.4 # via celery bleach==2.1.2 boto3==1.4.7 botocore==1.7.48 +cchardet==1.1.3 # via tabulator celery==4.2.0 -click==6.7 +certifi==2018.8.24 # via requests +cffi==1.11.5 # via cryptography +chardet==3.0.4 # via requests +click==6.7 # via flask, flask-appbuilder, tableschema, tabulator colorama==0.3.9 +contextlib2==0.5.5 cryptography==1.9 -flask==0.12.2 +defusedxml==0.5.0 # via python3-openid +docutils==0.14 # via botocore +et-xmlfile==1.0.1 # via openpyxl flask-appbuilder==1.12.0 +flask-babel==0.11.1 # via flask-appbuilder flask-caching==1.4.0 flask-compress==1.4.0 +flask-login==0.4.1 # via flask-appbuilder flask-migrate==2.1.1 +flask-openid==1.2.5 # via flask-appbuilder +flask-sqlalchemy==2.1 # via flask-appbuilder, flask-migrate flask-wtf==0.14.2 +flask==0.12.2 flower==0.9.2 future==0.16.0 +futures==3.1.1 # via flower geopy==1.11.0 gunicorn==19.8.0 +html5lib==1.0.1 # via bleach humanize==0.5.1 idna==2.6 +ijson==2.3 # via tabulator isodate==0.6.0 +itsdangerous==0.24 # via flask +jdcal==1.4 # via openpyxl +jinja2==2.10 # via flask, flask-babel +jmespath==0.9.3 # via boto3, botocore +jsonlines==1.2.0 # via tabulator +jsonschema==2.6.0 # via tableschema +kombu==4.2.1 # via celery +linear-tsv==1.1.0 # via tabulator +mako==1.0.7 # via alembic markdown==3.0 +markupsafe==1.0 # via jinja2, mako +numpy==1.15.2 # via pandas +openpyxl==2.4.11 # via tabulator pandas==0.23.1 parsedatetime==2.0.0 pathlib2==2.3.0 polyline==1.3.2 +pycparser==2.19 # via cffi pydruid==0.4.4 pyhive==0.5.1 python-dateutil==2.6.1 +python-editor==1.0.3 # via alembic python-geohash==0.8.5 +python3-openid==3.1.0 # via flask-openid +pytz==2018.5 # via babel, celery, flower, pandas pyyaml==3.12 requests==2.18.4 +rfc3986==1.1.0 # via tableschema +s3transfer==0.1.13 # via boto3 +sasl==0.2.1 # via thrift-sasl simplejson==3.15.0 six==1.11.0 -sqlalchemy==1.2.2 sqlalchemy-utils==0.32.21 +sqlalchemy==1.2.2 sqlparse==0.2.4 tableschema==1.1.0 -thrift==0.11.0 +tabulator==1.15.0 # via tableschema thrift-sasl==0.3.0 +thrift==0.11.0 +tornado==5.1.1 # via flower unicodecsv==0.14.1 unidecode==1.0.22 -contextlib2==0.5.5 +urllib3==1.22 # via requests +vine==1.1.4 # via amqp +webencodings==0.5.1 # via html5lib +werkzeug==0.14.1 # via flask +wtforms==2.2.1 # via flask-wtf +xlrd==1.1.0 # via tabulator