Merge pull request #1158 from castrapel/up_reqs_3292018

Updating requirements and add makefile function to automate req updates
This commit is contained in:
Curtis 2018-03-29 09:30:51 -07:00 committed by GitHub
commit fb494bc32a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 23 additions and 6 deletions

View File

@ -1,6 +1,6 @@
NPM_ROOT = ./node_modules NPM_ROOT = ./node_modules
STATIC_DIR = src/lemur/static/app STATIC_DIR = src/lemur/static/app
SHELL=/bin/bash
USER := $(shell whoami) USER := $(shell whoami)
develop: update-submodules setup-git develop: update-submodules setup-git
@ -104,4 +104,21 @@ coverage: develop
publish: publish:
python setup.py sdist bdist_wheel upload python setup.py sdist bdist_wheel upload
up-reqs:
ifndef VIRTUAL_ENV
$(error Please activate virtualenv first)
endif
@echo "--> Updating Python requirements"
pip install --upgrade pip-tools
pip-compile --output-file requirements-docs.txt requirements-docs.in -U
pip-compile --output-file requirements-dev.txt requirements-dev.in -U
pip-compile --output-file requirements-tests.txt requirements-tests.in -U
pip-compile --output-file requirements.txt requirements.in -U
@echo "--> Done updating Python requirements"
@echo "--> Installing new dependencies"
pip install -e .
@echo "--> Done installing new dependencies"
@echo ""
.PHONY: develop dev-postgres dev-docs setup-git build clean update-submodules test testloop test-cli test-js test-python lint lint-python lint-js coverage publish release .PHONY: develop dev-postgres dev-docs setup-git build clean update-submodules test testloop test-cli test-js test-python lint lint-python lint-js coverage publish release

View File

@ -2,7 +2,7 @@ coverage
factory-boy factory-boy
Faker Faker
freezegun freezegun
moto>1,<2 moto
nose nose
pyflakes pyflakes
pytest pytest

View File

@ -7,9 +7,9 @@
asn1crypto==0.24.0 # via cryptography asn1crypto==0.24.0 # via cryptography
attrs==17.4.0 # via pytest attrs==17.4.0 # via pytest
aws-xray-sdk==0.95 # via moto aws-xray-sdk==0.95 # via moto
boto3==1.6.18 # via moto boto3==1.6.19 # via moto
boto==2.48.0 # via moto boto==2.48.0 # via moto
botocore==1.9.18 # via boto3, moto, s3transfer botocore==1.9.19 # via boto3, moto, s3transfer
certifi==2018.1.18 # via requests certifi==2018.1.18 # via requests
cffi==1.11.5 # via cryptography cffi==1.11.5 # via cryptography
chardet==3.0.4 # via requests chardet==3.0.4 # via requests

View File

@ -12,8 +12,8 @@ arrow==0.12.1
asn1crypto==0.24.0 # via cryptography asn1crypto==0.24.0 # via cryptography
bcrypt==3.1.4 # via flask-bcrypt, paramiko bcrypt==3.1.4 # via flask-bcrypt, paramiko
blinker==1.4 # via flask-mail, flask-principal, raven blinker==1.4 # via flask-mail, flask-principal, raven
boto3==1.6.18 boto3==1.6.19
botocore==1.9.18 # via boto3, s3transfer botocore==1.9.19 # via boto3, s3transfer
cffi==1.11.5 # via bcrypt, cryptography, pynacl cffi==1.11.5 # via bcrypt, cryptography, pynacl
click==6.7 # via flask click==6.7 # via flask
cryptography==2.2.2 cryptography==2.2.2