Skip to content

Sync celery-async-tasks with the updated tutorial - #861

Merged
martin-martin merged 2 commits into
masterfrom
maintenance/asynchronous-tasks-with-django-and-celery-20260924
Sep 24, 2026
Merged

martin-martin merged 2 commits into
masterfrom
maintenance/asynchronous-tasks-with-django-and-celery-20260924

Conversation

@realpython-bot

@realpython-bot realpython-bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Collaborator

Maintenance update for Asynchronous Tasks With Django and Celery.

What changed

Both source_code_initial/requirements.txt and source_code_final/requirements.txt get the same fresh pins, matching the article's updated dependencies field and its pinned install commands:

  • Django 5.1.3 -> 6.1.1
  • celery 5.4.0 -> 5.6.3
  • redis (redis-py) 5.2.0 -> 8.1.0
  • Transitive pins re-resolved from the same install: amqp 5.4.0, asgiref 3.12.1, billiard 4.3.0, kombu 5.6.2, click 8.5.0, and others. packaging, typing_extensions, and tzlocal are new transitive dependencies.

Why: Django 5.1 is end-of-life and doesn't officially support Python 3.14. The article now tells readers to install django==6.1.1, celery==5.6.3, and redis==8.1.0, so the downloadable project should match. The code files already match the article, so no code changes were needed.

README.md now covers Linux as well as macOS. It adds the apt command for Redis next to Homebrew, notes that Django 6.1 needs Python 3.12 or newer and that Celery doesn't support Windows, and spells out the http:// dev server URL. These match the article's Linux and macOS install tabs.

Verification

  • Fresh Python 3.14.7 venv, pip install -r source_code_final/requirements.txt, pip check clean, manage.py check clean, migrate OK.

  • With Redis 7.0.15 running, the Celery worker connected to redis://localhost:6379//. A form POST returned 302 in 0.16 s, and send_feedback_email_task succeeded in 20.01 s in the worker.

  • The full article learner path, from source_code_initial to the final state, was run on the same versions during the article update.

  • Draft update (admin): https://realpython.com/pbjt/blog/post/2307/change/

  • Maintenance card: https://trello.com/c/WaYUZmnT

🤖 Generated with Claude Code

realpython-bot and others added 2 commits September 24, 2026 14:00
Bump the pinned requirements in source_code_initial and source_code_final
to the versions the updated tutorial installs and was tested with:
Django 6.1.1, Celery 5.6.3, and redis-py 8.1.0 on Python 3.14.7.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Cover the apt install for Redis next to Homebrew, note the Python 3.12+
requirement from Django 6.1 and the lack of Windows support, and spell
out the http:// URL for the dev server.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@martin-martin
martin-martin merged commit c3bf2f0 into master Sep 24, 2026
1 check passed
@martin-martin
martin-martin deleted the maintenance/asynchronous-tasks-with-django-and-celery-20260924 branch September 24, 2026 14:03
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.

2 participants