Upgrade Django to 6.0.5 and add django-tasks configuration#4633
Upgrade Django to 6.0.5 and add django-tasks configuration#4633marcoacierno wants to merge 5 commits intomainfrom
Conversation
Bumps [django](https://github.com/django/django) from 5.2.8 to 6.0.5. - [Commits](django/django@5.2.8...6.0.5) --- updated-dependencies: - dependency-name: django dependency-version: 6.0.4 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
django-timezone-field 7.0 requires django>=3.2,<6.0, which conflicts with the Django 6.0.5 upgrade. Updating to >=7.1 for Django 6.0 support. Co-authored-by: Marco Acierno <[email protected]>
- Set TASKS to django_tasks ImmediateBackend so modelsearch keeps working (Django 6.0 ships its own django.tasks.* with a different Task signature that lacks `enqueue_on_commit`, which broke the modelsearch @task decorator). - Bump django-autocomplete-light from 3.9.4 to 4.0.0 (3.9.4 imports the removed `django.utils.itercompat` module).
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4633 +/- ##
=======================================
Coverage 92.52% 92.52%
=======================================
Files 359 359
Lines 10791 10792 +1
Branches 821 821
=======================================
+ Hits 9984 9985 +1
Misses 696 696
Partials 111 111 🚀 New features to boost your workflow:
|
|
This PR upgrades Django from 5.2.8 to 6.0.5 (major version bump), updates several dependencies ( Issues
Wagtail 7.2.3 does not officially support Django 6.0
The lockfile pins
The |
- django-timezone-field: >=7.1 -> >=7.1,<8.0 to prevent unintended major version bumps from future `uv lock` runs. - django-tasks: promoted from transitive (via wagtail/modelsearch) to a direct dependency, since pycon settings reference its ImmediateBackend in TASKS.
What
The django-tasks configuration uses the
ImmediateBackendwhich executes tasks synchronously, suitable for development and testing environments.ToDo
https://claude.ai/code/session_012iLUaDFSVctE7tbLx6RTyF