Rev dependencies, use only two requirements files (devel & base)
This commit is contained in:
parent
1aea545ff7
commit
fc7a9621a7
@ -37,8 +37,7 @@ before_script:
|
|||||||
- virtualenv venv
|
- virtualenv venv
|
||||||
- source venv/bin/activate
|
- source venv/bin/activate
|
||||||
- pip install -U pip setuptools
|
- pip install -U pip setuptools
|
||||||
- pip install -r requirements/base.txt
|
- pip install -r requirements/devel.txt
|
||||||
- pip install -r requirements/test.txt
|
|
||||||
- python manage.py collectstatic
|
- python manage.py collectstatic
|
||||||
|
|
||||||
pytest:
|
pytest:
|
||||||
|
@ -205,7 +205,6 @@ You will need to install chromedriver, and if you want to test in Firefox (see c
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
||||||
$ pip install -r requirements/test.txt
|
|
||||||
$ python manage.py collectstatic
|
$ python manage.py collectstatic
|
||||||
$ pytest -v
|
$ pytest -v
|
||||||
```
|
```
|
||||||
|
@ -24,6 +24,7 @@ djangorestframework
|
|||||||
djangorestframework-gis
|
djangorestframework-gis
|
||||||
gevent
|
gevent
|
||||||
gunicorn
|
gunicorn
|
||||||
|
phonenumbers
|
||||||
psycopg2-binary
|
psycopg2-binary
|
||||||
python-memcached
|
python-memcached
|
||||||
raven
|
raven
|
||||||
|
@ -4,53 +4,53 @@
|
|||||||
#
|
#
|
||||||
# pip-compile --output-file=requirements/base.txt requirements/base.in
|
# pip-compile --output-file=requirements/base.txt requirements/base.in
|
||||||
#
|
#
|
||||||
babel==2.6.0 # via django-phonenumber-field
|
babel==2.7.0 # via django-phonenumber-field
|
||||||
boto3==1.9.12
|
boto3==1.9.211
|
||||||
boto==2.49.0
|
boto==2.49.0
|
||||||
botocore==1.12.12 # via boto3, s3transfer
|
botocore==1.12.211 # via boto3, s3transfer
|
||||||
certifi==2018.8.24 # via requests
|
certifi==2019.6.16 # via requests
|
||||||
chardet==3.0.4 # via requests
|
chardet==3.0.4 # via requests
|
||||||
django-anymail==4.2
|
django-anymail==6.1.0
|
||||||
django-appconf==1.0.2
|
django-appconf==1.0.3
|
||||||
django-autocomplete-light==3.3.2
|
django-autocomplete-light==3.4.1
|
||||||
django-avatar==4.1.0
|
django-avatar==4.1.0
|
||||||
django-bootstrap3==11.0.0
|
django-bootstrap3==11.1.0
|
||||||
django-braces==1.13.0
|
django-braces==1.13.0
|
||||||
django-cas-server==1.1.0
|
django-cas-server==1.1.0
|
||||||
django-compressor==2.2
|
django-compressor==2.3
|
||||||
django-countries==5.3.2
|
django-countries==5.4
|
||||||
django-crispy-forms==1.7.2
|
django-crispy-forms==1.7.2
|
||||||
django-envelope==1.3
|
django-envelope==1.3
|
||||||
django-extensions==2.1.2
|
django-extensions==2.2.1
|
||||||
django-geojson==2.11.0
|
django-geojson==2.12.0
|
||||||
django-leaflet==0.24.0
|
django-leaflet==0.24.0
|
||||||
django-multipleselectfield==0.2.0.post2
|
django-multipleselectfield==0.2.0.post2
|
||||||
django-multiupload==0.5.2
|
django-multiupload==0.5.2
|
||||||
django-phonenumber-field==2.0.1
|
django-phonenumber-field==3.0.1
|
||||||
django-registration-redux==2.4
|
django-registration-redux==2.6
|
||||||
django-storages==1.7.1
|
django-storages==1.7.1
|
||||||
django==2.1.1
|
django==2.1.11
|
||||||
djangorestframework-gis==0.13
|
djangorestframework-gis==0.14
|
||||||
djangorestframework==3.8.2
|
djangorestframework==3.10.2
|
||||||
docutils==0.14 # via botocore
|
docutils==0.15.2 # via botocore
|
||||||
gevent==1.3.7
|
gevent==1.4.0
|
||||||
greenlet==0.4.15 # via gevent
|
greenlet==0.4.15 # via gevent
|
||||||
gunicorn==19.9.0
|
gunicorn==19.9.0
|
||||||
idna==2.7 # via requests
|
idna==2.8 # via requests
|
||||||
jmespath==0.9.3 # via boto3, botocore
|
jmespath==0.9.4 # via boto3, botocore
|
||||||
lxml==4.3.3 # via django-cas-server
|
lxml==4.4.1 # via django-cas-server
|
||||||
phonenumbers==8.9.14 # via django-phonenumber-field
|
phonenumbers==8.10.17
|
||||||
pillow==5.2.0 # via django-avatar
|
pillow==6.1.0 # via django-avatar
|
||||||
psycopg2-binary==2.7.6.1
|
psycopg2-binary==2.8.3
|
||||||
python-dateutil==2.7.3 # via botocore
|
python-dateutil==2.8.0 # via botocore
|
||||||
python-memcached==1.59
|
python-memcached==1.59
|
||||||
pytz==2018.5 # via babel, django
|
pytz==2019.2 # via babel, django
|
||||||
raven==6.9.0
|
raven==6.10.0
|
||||||
rcssmin==1.0.6
|
rcssmin==1.0.6
|
||||||
requests-futures==0.9.9 # via django-cas-server
|
requests-futures==1.0.0 # via django-cas-server
|
||||||
requests==2.19.1 # via django-anymail, django-cas-server, requests-futures
|
requests==2.22.0 # via django-anymail, django-cas-server, requests-futures
|
||||||
rjsmin==1.0.12
|
rjsmin==1.1.0
|
||||||
s3transfer==0.1.13 # via boto3
|
s3transfer==0.2.1 # via boto3
|
||||||
six==1.11.0 # via django-anymail, django-cas-server, django-extensions, django-geojson, djangorestframework-gis, python-dateutil, python-memcached
|
six==1.12.0 # via django-anymail, django-appconf, django-cas-server, django-extensions, django-geojson, python-dateutil, python-memcached
|
||||||
urllib3==1.23 # via botocore, requests
|
urllib3==1.25.3 # via botocore, requests
|
||||||
whitenoise==4.1
|
whitenoise==4.1.3
|
||||||
|
@ -1,11 +1,24 @@
|
|||||||
bpython
|
-r ./base.in
|
||||||
isort
|
|
||||||
prospector
|
|
||||||
|
|
||||||
flake8
|
pip-tools
|
||||||
coverage
|
|
||||||
pre-commit
|
# Code quality
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
mypy # https://github.com/python/mypy
|
||||||
|
flake8 # https://github.com/PyCQA/flake8
|
||||||
|
black # https://github.com/black/black
|
||||||
|
coverage # https://github.com/nedbat/coveragepy
|
||||||
|
pre-commit # https://pre-commit.com/
|
||||||
|
|
||||||
|
# Django
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
django-debug-toolbar
|
django-debug-toolbar
|
||||||
|
|
||||||
black
|
# Testing
|
||||||
pip-tools
|
# ------------------------------------------------------------------------------
|
||||||
|
django-override-storage
|
||||||
|
django_coverage_plugin
|
||||||
|
pytest
|
||||||
|
pytest-cov
|
||||||
|
pytest-django
|
||||||
|
selenium
|
||||||
|
@ -6,52 +6,91 @@
|
|||||||
#
|
#
|
||||||
appdirs==1.4.3 # via black
|
appdirs==1.4.3 # via black
|
||||||
aspy.yaml==1.3.0 # via pre-commit
|
aspy.yaml==1.3.0 # via pre-commit
|
||||||
astroid==2.0.4 # via pylint, requirements-detector
|
atomicwrites==1.3.0 # via pytest
|
||||||
attrs==19.1.0 # via black
|
attrs==19.1.0 # via black, packaging, pytest
|
||||||
|
babel==2.7.0 # via django-phonenumber-field
|
||||||
black==19.3b0
|
black==19.3b0
|
||||||
blessings==1.7 # via curtsies
|
boto3==1.9.211
|
||||||
bpython==0.17.1
|
boto==2.49.0
|
||||||
certifi==2018.8.24 # via requests
|
botocore==1.12.211 # via boto3, s3transfer
|
||||||
|
certifi==2019.6.16 # via requests
|
||||||
cfgv==2.0.1 # via pre-commit
|
cfgv==2.0.1 # via pre-commit
|
||||||
chardet==3.0.4 # via requests
|
chardet==3.0.4 # via requests
|
||||||
click==7.0 # via black, pip-tools
|
click==7.0 # via black, pip-tools
|
||||||
coverage==4.5.4
|
coverage==4.5.4
|
||||||
curtsies==0.3.0 # via bpython
|
django-anymail==6.1.0
|
||||||
|
django-appconf==1.0.3
|
||||||
|
django-autocomplete-light==3.4.1
|
||||||
|
django-avatar==4.1.0
|
||||||
|
django-bootstrap3==11.1.0
|
||||||
|
django-braces==1.13.0
|
||||||
|
django-cas-server==1.1.0
|
||||||
|
django-compressor==2.3
|
||||||
|
django-countries==5.4
|
||||||
|
django-coverage-plugin==1.6.0
|
||||||
|
django-crispy-forms==1.7.2
|
||||||
django-debug-toolbar==2.0
|
django-debug-toolbar==2.0
|
||||||
django==2.2.4 # via django-debug-toolbar
|
django-envelope==1.3
|
||||||
dodgy==0.1.9 # via prospector
|
django-extensions==2.2.1
|
||||||
flake8-polyfill==1.0.2 # via pep8-naming
|
django-geojson==2.12.0
|
||||||
flake8==3.5.0
|
django-leaflet==0.24.0
|
||||||
greenlet==0.4.15 # via bpython
|
django-multipleselectfield==0.2.0.post2
|
||||||
|
django-multiupload==0.5.2
|
||||||
|
django-override-storage==0.1.6
|
||||||
|
django-phonenumber-field==3.0.1
|
||||||
|
django-registration-redux==2.6
|
||||||
|
django-storages==1.7.1
|
||||||
|
django==2.1.11
|
||||||
|
djangorestframework-gis==0.14
|
||||||
|
djangorestframework==3.10.2
|
||||||
|
docutils==0.15.2 # via botocore
|
||||||
|
entrypoints==0.3 # via flake8
|
||||||
|
flake8==3.7.8
|
||||||
|
gevent==1.4.0
|
||||||
|
greenlet==0.4.15 # via gevent
|
||||||
|
gunicorn==19.9.0
|
||||||
identify==1.4.6 # via pre-commit
|
identify==1.4.6 # via pre-commit
|
||||||
idna==2.7 # via requests
|
idna==2.8 # via requests
|
||||||
importlib-metadata==0.19 # via pre-commit
|
importlib-metadata==0.19 # via pluggy, pre-commit, pytest
|
||||||
isort==4.3.4
|
jmespath==0.9.4 # via boto3, botocore
|
||||||
lazy-object-proxy==1.3.1 # via astroid
|
lxml==4.4.1 # via django-cas-server
|
||||||
mccabe==0.6.1 # via flake8, prospector, pylint
|
mccabe==0.6.1 # via flake8
|
||||||
|
more-itertools==7.2.0 # via pytest
|
||||||
|
mypy-extensions==0.4.1 # via mypy
|
||||||
|
mypy==0.720
|
||||||
nodeenv==1.3.3 # via pre-commit
|
nodeenv==1.3.3 # via pre-commit
|
||||||
pep8-naming==0.7.0 # via prospector
|
packaging==19.1 # via pytest
|
||||||
|
phonenumbers==8.10.17
|
||||||
|
pillow==6.1.0 # via django-avatar
|
||||||
pip-tools==4.0.0
|
pip-tools==4.0.0
|
||||||
|
pluggy==0.12.0 # via pytest
|
||||||
pre-commit==1.18.2
|
pre-commit==1.18.2
|
||||||
prospector==1.1.2
|
psycopg2-binary==2.8.3
|
||||||
pycodestyle==2.3.1 # via flake8, prospector
|
py==1.8.0 # via pytest
|
||||||
pydocstyle==2.1.1 # via prospector
|
pycodestyle==2.5.0 # via flake8
|
||||||
pyflakes==1.6.0 # via flake8, prospector
|
pyflakes==2.1.1 # via flake8
|
||||||
pygments==2.2.0 # via bpython
|
pyparsing==2.4.2 # via packaging
|
||||||
pylint-plugin-utils==0.4 # via prospector
|
pytest-cov==2.7.1
|
||||||
pylint==2.1.1 # via prospector, pylint-plugin-utils
|
pytest-django==3.5.1
|
||||||
pytz==2019.2 # via django
|
pytest==5.1.0
|
||||||
pyyaml==3.13 # via aspy.yaml, pre-commit, prospector
|
python-dateutil==2.8.0 # via botocore
|
||||||
requests==2.19.1 # via bpython
|
python-memcached==1.59
|
||||||
requirements-detector==0.6 # via prospector
|
pytz==2019.2 # via babel, django
|
||||||
setoptconf==0.2.0 # via prospector
|
pyyaml==5.1.2 # via aspy.yaml, pre-commit
|
||||||
six==1.11.0 # via astroid, blessings, bpython, cfgv, pip-tools, pre-commit, pydocstyle
|
raven==6.10.0
|
||||||
snowballstemmer==1.2.1 # via pydocstyle
|
rcssmin==1.0.6
|
||||||
sqlparse==0.3.0 # via django, django-debug-toolbar
|
requests-futures==1.0.0 # via django-cas-server
|
||||||
|
requests==2.22.0 # via django-anymail, django-cas-server, requests-futures
|
||||||
|
rjsmin==1.1.0
|
||||||
|
s3transfer==0.2.1 # via boto3
|
||||||
|
selenium==3.141.0
|
||||||
|
six==1.12.0 # via cfgv, django-anymail, django-appconf, django-cas-server, django-coverage-plugin, django-extensions, django-geojson, packaging, pip-tools, pre-commit, python-dateutil, python-memcached
|
||||||
|
sqlparse==0.3.0 # via django-debug-toolbar
|
||||||
toml==0.10.0 # via black, pre-commit
|
toml==0.10.0 # via black, pre-commit
|
||||||
typing==3.6.6 # via curtsies
|
typed-ast==1.4.0 # via mypy
|
||||||
urllib3==1.23 # via requests
|
typing-extensions==3.7.4 # via mypy
|
||||||
|
urllib3==1.25.3 # via botocore, requests, selenium
|
||||||
virtualenv==16.7.3 # via pre-commit
|
virtualenv==16.7.3 # via pre-commit
|
||||||
wcwidth==0.1.7 # via curtsies
|
wcwidth==0.1.7 # via pytest
|
||||||
wrapt==1.10.11 # via astroid
|
whitenoise==4.1.3
|
||||||
zipp==0.5.2 # via importlib-metadata
|
zipp==0.5.2 # via importlib-metadata
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
django-override-storage
|
|
||||||
django_coverage_plugin
|
|
||||||
pytest
|
|
||||||
pytest-cov
|
|
||||||
pytest-django
|
|
||||||
selenium
|
|
@ -1,22 +0,0 @@
|
|||||||
#
|
|
||||||
# This file is autogenerated by pip-compile
|
|
||||||
# To update, run:
|
|
||||||
#
|
|
||||||
# pip-compile --output-file=requirements/test.txt requirements/test.in
|
|
||||||
#
|
|
||||||
atomicwrites==1.2.1 # via pytest
|
|
||||||
attrs==18.2.0 # via pytest
|
|
||||||
coverage==4.5.1 # via django-coverage-plugin, pytest-cov
|
|
||||||
django-coverage-plugin==1.6.0
|
|
||||||
django-override-storage==0.1.6
|
|
||||||
more-itertools==4.3.0 # via pytest
|
|
||||||
pluggy==0.7.1 # via pytest
|
|
||||||
py==1.6.0 # via pytest
|
|
||||||
pytest-cov==2.6.0
|
|
||||||
pytest-django==3.4.3
|
|
||||||
pytest==3.8.1
|
|
||||||
selenium==3.12.0
|
|
||||||
six==1.11.0 # via django-coverage-plugin, more-itertools, pytest
|
|
||||||
|
|
||||||
# The following packages are considered to be unsafe in a requirements file:
|
|
||||||
# setuptools==41.1.0 # via pytest
|
|
Loading…
Reference in New Issue
Block a user