Skip to content

Require Django 6.0 and drop deprecated task runners - #211

Merged
codingjoe merged 3 commits into
mainfrom
codingjoe-django-6-support
Oct 11, 2026
Merged

codingjoe merged 3 commits into
mainfrom
codingjoe-django-6-support

Conversation

@codingjoe

@codingjoe codingjoe commented Oct 11, 2026 •

Copy link
Copy Markdown
Owner

joeflow still supported Django 5.2 and carried deprecated code that only existed to keep that release working. The Celery and Dramatiq task runners, the JOEFLOW_CELERY_QUEUE_NAME fallback, and the version switches were all marked for removal once Django 5.2 LTS support expired. This drops them and moves the minimum supported version to Django 6.0.

  • Require django>=6.0 and drop the Django 5.2 classifier.
  • Remove the deprecated Celery and Dramatiq task runners, their extras, and the Dramatiq import in tasks/machine.py.
  • Remove the deprecated JOEFLOW_CELERY_QUEUE_NAME setting. JOEFLOW_TASK_RUNNER now always defaults to the Django Tasks runner.
  • Use the MAILERS setting instead of the deprecated EMAIL_BACKEND in the test project.
  • Drop Django < 6.0 branches from the runner, the test fixtures, and the test settings.
  • Remove the unneeded test dependencies fakeredis, redis, and pytest-env.
  • Update the CI matrix to Django 6.0 and 6.1 only, with reversion and graphviz extras.
  • Remove the deprecation notes and Celery/Dramatiq intersphinx mappings from the docs.
  • Drop the obsolete Celery, Dramatiq, Redis, jitter and triple entries from the spelling wordlist.

* Require Django 6.0 or later
* Remove the deprecated Celery and Dramatiq task runners
* Remove the deprecated JOEFLOW_CELERY_QUEUE_NAME fallback
* Use the MAILERS setting instead of the deprecated EMAIL_BACKEND
@codecov

codecov Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.26%. Comparing base (eac0ad5) to head (b1334ef).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #211      +/-   ##
==========================================
+ Coverage   97.61%   98.26%   +0.65%     
==========================================
  Files          19       17       -2     
  Lines         880      807      -73     
==========================================
- Hits          859      793      -66     
+ Misses         21       14       -7     
Flag Coverage Δ
python-3.14-django-5.2 ?
python-3.14-django-6.0 81.04% <100.00%> (+4.56%) ⬆️
python-3.14-django-6.1 98.26% <100.00%> (+16.21%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

* Celery, Dramatiq and Redis are no longer documented
* jitter and triple are unused
The local worker fixture only forwarded to stub_worker.
@codingjoe
codingjoe merged commit 841381e into main Oct 11, 2026
10 checks passed
@codingjoe
codingjoe deleted the codingjoe-django-6-support branch October 11, 2026 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant