diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 68b0ae9..d6a93f2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,6 +17,8 @@ jobs: include: - python-version: '3.9' django-version: '<5' + - python-version: '3.13' + django-version: '' steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 diff --git a/pyproject.toml b/pyproject.toml index 8e595af..87f9054 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,6 +21,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Topic :: Database :: Database Engines/Servers", "Topic :: Software Development :: Libraries :: Python Modules", "Typing :: Typed", diff --git a/tests/test_all.py b/tests/test_all.py index 4acc0d3..c6617fa 100644 --- a/tests/test_all.py +++ b/tests/test_all.py @@ -1,6 +1,5 @@ import enum import math -import django from django.db import models from django.db.models import functions from django.utils import timezone @@ -271,7 +270,6 @@ def test_3_2(books): assert books.alias(name=F.author.lower()).annotate(name=F('name')) -@pytest.mark.skipif(django.VERSION < (4,), reason='requires django >=4') def test_4(books): assert books['quantity'].filter(quantity=-1).sum(default=0) == 0