Skip to content
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

[Update Django] Django 5.0 #4724

Closed
github-actions bot opened this issue Dec 7, 2023 · 8 comments · Fixed by #5199
Closed

[Update Django] Django 5.0 #4724

github-actions bot opened this issue Dec 7, 2023 · 8 comments · Fixed by #5199

Comments

@github-actions
Copy link
Contributor

github-actions bot commented Dec 7, 2023

5.0 requirements tables

base.txt

Name Version in Master 5.0 Compatible Version OK
python-slugify 8.0.4 n/a
Pillow 10.4.0 n/a
rcssmin 1.1.2 n/a
argon2-cffi 23.1.0 n/a
whitenoise 6.7.0 6.6.0
redis 5.0.7 n/a
hiredis 3.0.0 n/a
celery 5.4.0 n/a
django-celery-beat 2.6.0 2.6.0
flower 2.0.1 n/a
uvicorn 0.30.3 n/a
uvicorn-worker 0.2.0 n/a
django 4.2.14 2.6.0
django-environ 0.11.2
django-model-utils 4.5.1 4.4.0
django-allauth 0.63.6 0.58.2
django-crispy-forms 2.3 2.1
crispy-bootstrap5 2024.2 2023.10
django-compressor 4.5.1 4.5
django-redis 5.4.0
djangorestframework 3.15.2 3.15.0
django-cors-headers 4.4.0 4.3.1
drf-spectacular 0.27.2 0.27.2
django-webpack-loader 3.1.0 3.0.1

local.txt

Name Version in Master 5.0 Compatible Version OK
Werkzeug 3.0.3 n/a
ipdb 0.13.13 n/a
psycopg 3.2.1 n/a
watchfiles 0.21.0 n/a
mypy 1.10.0 n/a
django-stubs 5.0.2 5.0.0
pytest 8.3.1 n/a
pytest-sugar 1.0.0 n/a
djangorestframework-stubs 3.15.0 n/a
sphinx 7.4.7 n/a
sphinx-autobuild 2024.4.16 n/a
ruff 0.5.4 n/a
coverage 7.6.0 n/a
djlint 1.34.1 n/a
pre-commit 3.7.1 n/a
factory-boy 3.3.0
django-debug-toolbar 4.4.6 4.3.0
django-extensions 3.2.3
django-coverage-plugin 3.1.0
pytest-django 4.8.0 4.7.0

production.txt

Name Version in Master 5.0 Compatible Version OK
gunicorn 22.0.0 n/a
psycopg 3.2.1 n/a
Collectfasta 3.2.0 3.0.0
sentry-sdk 2.10.0 n/a
hiredis 3.0.0 n/a
django-storages 1.14.4 1.14.3
django-anymail 11.0.1 10.2
@foarsitter
Copy link
Collaborator

foarsitter commented Dec 8, 2023

Django 5.0 will win from Python 3.12 I think #4644

@jeffpfoster
Copy link

Per this commit looks like django-storages is ready for 5.0 jschneier/django-storages@70fa8d9

@browniebroke
Copy link
Member

Thanks for the heads up @jeffpfoster. This issue description is updated automatically and the package should turn green when the next version is released. That being said, it seems that no code change was required so it should work with the current version 1.14.2 version.

@foarsitter
Copy link
Collaborator

Status thus far:

Support without a release required:
django-environ: joke2k/django-environ#506
django-compressor: django-compressor/django-compressor#1211
django-redis: jazzband/django-redis#729
drf-spectacular: tfranzel/drf-spectacular#1127
factory-boy: https://github.com/FactoryBoy/factory_boy/pull/1054/files
django-coverage-plugin: tested against main https://github.com/nedbat/django_coverage_plugin/blob/ca45852f7168d36b69e6a64f01d804b572775680/tox.ini#L32

Pretty close
django-stubs: typeddjango/django-stubs#1493

Unmaintained:
django-extensions: https://github.com/django-extensions/django-extensions (#4939)
Collectfast: https://github.com/antonagestam/collectfast/ (#4938)

@browniebroke
Copy link
Member

I'm using django-extensions with Django 5.0 and I haven't encountered any blockers so far. Shouldn't prevent from upgrading...

@awhillas
Copy link

I can't see a branch for this?

@browniebroke
Copy link
Member

Opened a PR for this, if you're interested in testing it: #5199

From what I can tell, it seems to work on a couple of production deployments. I'll leave it open for a few days if you want to try it out:

cookiecutter gh:browniebroke/cookiecutter-django --checkout upgrade/django-5.0

@awhillas
Copy link

It worked out I guess?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants