feat: add support for Django 6.0 and Python 3.14#275
Open
armonge wants to merge 1 commit intoSectorLabs:masterfrom
Open
feat: add support for Django 6.0 and Python 3.14#275armonge wants to merge 1 commit intoSectorLabs:masterfrom
armonge wants to merge 1 commit intoSectorLabs:masterfrom
Conversation
cce6860 to
e7700f3
Compare
Extend compatibility to Django 6.0 and Python 3.14 in README, setup.py,
and tox.ini. Update dependencies and test matrix for new versions.
Improve tuple handling in expressions and lookups for consistency.
feat(ci): add CircleCI job for Python 3.14 testing
Introduce a new CircleCI job `test-python314` to run tests against Python
3.14 and PostgreSQL 18.0 on Debian Bullseye. This ensures compatibility
with the latest Python release and updates our CI matrix for future-proof
testing.
feat(tox): add Python 3.14 to test matrix
Extend tox test environments to include Python 3.14 for Django 4.2, 5.x,
and 6.0 with supported psycopg versions. This ensures compatibility
testing for the latest Python release.
feat(ci): add test-python314 job to CircleCI workflows
Include the test-python314 job in CircleCI workflows with filters for tags
and branches. This ensures Python 3.14 tests are run for all branches and
tags, improving compatibility and coverage.
chore(ci): update Debian dist to trixie for CircleCI
Switch CircleCI job configuration from Debian bullseye to trixie to ensure
compatibility with newer Python and PostgreSQL versions. This helps maintain
up-to-date dependencies and system libraries in CI builds.
fix: resolve Django 6.0 + PostgreSQL 17+ test failures
- Deep copy states in make_migration to prevent autodetector mutation
(Django 6.0 calls options.pop("indexes") without default)
- Filter PG17+ named NOT NULL constraints in clone model test assertions
- Add setdefault for indexes/constraints in state_forwards operations
- Use CheckConstraint(condition=...) for Django >= 6.0 compatibility
- Fix reduce() duplicate kwargs with PostgresCreatePartitionedModel guard
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
fix: guard constraints setdefault behind Django >= 2.2 check
Django < 2.2 does not support the constraints Meta option, so setting
it as a default causes "'class Meta' got invalid attribute(s): constraints".
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.
Extend compatibility to Django 6.0 and Python 3.14 in README, setup.py, and tox.ini. Update dependencies and test matrix for new versions. Improve tuple handling in expressions and lookups for consistency.