Add Django 6.0 and Python 3.14 support#224
Closed
goodtune wants to merge 5 commits intorevsys:mainfrom
Closed
Conversation
- Add Python 3.13 and 3.14 to CI testing matrix - Add Django 6.0 to CI testing matrix - Add exclusions for incompatible Python/Django combinations - Update Python classifiers to include Python 3.14 - Update Django classifiers to include Django 6.0 - Update `python_requires` constraint to support Python 3.14 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Add `--prerelease=if-necessary-or-explicit` to `uv pip install` commands - This allows Django 6.0 alpha to be installed without pulling in other pre-release dependencies 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Change from `Django~=6.0.0` to `Django>=6.0a1,<7` - This allows matching Django 6.0 alpha releases - Applied to both Django-only and Django+DRF installation steps 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- For stable Django versions (4.2, 5.1, 5.2): use `Django~=X.Y.0` without prerelease flag - For Django 6.0 (alpha): use `Django>=6.0a1,<6.1` with `--prerelease=if-necessary-or-explicit` - This ensures proper minor version handling for stable releases and explicit alpha support 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Django 6.0 requires Python 3.12+ (exclude Python 3.10 and 3.11) - Python 3.14 requires Django 5.2+ (exclude Django 4.2 and 5.1) - Update comment to reflect Django 6.0's Python 3.12+ requirement 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Member
|
Thank you for this. I made some manually changes in #225 which replace the need for this to make sure our 3.14 free threading updates happen. We'll review the rest but appreciate your interest and pr. |
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.
Summary
Adds support for Django 6.0 (currently alpha) and Python 3.14 to the testing matrix and classifiers.
Changes to
.github/workflows/actions.ymlDjango~=X.Y.0without prerelease flagDjango>=6.0a1,<6.1with--prerelease=if-necessary-or-explicitflagChanges to
setup.cfgpython_requiresconstraint from>=3.9, <3.14to>=3.9, <3.15This enables early testing against Django 6.0 alpha to provide feedback to Django developers before the stable release.
Closes #223
🤖 Generated with Claude Code