Sync celery-async-tasks with the updated tutorial - #861
Merged
martin-martin merged 2 commits intoSep 24, 2026
Merged
martin-martin merged 2 commits into
martin-martin merged 2 commits into
Conversation
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
deleted the
maintenance/asynchronous-tasks-with-django-and-celery-20260924
branch
September 24, 2026 14:03
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Maintenance update for Asynchronous Tasks With Django and Celery.
What changed
Both
source_code_initial/requirements.txtandsource_code_final/requirements.txtget the same fresh pins, matching the article's updateddependenciesfield and its pinned install commands:Django5.1.3 -> 6.1.1celery5.4.0 -> 5.6.3redis(redis-py) 5.2.0 -> 8.1.0amqp5.4.0,asgiref3.12.1,billiard4.3.0,kombu5.6.2,click8.5.0, and others.packaging,typing_extensions, andtzlocalare 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, andredis==8.1.0, so the downloadable project should match. The code files already match the article, so no code changes were needed.README.mdnow 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 thehttp://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 checkclean,manage.py checkclean,migrateOK.With Redis 7.0.15 running, the Celery worker connected to
redis://localhost:6379//. A form POST returned 302 in 0.16 s, andsend_feedback_email_tasksucceeded in 20.01 s in the worker.The full article learner path, from
source_code_initialto 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