Skip to content

Commit

Permalink
Python 3.13 tested.
Browse files Browse the repository at this point in the history
  • Loading branch information
coady committed Nov 6, 2024
1 parent 511b921 commit ccab666
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 0 additions & 2 deletions tests/test_all.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit ccab666

Please sign in to comment.