Repository navigation
[deps] Added support for Django 6.0/6.1, dropped Python 3.10 (EOL) - #823
Merged
Merged
Conversation
- Added Django 6.0 and 6.1 to the CI matrix for Python 3.12 and 3.13. - Dropped Django 5.1 from the CI matrix since it reached end of life. - Dropped Python 3.10 from the CI matrix and the PyPI build since it reached end of life. - Raised python_requires to 3.11 and updated the minimum Python version in the docs. - Added action_location to get_actions() in the admin, which Django 6.1 passes and warns about when missing. - Removed code needed only for Django < 5.0 from migrations. - Updated admin tests to check the error list id instead of the errors class, since Django 6.1 changed where it is rendered. - Removed an outdated Python version check from the tests and the Python 2 coding declaration from runtests.py. Closes #822
Fix admin add user empty email test failureHello @dee077,
|
Fix sample users admin test assertionsHello @dee077
|
nemesifier
approved these changes
Nov 3, 2026
nemesifier
left a comment
Member
There was a problem hiding this comment.
Verified the Django 6 CI rerun is green and the compatibility update is ready to merge.
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.
Checklist
Reference to Existing Issue
Closes #822.
Description of Changes
python_requiresto 3.11 and updated the minimum Python version in the developer installation docs.action_locationtoget_actions()in the admin, which Django 6.1 passes and warns about when missing.django.VERSION < (5, 0)branches from migrations, since Django 5.2 is now the minimum.errorsclass, since Django 6.1 changed where it is rendered.runtests.py.Depends on openwisp/openwisp-users#595, openwisp/openwisp-notifications#526 and openwisp/django-loci#257.
Related to openwisp/openwisp-utils#788.