File tree Expand file tree Collapse file tree 4 files changed +46
-370
lines changed Expand file tree Collapse file tree 4 files changed +46
-370
lines changed Original file line number Diff line number Diff line change @@ -52,28 +52,16 @@ jobs:
5252 python-version : ${{ matrix.python-version }}
5353 enable-cache : true
5454
55- # - name: Get uv cache dir
56- # id: uv-cache
57- # run: echo "dir=$(uv run pip cache dir)" >> $GITHUB_OUTPUT
58- #
59- # - name: Cache uv dependencies
60- # uses: actions/cache@v4
61- # with:
62- # path: ${{ steps.uv-cache.outputs.dir }}
63- # key: uv-${{ matrix.python-version }}-${{ hashFiles('**/pyproject.toml') }}-${{ hashFiles('**/tox.ini') }}
64- # restore-keys: |
65- # uv-${{ matrix.python-version }}-
66-
6755 - name : Install tox
6856 run : |
6957 uv tool install tox --with tox-uv
7058
7159 - name : Verify tox plugins
72- run : uv run --group test --no-sources tox --version
60+ run : uv run --active --no-sources tox --version
7361
7462 - name : Tox tests
7563 run : |
76- uv run --active --group test -- no-sources tox
64+ uv run --active --no-sources tox
7765 env :
7866 DJANGO : ${{ matrix.django-version }}
7967
Original file line number Diff line number Diff line change 1- [build-system ]
2- requires = [" uv_build>=0.8.2,<0.9.0" ]
3- build-backend = " uv_build"
4-
5- [tool .uv .build-backend ]
6- module-root = " src"
7- source-exclude = [" bin" ]
8- namespace = false
9-
101[project ]
112name = " django_audit_fields"
123version = " 2.0.3"
@@ -35,13 +26,23 @@ license-files = ["LICEN[CS]E*"]
3526requires-python = " >=3.12"
3627dependencies = [" django-revision>=2.0.0" ]
3728
38-
3929[project .urls ]
4030Homepage = " https://github.com/erikvw/django-audit-fields"
4131Documentation = " https://github.com/erikvw/django-audit-fields/docs"
4232Repository = " https://github.com/erikvw/django-audit-fields.git"
4333Changelog = " https://github.com/erikvw/django-audit-fields/blob/main/CHANGES"
4434
35+
36+ [build-system ]
37+ requires = [" uv_build>=0.9.0" ]
38+ build-backend = " uv_build"
39+
40+ [tool .uv .build-backend ]
41+ module-root = " src"
42+ source-exclude = [" bin" ]
43+ namespace = false
44+
45+
4546[tool .ruff ]
4647line-length = 95
4748indent-width = 4
@@ -115,10 +116,6 @@ ignore_directives = ["toctree", "code-block"]
115116
116117[dependency-groups ]
117118
118- develop = [
119- " django>=5.2.5" ,
120- ]
121-
122119docs = [
123120 " furo>=2025.7.19" ,
124121 " sphinx>=8.2.3" ,
@@ -129,14 +126,6 @@ lint = [
129126 " ruff>=0.12.5" ,
130127]
131128
132- test = [
133- " coverage>=7.10.3" ,
134- " django>=5.2" ,
135- " edc-test-settings>=1.1.2" ,
136- " tox-uv>=1.28.0" ,
137- ]
138-
139-
140129[tool .uv .sources ]
141130django-audit-fields = { workspace = true }
142131django-revision = { path = " ../django-revision" , editable = true }
Original file line number Diff line number Diff line change @@ -18,12 +18,12 @@ DJANGO =
1818
1919[testenv]
2020deps =
21- dj51 : Django>=5.2,<5.3
21+ dj52 : Django>=5.2,<5.3
2222 djdev: git+https://github.com/django/django.git@main
2323
2424commands =
25- uv run --group test --no-sources coverage run -a runtests.py
26- uv run --group test --no-sources coverage report
25+ uv run --active --no-sources coverage run -a runtests.py
26+ uv run --active --no-sources coverage report
2727
2828[testenv:lint]
2929commands =
You can’t perform that action at this time.
0 commit comments