Skip to content

feat: Adding django6 support.#502

Merged
auvipy merged 7 commits intocelery:mainfrom
awais786:feat/django-6-support
Mar 25, 2026
Merged

feat: Adding django6 support.#502
auvipy merged 7 commits intocelery:mainfrom
awais786:feat/django-6-support

Conversation

@awais786
Copy link
Contributor

@awais786 awais786 commented Mar 2, 2026

Adding django6 support.

@auvipy auvipy requested review from auvipy and Copilot and removed request for Copilot March 2, 2026 17:54
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds Django 6.0 as a supported/tested Django version across local tox environments and packaging metadata.

Changes:

  • Expand tox env matrix to include django60 (Python 3.12/3.13) and wire in a new Django 6.0 test requirements file.
  • Add a Framework :: Django :: 6.0 Trove classifier to package metadata.
  • Broaden the generic Django test dependency upper bound from <6.0 to <7.0.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
tox.ini Adds django60 to envlist and tox dependency factor mapping.
setup.py Declares Django 6.0 support via Trove classifier.
requirements/test-django60.txt New requirements pin for Django 6.x testing.
requirements/test-django.txt Raises Django upper bound to allow 6.x in generic test deps.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +3 to +4
py313-django{51,52,60}
py312-django{51,52,60,42}
Copy link

Copilot AI Mar 2, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The GitHub Actions unittest matrix currently only runs Django {32,42,51,52} and does not include the new django60 tox environments. As a result, the newly added Django 6.0 support won’t be exercised in CI; please update the CI matrix (e.g., .github/workflows/test.yaml) to add the appropriate Django=60 combinations (likely py312/py313 only, matching tox envlist).

Copilot uses AI. Check for mistakes.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@awais786 please cross check this, this might be missing

@awais786 awais786 requested a review from auvipy March 2, 2026 19:49
Copy link
Member

@auvipy auvipy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please check the failing CI

Removed celery<6.0 from default.txt to avoid conflict with Django 6.0.
Excluded Python 3.11 + Django 6.0 from CI, as Django 6.0 requires Python 3.12+.
Removed celery<6.0 from default.txt to avoid conflict with Django 6.0.
Excluded Python 3.11 + Django 6.0 from CI, as Django 6.0 requires Python 3.12+.
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +1 to 2
celery>=5.2.7
Django>=3.2.25
Copy link

Copilot AI Mar 25, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR is titled/descried as adding Django 6 support, but this hunk also removes the upper bound on Celery (previously <6.0). Since requirements/default.txt feeds install_requires in setup.py, this broadens the supported/runtime dependency range and may allow Celery 6+ to be installed without any corresponding compatibility/testing updates (and requirements/docs.txt still caps Celery at <6.0). If the intent is to support Celery 6, please update the PR description and align constraints across requirement files; otherwise, consider restoring an upper bound (or choosing a new tested range, e.g. <7.0).

Copilot uses AI. Check for mistakes.
@auvipy auvipy merged commit 2a6840c into celery:main Mar 25, 2026
28 checks passed
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.

3 participants