New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Django 2.1 compat #1562
Django 2.1 compat #1562
Conversation
Known issue: #1561 |
* Isolate failing assertion in separate test * query_terms: try interrogating the django field directly * Replace class_lookups with get_lookups() which is a more complete list
This test is failing: This is due to a regression in django 2.1. There's a fix here but it hasn't been released yet: Note that it says "due to lazily-written tests" and I generally agree; |
…params in tests (#1565)
Status update:
Several of these seem related, so there may only be a handful of things left to fix. |
…m regression (#1567) Failing tests unrelated to this PR; those will need another compat shim (and pep8).
* Fix pep8 * Remove tests for Django 1.8 * More 1.8 removal, stop installing django 2 on python 2 * More dependency fixes
Going to test master on a handful of sites I run, on Django 2.0. Anybody trying to upgrade to Django 2.1, feel free to test in the next week, and I'll release to PyPI on 9/3 if no major bugs are found. |
* Django 2.1: Set up test matrix * Django 2.1: fix missing QUERY_TERMS (django-tastypie#1564) * Isolate failing assertion in separate test * query_terms: try interrogating the django field directly * Replace class_lookups with get_lookups() which is a more complete list * Leftover debug * Django 2.1: 'Fix' for upstream regression regarding non-string query params in tests (django-tastypie#1565) * Django 2.1: explicitly set blank=True on BooleanFields due to upstream regression (django-tastypie#1567) Failing tests unrelated to this PR; those will need another compat shim (and pep8). * Fix/django2.1 cleanups (django-tastypie#1568) * Fix pep8 * Remove tests for Django 1.8 * More 1.8 removal, stop installing django 2 on python 2 * More dependency fixes * Explicitly run doctests for validate_jsonp module, to bump coverage * flake8
* Django 2.1: Set up test matrix * Django 2.1: fix missing QUERY_TERMS (django-tastypie#1564) * Isolate failing assertion in separate test * query_terms: try interrogating the django field directly * Replace class_lookups with get_lookups() which is a more complete list * Leftover debug * Django 2.1: 'Fix' for upstream regression regarding non-string query params in tests (django-tastypie#1565) * Django 2.1: explicitly set blank=True on BooleanFields due to upstream regression (django-tastypie#1567) Failing tests unrelated to this PR; those will need another compat shim (and pep8). * Fix/django2.1 cleanups (django-tastypie#1568) * Fix pep8 * Remove tests for Django 1.8 * More 1.8 removal, stop installing django 2 on python 2 * More dependency fixes * Explicitly run doctests for validate_jsonp module, to bump coverage * flake8
Roll up of changes needed to support 2.1. Open PRs related to Django 2.1 compatibility against this branch.