I haven't seen anyone asked this question yet. So I'll go first. Is it ok now to upgrade to django 3.1.x?
Another newbie question: beside the tests that I wrote, is there any other test that I could run to make sure the django-cookiecutter on my computer works with django 3.1.1?
Thank you.
I did some research. The very first one was djangorestframework only supports upto django 3.0. Case closed. Sorry about this.
https://www.django-rest-framework.org
Seems latest DRF support Django 3.1. Any plan for go with Django 3.1?
It's not only about DRF, but all our django libraries. I'm going to start a table that I'll keep up to date to gather where are our dependencies, taken from @emilepetrone idea in #2352:
Base.txt
| Name | Version in Master | 3.1 Compatible Version | OK |
| ------------- |:-------------:| :-----:|:--:|
| pytz | 2020.4 | n/a | โ
|
| python-slugify| 4.0.1 | n/a | โ
|
| Pillow | 8.0.1 | n/a | โ
|
| rcssmin | 1.0.6 | n/a | โ
|
| argon2-cffi | 20.1.0 | n/a | โ
|
| whitenoise | 5.2.0 | 5.2.0 | โ
|
| redis | 3.5.3 | n/a | โ
|
| celery | 4.4.6 | n/a | โ
|
| django-celery-beat | 2.1.0 | 2.1.0 | โ
|
| flower | 0.9.5 | n/a | โ
|
| uvcorn | 0.12.2 | n/a | โ
|
| django-environ | 0.4.5 | | โ |
| django-model-utils | 4.1.1 | 4.1.0 | โ
|
| django-allauth | 0.44.0 | | โ |
| django-crispy-forms| 1.10.0 | 1.10.0 | โ
|
| django-compressor| 2.4 | | โ |
| django-redis| 4.12.1 | unreleased | โฑ |
| djangorestframework | 3.12.2 | 3.11.1 | โ
|
| django-cors-headers | 3.6.0 | 3.4.5 | โ
|
local.txt
| Name | Version in Master | 3.0 Compatible Version | OK |
| ------------- |:-------------:| :-----:|:--:|
| Werkzeug | 1.0.1 | n/a | โ
|
| ipdb | 0.13.4 | n/a | โ
|
| psycopg2 | 2.8.6 | n/a | โ
|
| watchgod | 0.6 | n/a | โ
|
| mypy | 0.790 | n/a | โ
|
| django-stubs | 1.7.0 | | โ |
| pytest | 6.1.2 | n/a | โ
|
| pytest-sugar | 0.9.4 | n/a | โ
|
| sphinx | 3.3.1 | n/a | โ
|
| flake8 | 3.8.4 | n/a | โ
|
| coverage | 5.3 | n/a | โ
|
| black | 20.8b1 | n/a | โ
|
| pylint-django | 2.3.0 | 2.3.0 | โ
|
| pylint-celery | 0.3 | n/a | โ
|
| pre-commit | 2.8.2 | n/a | โ
|
| factory-boy | 3.1.0 | unreleased | โฑ |
| django-debug-toolbar | 3.2.0 | 3.0 | โ
|
| django-extensions | 3.1.0 | 3.0.4 | โ
|
| django-coverage-plugin | 1.8.0 | | โ |
| pytest-django | 4.1.0 | 3.10.0 | โ
|
production.txt
| Name | Version in Master | 3.0 Compatible Version | OK |
| ------------- |:-------------:| :-----:|:--:|
| gunicorn | 20.0.4 | n/a | โ
|
| Collectfast | 2.2.0 | | โ |
| sentry-sdk | 0.19.3 | n/a | โ
|
| hiredis | 1.1.0 | n/a | โ
|
| django-storages | 1.10.1 | 1.10 | โ
|
| django-anymail | 8.1 | 7.2 | โ
|
Most helpful comment
It's not only about DRF, but all our django libraries. I'm going to start a table that I'll keep up to date to gather where are our dependencies, taken from @emilepetrone idea in #2352:
Base.txt
| Name | Version in Master | 3.1 Compatible Version | OK |
| ------------- |:-------------:| :-----:|:--:|
| pytz | 2020.4 | n/a | โ |
| python-slugify| 4.0.1 | n/a | โ |
| Pillow | 8.0.1 | n/a | โ |
| rcssmin | 1.0.6 | n/a | โ |
| argon2-cffi | 20.1.0 | n/a | โ |
| whitenoise | 5.2.0 | 5.2.0 | โ |
| redis | 3.5.3 | n/a | โ |
| celery | 4.4.6 | n/a | โ |
| django-celery-beat | 2.1.0 | 2.1.0 | โ |
| flower | 0.9.5 | n/a | โ |
| uvcorn | 0.12.2 | n/a | โ |
| django-environ | 0.4.5 | | โ |
| django-model-utils | 4.1.1 | 4.1.0 | โ |
| django-allauth | 0.44.0 | | โ |
| django-crispy-forms| 1.10.0 | 1.10.0 | โ |
| django-compressor| 2.4 | | โ |
| django-redis| 4.12.1 | unreleased | โฑ |
| djangorestframework | 3.12.2 | 3.11.1 | โ |
| django-cors-headers | 3.6.0 | 3.4.5 | โ |
local.txt
| Name | Version in Master | 3.0 Compatible Version | OK |
| ------------- |:-------------:| :-----:|:--:|
| Werkzeug | 1.0.1 | n/a | โ |
| ipdb | 0.13.4 | n/a | โ |
| psycopg2 | 2.8.6 | n/a | โ |
| watchgod | 0.6 | n/a | โ |
| mypy | 0.790 | n/a | โ |
| django-stubs | 1.7.0 | | โ |
| pytest | 6.1.2 | n/a | โ |
| pytest-sugar | 0.9.4 | n/a | โ |
| sphinx | 3.3.1 | n/a | โ |
| flake8 | 3.8.4 | n/a | โ |
| coverage | 5.3 | n/a | โ |
| black | 20.8b1 | n/a | โ |
| pylint-django | 2.3.0 | 2.3.0 | โ |
| pylint-celery | 0.3 | n/a | โ |
| pre-commit | 2.8.2 | n/a | โ |
| factory-boy | 3.1.0 | unreleased | โฑ |
| django-debug-toolbar | 3.2.0 | 3.0 | โ |
| django-extensions | 3.1.0 | 3.0.4 | โ |
| django-coverage-plugin | 1.8.0 | | โ |
| pytest-django | 4.1.0 | 3.10.0 | โ |
production.txt
| Name | Version in Master | 3.0 Compatible Version | OK |
| ------------- |:-------------:| :-----:|:--:|
| gunicorn | 20.0.4 | n/a | โ |
| Collectfast | 2.2.0 | | โ |
| sentry-sdk | 0.19.3 | n/a | โ |
| hiredis | 1.1.0 | n/a | โ |
| django-storages | 1.10.1 | 1.10 | โ |
| django-anymail | 8.1 | 7.2 | โ |