Skip to content

Commit

Permalink
Merge ea2aca6 into 9dd62f4
Browse files Browse the repository at this point in the history
  • Loading branch information
georgedorn committed Aug 21, 2018
2 parents 9dd62f4 + ea2aca6 commit 0714cb0
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 22 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Expand Up @@ -12,7 +12,6 @@ env:
- MODE=flake8
- MODE=flake8-strict
- MODE=docs
- DJANGO_VERSION=dj18
- DJANGO_VERSION=dj111
- DJANGO_VERSION=dj20
- DJANGO_VERSION=dj21
Expand Down
6 changes: 6 additions & 0 deletions docs/release_notes/dev.rst
Expand Up @@ -4,6 +4,12 @@ dev
The current in-progress version. Put your notes here so they can be easily
copied to the release notes for the next release.

Major changes
-------------

* Dropped support for Django 1.8 (EOL).
* Compatability fixes for upstream changes, most notably the removal of QUERY_TERMS.

Bugfixes
--------

Expand Down
1 change: 0 additions & 1 deletion tests/core/tests/resources.py
Expand Up @@ -2114,7 +2114,6 @@ def test_build_filters_bad(self):
# Make sure that fields that don't have attributes can't be filtered on.
self.assertRaises(InvalidFilterError, resource.build_filters, filters={'notes__hello_world': 'News'})


def test_custom_build_filters(self):
"""
A test derived from an example in the documentation (under Advanced Filtering).
Expand Down
41 changes: 21 additions & 20 deletions tox.ini
@@ -1,6 +1,7 @@
[tox]
envlist =
py{27,34,35,36}-dj{18,111,20,21,dev}
py{27}-dj{111}
py{34,35,36}-dj{20,21,dev}
py{27,36}-docs,
py{27,36}-flake8,
py{27,36}-flake8-strict
Expand All @@ -15,17 +16,17 @@ setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/tests
PYTHONWARNINGS = always
commands =
dj{18,111,20,21,dev}: {[testenv]test-executable} test -p '*' core.tests --settings=settings_core
dj{18,111,20,21,dev}: {[testenv]test-executable} test basic.tests --settings=settings_basic
dj{18,111,20,21,dev}: {[testenv]test-executable} test related_resource.tests --settings=settings_related
dj{18,111,20,21,dev}: {[testenv]test-executable} test alphanumeric.tests --settings=settings_alphanumeric
dj{18,111,20,21,dev}: {[testenv]test-executable} test authorization.tests --settings=settings_authorization
dj{18,111,20,21,dev}: {[testenv]test-executable} test content_gfk.tests --settings=settings_content_gfk
dj{18,111,20,21,dev}: {[testenv]test-executable} test customuser.tests --settings=settings_customuser
dj{18,111,20,21,dev}: {[testenv]test-executable} test namespaced.tests --settings=settings_namespaced
dj{18,111,20,21,dev}: {[testenv]test-executable} test slashless.tests --settings=settings_slashless
dj{18,111,20,21,dev}: {[testenv]test-executable} test validation.tests --settings=settings_validation
dj{18,111,20,21,dev}: {[testenv]test-executable} test gis.tests --settings=settings_gis_spatialite
dj{111,20,21,dev}: {[testenv]test-executable} test -p '*' core.tests --settings=settings_core
dj{111,20,21,dev}: {[testenv]test-executable} test basic.tests --settings=settings_basic
dj{111,20,21,dev}: {[testenv]test-executable} test related_resource.tests --settings=settings_related
dj{111,20,21,dev}: {[testenv]test-executable} test alphanumeric.tests --settings=settings_alphanumeric
dj{111,20,21,dev}: {[testenv]test-executable} test authorization.tests --settings=settings_authorization
dj{111,20,21,dev}: {[testenv]test-executable} test content_gfk.tests --settings=settings_content_gfk
dj{111,20,21,dev}: {[testenv]test-executable} test customuser.tests --settings=settings_customuser
dj{111,20,21,dev}: {[testenv]test-executable} test namespaced.tests --settings=settings_namespaced
dj{111,20,21,dev}: {[testenv]test-executable} test slashless.tests --settings=settings_slashless
dj{111,20,21,dev}: {[testenv]test-executable} test validation.tests --settings=settings_validation
dj{111,20,21,dev}: {[testenv]test-executable} test gis.tests --settings=settings_gis_spatialite

docs: sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
docs: sphinx-build -W -b doctest -d {envtmpdir}/doctrees . {envtmpdir}/html
Expand All @@ -39,21 +40,21 @@ basepython =
py35: python3.5
py36: python3.6
deps =
dj18: Django>=1.8,<1.9
dj111: Django>=1.11,<1.12
dj20: Django>=2.0,<2.1
dj21: Django>=2.1,<2.2
djdev: https://github.com/django/django/archive/master.tar.gz

py27-dj{18,111}: django-oauth-plus==2.2.9
py27-dj{18,111,20,21,dev}: python-digest
py27-dj{18,111,20,21,dev}: oauth2
py27-dj{18,111,20,21,dev}: pysqlite==2.7.0
py{34,35,36}-dj{18,111,20,21,dev}: python3-digest>=1.8b4
dj{18,111,20,21,dev}: -r{toxinidir}/tests/requirements.txt
py27-dj{111}: django-oauth-plus==2.2.9
py27-dj{111,20,21,dev}: python-digest
py27-dj{111,20,21,dev}: oauth2
py27-dj{111,20,21,dev}: pysqlite==2.7.0
py{34,35,36}-dj{111,20,21,dev}: python3-digest>=1.8b4
dj{111,20,21,dev}: -r{toxinidir}/tests/requirements.txt

docs: Sphinx
docs: Django>=2.0,<2.1
py27-docs: Django<2.0
py36-docs: Django<2.2
docs: mock
docs: sphinx_rtd_theme

Expand Down

0 comments on commit 0714cb0

Please sign in to comment.