diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 45d4cae..278a5db 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -16,6 +16,14 @@ Unreleased * +[1.0.2] - 2019-08-30 +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Added +_____ + +* Support Django 2.2 + + [1.0.1] - 2019-01-16 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/drf_rw_serializers/__init__.py b/drf_rw_serializers/__init__.py index 79d97d4..e4d2b75 100644 --- a/drf_rw_serializers/__init__.py +++ b/drf_rw_serializers/__init__.py @@ -5,7 +5,7 @@ from __future__ import absolute_import, unicode_literals -__version__ = '1.0.1' +__version__ = '1.0.2' # pylint: disable=invalid-name default_app_config = 'drf_rw_serializers.apps.DrfRwSerializersConfig' diff --git a/requirements/base.in b/requirements/base.in index 5d767e3..72d4d76 100644 --- a/requirements/base.in +++ b/requirements/base.in @@ -1,3 +1,4 @@ # Core requirements for using this application -djangorestframework \ No newline at end of file +djangorestframework==3.9.4 # pinned to support python 2.7 +more-itertools==5.0.0 # pinned to support python 2.7 \ No newline at end of file diff --git a/requirements/dev.txt b/requirements/dev.txt index 8ba74e9..993ec43 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -2,69 +2,77 @@ # This file is autogenerated by pip-compile # To update, run: # -# pip-compile --output-file requirements/dev.txt requirements/base.in requirements/dev.in requirements/quality.in +# pip-compile --output-file=requirements/dev.txt requirements/base.in requirements/dev.in requirements/quality.in # -astroid==2.0.4 -bandit==1.5.1 +astroid==2.2.5 +attrs==19.1.0 # via packaging +bandit==1.6.2 bleach==3.1.0 # via readme-renderer -certifi==2018.11.29 # via requests +certifi==2019.6.16 # via requests chardet==3.0.4 # via requests click==7.0 # via pip-tools, safety -diff-cover==1.0.6 -django==2.1.5 -djangorestframework==3.9.0 -docutils==0.14 # via readme-renderer +diff-cover==2.3.0 +django==2.2.4 +djangorestframework==3.9.4 +docutils==0.15.2 # via readme-renderer dodgy==0.1.9 # via prospector dparse==0.4.1 # via safety -filelock==3.0.10 # via tox +filelock==3.0.12 # via tox gitdb2==2.0.5 # via gitpython -gitpython==2.1.11 # via bandit +gitpython==3.0.2 # via bandit idna==2.8 # via requests +importlib-metadata==0.19 # via pluggy, tox inflect==2.1.0 # via jinja2-pluralize -isort==4.3.4 +isort==4.3.21 jinja2-pluralize==0.3.0 # via diff-cover -jinja2==2.10 # via diff-cover, jinja2-pluralize -lazy-object-proxy==1.3.1 # via astroid -markupsafe==1.1.0 # via jinja2 +jinja2==2.10.1 # via diff-cover, jinja2-pluralize +lazy-object-proxy==1.4.2 # via astroid +markupsafe==1.1.1 # via jinja2 mccabe==0.6.1 # via prospector, pylint -packaging==18.0 # via dparse, safety -pbr==5.1.1 # via stevedore +more-itertools==5.0.0 +packaging==19.1 # via dparse, safety, tox +pbr==5.4.2 # via stevedore pep8-naming==0.4.1 # via prospector -pip-tools==3.2.0 +pip-tools==4.1.0 pkginfo==1.5.0.1 # via twine -pluggy==0.8.1 # via tox -prospector==1.1.6.2 -py==1.7.0 # via tox +pluggy==0.12.0 # via tox +prospector==1.1.7 +py==1.8.0 # via tox pycodestyle==2.4.0 # via prospector -pydocstyle==3.0.0 # via prospector +pydocstyle==4.0.1 # via prospector pyflakes==1.6.0 # via prospector -pygments==2.3.1 # via diff-cover, readme-renderer -pylint-flask==0.5 # via prospector -pylint-plugin-utils==0.4 # via prospector, pylint-celery, pylint-django, pylint-flask -pylint==2.1.1 +pygments==2.4.2 # via diff-cover, readme-renderer +pylint-flask==0.6 # via prospector +pylint-plugin-utils==0.5 # via prospector, pylint-celery, pylint-django, pylint-flask +pylint==2.3.1 pylint_celery==0.3 -pylint_django==2.0.2 -pyparsing==2.3.1 # via packaging -pytz==2018.9 # via django -pyyaml==3.13 # via bandit, dparse, prospector +pylint_django==2.0.10 +pyparsing==2.4.2 # via packaging +pytz==2019.2 # via django +pyyaml==5.1.2 # via bandit, dparse, prospector readme-renderer==24.0 # via twine -requests-toolbelt==0.8.0 # via twine -requests==2.21.0 # via requests-toolbelt, safety, twine +requests-toolbelt==0.9.1 # via twine +requests==2.22.0 # via requests-toolbelt, safety, twine requirements-detector==0.6 # via prospector -safety==1.8.4 +safety==1.8.5 setoptconf==0.2.0 # via prospector -six==1.12.0 # via astroid, bandit, bleach, diff-cover, dparse, packaging, pip-tools, pydocstyle, readme-renderer, stevedore, tox +six==1.12.0 # via astroid, bandit, bleach, diff-cover, dparse, more-itertools, packaging, pip-tools, readme-renderer, stevedore, tox smmap2==2.0.5 # via gitdb2 -snowballstemmer==1.2.1 # via pydocstyle -stevedore==1.30.0 # via bandit +snowballstemmer==1.9.0 # via pydocstyle +sqlparse==0.3.0 # via django +stevedore==1.30.1 # via bandit toml==0.10.0 # via tox tox-battery==0.5.1 -tox==3.7.0 -tqdm==4.29.1 # via twine -twine==1.12.1 -typed-ast==1.2.0 # via astroid -urllib3==1.24.1 # via requests -virtualenv==16.2.0 # via tox +tox==3.13.2 +tqdm==4.35.0 # via twine +twine==1.13.0 +typed-ast==1.4.0 # via astroid +urllib3==1.25.3 # via requests +virtualenv==16.7.4 # via tox webencodings==0.5.1 # via bleach -wheel==0.32.3 -wrapt==1.11.0 # via astroid +wheel==0.33.6 +wrapt==1.11.2 # via astroid +zipp==0.6.0 # via importlib-metadata + +# The following packages are considered to be unsafe in a requirements file: +# setuptools==41.2.0 # via safety, twine diff --git a/requirements/doc.txt b/requirements/doc.txt index 823f568..6690052 100644 --- a/requirements/doc.txt +++ b/requirements/doc.txt @@ -2,32 +2,42 @@ # This file is autogenerated by pip-compile # To update, run: # -# pip-compile --output-file requirements/doc.txt requirements/base.in requirements/doc.in +# pip-compile --output-file=requirements/doc.txt requirements/base.in requirements/doc.in # alabaster==0.7.12 # via sphinx -babel==2.6.0 # via sphinx +attrs==19.1.0 # via packaging +babel==2.7.0 # via sphinx bleach==3.1.0 # via readme-renderer -certifi==2018.11.29 # via requests +certifi==2019.6.16 # via requests chardet==3.0.4 # via doc8, requests -djangorestframework==3.9.0 +djangorestframework==3.9.4 doc8==0.8.0 -docutils==0.14 # via doc8, readme-renderer, restructuredtext-lint, sphinx +docutils==0.15.2 # via doc8, readme-renderer, restructuredtext-lint, sphinx idna==2.8 # via requests imagesize==1.1.0 # via sphinx -jinja2==2.10 # via sphinx -markupsafe==1.1.0 # via jinja2 -packaging==18.0 # via sphinx -pbr==5.1.1 # via stevedore -pygments==2.3.1 # via readme-renderer, sphinx -pyparsing==2.3.1 # via packaging -pytz==2018.9 # via babel +jinja2==2.10.1 # via sphinx +markupsafe==1.1.1 # via jinja2 +more-itertools==5.0.0 +packaging==19.1 # via sphinx +pbr==5.4.2 # via stevedore +pygments==2.4.2 # via readme-renderer, sphinx +pyparsing==2.4.2 # via packaging +pytz==2019.2 # via babel readme-renderer==24.0 -requests==2.21.0 # via sphinx -restructuredtext-lint==1.2.2 # via doc8 -six==1.12.0 # via bleach, doc8, packaging, readme-renderer, sphinx, stevedore -snowballstemmer==1.2.1 # via sphinx -sphinx==1.8.3 -sphinxcontrib-websupport==1.1.0 # via sphinx -stevedore==1.30.0 # via doc8 -urllib3==1.24.1 # via requests +requests==2.22.0 # via sphinx +restructuredtext-lint==1.3.0 # via doc8 +six==1.12.0 # via bleach, doc8, more-itertools, packaging, readme-renderer, stevedore +snowballstemmer==1.9.0 # via sphinx +sphinx==2.2.0 +sphinxcontrib-applehelp==1.0.1 # via sphinx +sphinxcontrib-devhelp==1.0.1 # via sphinx +sphinxcontrib-htmlhelp==1.0.2 # via sphinx +sphinxcontrib-jsmath==1.0.1 # via sphinx +sphinxcontrib-qthelp==1.0.2 # via sphinx +sphinxcontrib-serializinghtml==1.1.3 # via sphinx +stevedore==1.30.1 # via doc8 +urllib3==1.25.3 # via requests webencodings==0.5.1 # via bleach + +# The following packages are considered to be unsafe in a requirements file: +# setuptools==41.2.0 # via sphinx diff --git a/requirements/quality.txt b/requirements/quality.txt index 2dccd48..0db0983 100644 --- a/requirements/quality.txt +++ b/requirements/quality.txt @@ -2,43 +2,47 @@ # This file is autogenerated by pip-compile # To update, run: # -# pip-compile --output-file requirements/quality.txt requirements/quality.in +# pip-compile --output-file=requirements/quality.txt requirements/quality.in # -astroid==2.0.4 -bandit==1.5.1 -certifi==2018.11.29 # via requests +astroid==2.2.5 +attrs==19.1.0 # via packaging +bandit==1.6.2 +certifi==2019.6.16 # via requests chardet==3.0.4 # via requests click==7.0 # via safety dodgy==0.1.9 # via prospector dparse==0.4.1 # via safety gitdb2==2.0.5 # via gitpython -gitpython==2.1.11 # via bandit +gitpython==3.0.2 # via bandit idna==2.8 # via requests -isort==4.3.4 -lazy-object-proxy==1.3.1 # via astroid +isort==4.3.21 +lazy-object-proxy==1.4.2 # via astroid mccabe==0.6.1 # via prospector, pylint -packaging==18.0 # via dparse, safety -pbr==5.1.1 # via stevedore +packaging==19.1 # via dparse, safety +pbr==5.4.2 # via stevedore pep8-naming==0.4.1 # via prospector -prospector==1.1.6.2 +prospector==1.1.7 pycodestyle==2.4.0 # via prospector -pydocstyle==3.0.0 # via prospector +pydocstyle==4.0.1 # via prospector pyflakes==1.6.0 # via prospector -pylint-flask==0.5 # via prospector -pylint-plugin-utils==0.4 # via prospector, pylint-celery, pylint-django, pylint-flask -pylint==2.1.1 +pylint-flask==0.6 # via prospector +pylint-plugin-utils==0.5 # via prospector, pylint-celery, pylint-django, pylint-flask +pylint==2.3.1 pylint_celery==0.3 -pylint_django==2.0.2 -pyparsing==2.3.1 # via packaging -pyyaml==3.13 # via bandit, dparse, prospector -requests==2.21.0 # via safety +pylint_django==2.0.10 +pyparsing==2.4.2 # via packaging +pyyaml==5.1.2 # via bandit, dparse, prospector +requests==2.22.0 # via safety requirements-detector==0.6 # via prospector -safety==1.8.4 +safety==1.8.5 setoptconf==0.2.0 # via prospector -six==1.12.0 # via astroid, bandit, dparse, packaging, pydocstyle, stevedore +six==1.12.0 # via astroid, bandit, dparse, packaging, stevedore smmap2==2.0.5 # via gitdb2 -snowballstemmer==1.2.1 # via pydocstyle -stevedore==1.30.0 # via bandit -typed-ast==1.2.0 # via astroid -urllib3==1.24.1 # via requests -wrapt==1.11.0 # via astroid +snowballstemmer==1.9.0 # via pydocstyle +stevedore==1.30.1 # via bandit +typed-ast==1.4.0 # via astroid +urllib3==1.25.3 # via requests +wrapt==1.11.2 # via astroid + +# The following packages are considered to be unsafe in a requirements file: +# setuptools==41.2.0 # via safety diff --git a/requirements/test.in b/requirements/test.in index 2a36abe..fc3bd50 100644 --- a/requirements/test.in +++ b/requirements/test.in @@ -4,3 +4,4 @@ pytest-cov # pytest extension for code coverage statistics pytest-django # pytest extension for better Django support model-mommy # helper to create random data for tests +pytest==4.6.5 # pinned to support python 2.7 \ No newline at end of file diff --git a/requirements/test.txt b/requirements/test.txt index e26e2cb..ae263aa 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -2,18 +2,24 @@ # This file is autogenerated by pip-compile # To update, run: # -# pip-compile --output-file requirements/test.txt requirements/base.in requirements/test.in +# pip-compile --output-file=requirements/test.txt requirements/base.in requirements/test.in # -atomicwrites==1.2.1 # via pytest -attrs==18.2.0 # via pytest -coverage==4.5.2 # via pytest-cov -djangorestframework==3.9.0 +atomicwrites==1.3.0 # via pytest +attrs==19.1.0 # via packaging, pytest +coverage==4.5.4 # via pytest-cov +djangorestframework==3.9.4 +importlib-metadata==0.19 # via pluggy, pytest model-mommy==1.6.0 -more-itertools==5.0.0 # via pytest -pluggy==0.8.1 # via pytest -py==1.7.0 # via pytest -pytest-cov==2.6.1 -pytest-django==3.4.5 -pytest==4.1.1 # via pytest-cov, pytest-django -pytz==2018.9 # via django -six==1.12.0 # via model-mommy, more-itertools, pytest +more-itertools==5.0.0 +packaging==19.1 # via pytest +pluggy==0.12.0 # via pytest +py==1.8.0 # via pytest +pyparsing==2.4.2 # via packaging +pytest-cov==2.7.1 +pytest-django==3.5.1 +pytest==4.6.5 +pytz==2019.2 # via django +six==1.12.0 # via model-mommy, more-itertools, packaging, pytest +sqlparse==0.3.0 # via django +wcwidth==0.1.7 # via pytest +zipp==0.6.0 # via importlib-metadata diff --git a/requirements/travis.in b/requirements/travis.in index 87c3434..5121e13 100644 --- a/requirements/travis.in +++ b/requirements/travis.in @@ -1,5 +1,6 @@ # Requirements for running tests in Travis codecov # Code coverage reporting +more-itertools==5.0.0 # pinned to support python 2.7 tox # Virtualenv management for tests -tox-battery # Makes tox aware of requirements file changes +tox-battery # Makes tox aware of requirements file changes \ No newline at end of file diff --git a/requirements/travis.txt b/requirements/travis.txt index 1c907ca..6289d4a 100644 --- a/requirements/travis.txt +++ b/requirements/travis.txt @@ -2,20 +2,26 @@ # This file is autogenerated by pip-compile # To update, run: # -# pip-compile --output-file requirements/travis.txt requirements/travis.in +# pip-compile --output-file=requirements/travis.txt requirements/travis.in # -certifi==2018.11.29 # via requests +attrs==19.1.0 # via packaging +certifi==2019.6.16 # via requests chardet==3.0.4 # via requests codecov==2.0.15 -coverage==4.5.2 # via codecov -filelock==3.0.10 # via tox +coverage==4.5.4 # via codecov +filelock==3.0.12 # via tox idna==2.8 # via requests -pluggy==0.8.1 # via tox -py==1.7.0 # via tox -requests==2.21.0 # via codecov -six==1.12.0 # via tox +importlib-metadata==0.19 # via pluggy, tox +more-itertools==5.0.0 +packaging==19.1 # via tox +pluggy==0.12.0 # via tox +py==1.8.0 # via tox +pyparsing==2.4.2 # via packaging +requests==2.22.0 # via codecov +six==1.12.0 # via more-itertools, packaging, tox toml==0.10.0 # via tox tox-battery==0.5.1 -tox==3.7.0 -urllib3==1.24.1 # via requests -virtualenv==16.2.0 # via tox +tox==3.13.2 +urllib3==1.25.3 # via requests +virtualenv==16.7.4 # via tox +zipp==0.6.0 # via importlib-metadata