Skip to content

FEAT: Support Django 6.1 - enable in CI and packaging - #564

Merged
Gaurav Sharma (bewithgaurav) merged 2 commits into
devfrom
bewithgaurav/django-6.1-enable-ci
Aug 7, 2026
Merged

FEAT: Support Django 6.1 - enable in CI and packaging#564
Gaurav Sharma (bewithgaurav) merged 2 commits into
devfrom
bewithgaurav/django-6.1-enable-ci

Conversation

@bewithgaurav

Copy link
Copy Markdown
Collaborator

AB#46928

GitHub Issue: #551

capstone for Django 6.1 compatibility support. enables 6.1 (now GA) across CI and packaging, on top of the compatibility fixes already merged (#553, #555, #556, #557, #563).

  • tox: new py{312,313,314}-django61 env, django>=6.1,<6.2 (resolves to 6.1 GA).
  • CI: Django 6.1 matrix rows on both the Windows and Linux jobs (Python 3.12 / 3.13 / 3.14, matching 6.1's requires-python >= 3.12).
  • packaging: install_requires cap lifted to <6.2 so the tox package install doesn't downgrade Django off 6.1, plus the Framework :: Django :: 6.1 classifier.

all existing Django versions (3.2 through 6.0) are retained. this is the PR whose CI actually exercises 6.1 end to end; the fix PRs before it were version-gated and inert on the pre-6.1 matrix.

Adds Django 6.1 (now GA) to the test matrix: py{312,313,314}-django61 tox env
(django>=6.1,<6.2), matrix rows on the Windows and Linux ADO jobs, the
install_requires cap lifted to <6.2 so the package install doesn't downgrade
Django during tox, and the Framework :: Django :: 6.1 classifier. All existing
Django versions are retained.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings August 7, 2026 06:51

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Enables end-to-end CI and packaging metadata for Django 6.1 support in mssql-django, aligning tox environments, Azure Pipelines matrices, and PyPI requirements/classifiers so Django 6.1 is exercised and installable without being downgraded.

Changes:

  • Add a django61 tox factor with django>=6.1,<6.2 and include it in the envlist for Python 3.12–3.14.
  • Extend Azure Pipelines Windows and Linux job matrices to run the new py{312,313,314}-django61 tox environments.
  • Update packaging metadata to allow django>=3.2,<6.2 and include the Framework :: Django :: 6.1 classifier.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
tox.ini Adds Django 6.1 tox environments for Python 3.12–3.14.
setup.py Lifts Django upper bound to <6.2 and adds the Django 6.1 trove classifier.
azure-pipelines.yml Adds Django 6.1 runs to both Windows and Linux CI matrices via the new tox envs.

@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown

📊 Code Coverage Report

🔥 Diff Coverage

100%


🎯 Overall Coverage

79.17%


📈 Total Lines Covered: 2406 out of 3039
📁 Project: mssql-django


Diff Coverage

Diff: dev...HEAD, staged and unstaged changes

No lines with coverage information in this diff.


📋 Files Needing Attention

📉 Files with overall lowest coverage (click to expand)
- mssql/client.py: 19.5%  (41 lines)
- mssql/__init__.py: 50.0%  (2 lines)
- mssql/creation.py: 56.8%  (74 lines)
- mssql/base.py: 68.3%  (514 lines)
- mssql/operations.py: 78.8%  (396 lines)
- mssql/compiler.py: 79.2%  (644 lines)
- mssql/functions.py: 83.2%  (428 lines)
- mssql/schema.py: 86.1%  (719 lines)
- mssql/introspection.py: 90.2%  (133 lines)
- mssql/features.py: 98.9%  (88 lines)

🔗 Quick Links

⚙️ Build Summary 📋 Coverage Details

View Azure DevOps Build

Browse Full Coverage Report

@bewithgaurav
Gaurav Sharma (bewithgaurav) merged commit 4065804 into dev Aug 7, 2026
26 of 29 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.

4 participants