File tree Expand file tree Collapse file tree
src/banjo_utils/management/commands Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5555 - python-version : " 3.12"
5656 django-version : " 5.2"
5757
58- - python-version : " 3.13"
58+ - python-version : " 3.13.2 "
5959 django-version : " 6.0"
6060
61- env :
62- TEST_PYTHON_VERSION : ${{ matrix.python-version }}
63- TEST_DJANGO_VERSION : ${{ matrix.django-version }}
64-
6561 steps :
6662 - uses : actions/checkout@main
6763
@@ -71,16 +67,16 @@ jobs:
7167 python-version : ${{ matrix.python-version }}
7268 allow-prereleases : true
7369
74- - uses : astral-sh/setup-uv@v5
70+ - uses : astral-sh/setup-uv@v7
7571 with :
72+ python-version : ${{ matrix.python-version }}
7673 enable-cache : true
7774
78- - name : Install package and test deps
79- run : |
80- uv sync --all-groups --all-extras
81-
82- - name : Install Django ${{ matrix.django-version }}
83- run : uv pip install "django~=${{ matrix.django-version }}"
75+ - name : Install dependencies
76+ run : uv sync --all-groups --all-extras
8477
8578 - name : Run tests
86- run : uv run pytest tests/ -v --tb=short
79+ run : |
80+ uv run \
81+ --with "django~=${{ matrix.django-version }}" \
82+ pytest tests/ -v --tb=short
Original file line number Diff line number Diff line change 33import json
44import pathlib
55import typing
6- from typing import Any , override
6+ from typing import Any
77
88from django .contrib .auth import get_user_model
99from django .contrib .auth .hashers import identify_hasher
1010from django .core .management .base import BaseCommand , CommandError
11+ from typing_extensions import override
1112
1213if typing .TYPE_CHECKING :
1314 from django .core .management .base import CommandParser
You can’t perform that action at this time.
0 commit comments