django-dynamic-admin-forms 3.4.0__tar.gz → 3.4.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/.github/workflows/quality-gate.yml +7 -7
  2. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/.github/workflows/release.yml +5 -5
  3. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/.gitignore +5 -0
  4. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/.pre-commit-config.yaml +6 -5
  5. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/CHANGES.md +6 -0
  6. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/CONTRIBUTING.md +3 -4
  7. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/PKG-INFO +9 -9
  8. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/django_dynamic_admin_forms/__init__.py +1 -1
  9. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/docs/conf.py +1 -6
  10. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/pyproject.toml +11 -9
  11. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/scripts/unix/install_requirements.sh +1 -1
  12. django_dynamic_admin_forms-3.4.1/scripts/windows/install_requirements.ps1 +2 -0
  13. django_dynamic_admin_forms-3.4.0/scripts/windows/install_requirements.ps1 +0 -2
  14. django_dynamic_admin_forms-3.4.0/uv.lock +0 -1371
  15. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/.ambient-package-update/metadata.py +0 -0
  16. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/.ambient-package-update/templates/snippets/content.tpl +0 -0
  17. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/.ambient-package-update/templates/snippets/installation.tpl +0 -0
  18. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/.editorconfig +0 -0
  19. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  20. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/.github/ISSUE_TEMPLATE/config.yml +0 -0
  21. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
  22. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
  23. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/.github/workflows/ci.yml +0 -0
  24. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/.readthedocs.yaml +0 -0
  25. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/CODE_OF_CONDUCT.md +0 -0
  26. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/LICENSE.md +0 -0
  27. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/MANIFEST.in +0 -0
  28. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/README.md +0 -0
  29. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/SECURITY.md +0 -0
  30. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/django_dynamic_admin_forms/admin.py +0 -0
  31. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/django_dynamic_admin_forms/apps.py +0 -0
  32. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/django_dynamic_admin_forms/static/js/dynamic_admin.js +0 -0
  33. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/django_dynamic_admin_forms/templates/admin/change_form.html +0 -0
  34. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/django_dynamic_admin_forms/urls.py +0 -0
  35. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/docs/Makefile +0 -0
  36. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/docs/demo.gif +0 -0
  37. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/docs/features/changelog.rst +0 -0
  38. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/docs/index.rst +0 -0
  39. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/docs/make.bat +0 -0
  40. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/e2e/cypress/integration/dynamic-select.spec.js +0 -0
  41. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/e2e/cypress/plugins/index.js +0 -0
  42. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/e2e/cypress/support/commands.js +0 -0
  43. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/e2e/cypress/support/index.js +0 -0
  44. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/e2e/cypress/support/paths.js +0 -0
  45. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/e2e/cypress.json +0 -0
  46. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/e2e/package.json +0 -0
  47. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/e2e/yarn.lock +0 -0
  48. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/fixtures/fixtures-dev.json +0 -0
  49. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/manage.py +0 -0
  50. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/scripts/unix/publish_to_pypi.sh +0 -0
  51. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/scripts/windows/publish_to_pypi.ps1 +0 -0
  52. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/settings.py +0 -0
  53. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/testapp/__init__.py +0 -0
  54. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/testapp/admin.py +0 -0
  55. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/testapp/apps.py +0 -0
  56. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/testapp/migrations/0001_initial.py +0 -0
  57. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/testapp/migrations/0002_extend_example.py +0 -0
  58. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/testapp/migrations/0003_example_file_field.py +0 -0
  59. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/testapp/migrations/0004_skill_customer_skills.py +0 -0
  60. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/testapp/migrations/__init__.py +0 -0
  61. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/testapp/models.py +0 -0
  62. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/testapp/urls.py +0 -0
  63. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/tests/__init__.py +0 -0
  64. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/tests/test_admin_generic.py +0 -0
  65. {django_dynamic_admin_forms-3.4.0 → django_dynamic_admin_forms-3.4.1}/tests/test_admin_unit.py +0 -0
@@ -7,10 +7,10 @@ jobs:
7
7
  linting:
8
8
  runs-on: ubuntu-24.04
9
9
  steps:
10
- - uses: actions/checkout@v6
10
+ - uses: actions/checkout@v7
11
11
 
12
12
  - name: Set up Python 3.14
13
- uses: actions/setup-python@v6
13
+ uses: actions/setup-python@v7
14
14
  with:
15
15
  python-version: "3.14"
16
16
 
@@ -36,13 +36,13 @@ jobs:
36
36
  django-version: 61
37
37
 
38
38
  steps:
39
- - uses: actions/checkout@v6
39
+ - uses: actions/checkout@v7
40
40
  - name: setup python
41
- uses: actions/setup-python@v6
41
+ uses: actions/setup-python@v7
42
42
  with:
43
43
  python-version: ${{ matrix.python-version }}
44
44
  - name: Install uv
45
- uses: astral-sh/setup-uv@v8.0.0
45
+ uses: astral-sh/setup-uv@v10.3.0
46
46
  with:
47
47
  cache-suffix: ${{ github.ref_type }}
48
48
  - name: Install tox
@@ -64,9 +64,9 @@ jobs:
64
64
  runs-on: ubuntu-24.04
65
65
  needs: tests
66
66
  steps:
67
- - uses: actions/checkout@v6
67
+ - uses: actions/checkout@v7
68
68
 
69
- - uses: actions/setup-python@v6
69
+ - uses: actions/setup-python@v7
70
70
  with:
71
71
  python-version: '3.14'
72
72
 
@@ -19,7 +19,7 @@ jobs:
19
19
  outputs:
20
20
  on-main: ${{ steps.check.outputs.on-main }}
21
21
  steps:
22
- - uses: actions/checkout@v6
22
+ - uses: actions/checkout@v7
23
23
  with:
24
24
  fetch-depth: 0
25
25
  - name: Check if tag is on main
@@ -41,15 +41,15 @@ jobs:
41
41
  permissions:
42
42
  contents: read
43
43
  steps:
44
- - uses: actions/checkout@v6
44
+ - uses: actions/checkout@v7
45
45
 
46
46
  - name: Set up Python 3.14
47
- uses: actions/setup-python@v6
47
+ uses: actions/setup-python@v7
48
48
  with:
49
49
  python-version: "3.14"
50
50
 
51
51
  - name: Install uv
52
- uses: astral-sh/setup-uv@v8.0.0
52
+ uses: astral-sh/setup-uv@v10.3.0
53
53
 
54
54
  - name: Build packages
55
55
  run: uv build
@@ -76,7 +76,7 @@ jobs:
76
76
  path: dist/
77
77
 
78
78
  - name: Sign packages with Sigstore
79
- uses: sigstore/gh-action-sigstore-python@v3.3.0
79
+ uses: sigstore/gh-action-sigstore-python@v3.5.0
80
80
  with:
81
81
  inputs: >-
82
82
  ./dist/*.tar.gz
@@ -81,6 +81,11 @@ target/
81
81
  profile_default/
82
82
  ipython_config.py
83
83
 
84
+ # uv
85
+ # This is a library, so consumers never install from the lockfile. Not committing it avoids
86
+ # lockfile churn in every maintenance release.
87
+ uv.lock
88
+
84
89
  # pdm
85
90
  # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
86
91
  #pdm.lock
@@ -3,7 +3,7 @@
3
3
 
4
4
  repos:
5
5
  - repo: https://github.com/astral-sh/ruff-pre-commit
6
- rev: v0.16.4
6
+ rev: v0.17.1
7
7
  hooks:
8
8
  # Run the Ruff formatter.
9
9
  - id: ruff-format
@@ -15,24 +15,25 @@ repos:
15
15
  rev: 1.20.0
16
16
  hooks:
17
17
  - id: blacken-docs
18
+ args: [--line-length, "120"]
18
19
  additional_dependencies:
19
- - black==26.5.1
20
+ - black==26.10.1
20
21
  files: '(?:README\.md|\.ambient-package-update\/templates\/snippets\/.*\.tpl|docs\/.*\.(?:md|rst))'
21
22
 
22
23
  - repo: https://github.com/asottile/pyupgrade
23
- rev: v3.21.2
24
+ rev: v3.22.0
24
25
  hooks:
25
26
  - id: pyupgrade
26
27
  args: [ --py311-plus ]
27
28
 
28
29
  - repo: https://github.com/adamchainz/django-upgrade
29
- rev: 1.32.0
30
+ rev: 1.33.0
30
31
  hooks:
31
32
  - id: django-upgrade
32
33
  args: [--target-version, "5.2"]
33
34
 
34
35
  - repo: https://github.com/adamchainz/djade-pre-commit
35
- rev: 1.9.0
36
+ rev: 1.10.0
36
37
  hooks:
37
38
  - id: djade
38
39
  args: [--target-version, "5.2"]
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ **3.4.1** (2026-10-21)
4
+ * Updated the linting and CI setup to the current ambient-package-update template (ruff 0.17.1, `actions/checkout` v7, `actions/setup-python` v7)
5
+ * Fixed the Sphinx configuration for sphinx-rtd-theme 3, removing the documentation build warnings
6
+ * Fixed broken links in the pre-commit section of `CONTRIBUTING.md`
7
+ * Stopped committing `uv.lock`, since the package is a library and the lockfile never reaches its users
8
+
3
9
  **3.4.0** (2026-08-27)
4
10
  * Added support for Django 6.1
5
11
  * **Breaking change:** Dropped support for Django 4.2, whose extended support ended in April 2026
@@ -4,7 +4,7 @@
4
4
 
5
5
  - Create a Python virtualenv and activate it
6
6
  - Install "uv" with `pip install -U uv`
7
- - Sync the requirements with `uv sync --frozen --extra dev`
7
+ - Sync the requirements with `uv sync --extra dev`
8
8
 
9
9
  ## Add functionality
10
10
 
@@ -36,9 +36,8 @@ To enable the configured pre-push hooks, you need to [install](https://pre-commi
36
36
 
37
37
  pre-commit install -t pre-push -t pre-commit --install-hooks
38
38
 
39
- This will permanently install the git hooks for both, frontend and backend, in your local
40
- [`.git/hooks`](./.git/hooks) folder.
41
- The hooks are configured in the [`.pre-commit-config.yaml`](templates/.pre-commit-config.yaml.tpl).
39
+ This will permanently install the git hooks in your local `.git/hooks` folder.
40
+ The hooks are configured in the [`.pre-commit-config.yaml`](./.pre-commit-config.yaml).
42
41
 
43
42
  You can check whether hooks work as intended using the [run](https://pre-commit.com/#pre-commit-run) command:
44
43
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: django-dynamic-admin-forms
3
- Version: 3.4.0
3
+ Version: 3.4.1
4
4
  Summary: Add simple dynamic interaction to the otherwise static django admin.
5
5
  Project-URL: Homepage, https://github.com/ambient-innovation/django-dynamic-admin/
6
6
  Project-URL: Documentation, https://django-dynamic-admin-forms.readthedocs.io/en/latest/index.html
@@ -52,16 +52,16 @@ Requires-Dist: django>=5.2
52
52
  Provides-Extra: dev
53
53
  Requires-Dist: ambient-package-update; extra == 'dev'
54
54
  Requires-Dist: keyring~=25.7; extra == 'dev'
55
- Requires-Dist: pre-commit~=4.3; extra == 'dev'
56
- Requires-Dist: pytest-cov~=7.0; extra == 'dev'
57
- Requires-Dist: pytest-django~=4.11; extra == 'dev'
58
- Requires-Dist: pytest-mock~=3.15; extra == 'dev'
55
+ Requires-Dist: pre-commit~=4.7; extra == 'dev'
56
+ Requires-Dist: pytest-cov~=7.1; extra == 'dev'
57
+ Requires-Dist: pytest-django~=4.14; extra == 'dev'
58
+ Requires-Dist: pytest-mock~=3.17; extra == 'dev'
59
59
  Requires-Dist: sphinx-mdinclude~=0.6; extra == 'dev'
60
- Requires-Dist: sphinx-rtd-theme~=3.0; extra == 'dev'
61
- Requires-Dist: sphinx~=7.4; extra == 'dev'
62
- Requires-Dist: typer~=0.19; extra == 'dev'
60
+ Requires-Dist: sphinx-rtd-theme~=3.1; extra == 'dev'
61
+ Requires-Dist: sphinx~=8.2; extra == 'dev'
62
+ Requires-Dist: typer~=0.27; extra == 'dev'
63
63
  Requires-Dist: unittest-parametrize~=1.4; extra == 'dev'
64
- Requires-Dist: uv~=0.9; extra == 'dev'
64
+ Requires-Dist: uv~=0.13; extra == 'dev'
65
65
  Description-Content-Type: text/markdown
66
66
 
67
67
  [![PyPI release](https://img.shields.io/pypi/v/django-dynamic-admin-forms.svg)](https://pypi.org/project/django-dynamic-admin-forms/)
@@ -1,3 +1,3 @@
1
1
  """Add simple dynamic interaction to the otherwise static django admin."""
2
2
 
3
- __version__ = "3.4.0"
3
+ __version__ = "3.4.1"
@@ -68,14 +68,9 @@ exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
68
68
  # a list of builtin themes.
69
69
  html_theme = "sphinx_rtd_theme"
70
70
  html_theme_options = {
71
- "display_version": False,
71
+ "version_selector": False,
72
72
  "style_external_links": False,
73
73
  }
74
74
 
75
- # Add any paths that contain custom static files (such as style sheets) here,
76
- # relative to this directory. They are copied after the builtin static files,
77
- # so a file named "default.css" will overwrite the builtin "default.css".
78
- html_static_path = ["_static"]
79
-
80
75
  # Set master doc file
81
76
  master_doc = "index"
@@ -38,15 +38,15 @@ dependencies = [
38
38
 
39
39
  [project.optional-dependencies]
40
40
  dev = [
41
- 'typer~=0.19',
42
- 'pytest-cov~=7.0',
43
- 'pytest-django~=4.11',
44
- 'pytest-mock~=3.15',
45
- 'pre-commit~=4.3',
46
- 'sphinx~=7.4',
47
- 'sphinx-rtd-theme~=3.0',
41
+ 'typer~=0.27',
42
+ 'pytest-cov~=7.1',
43
+ 'pytest-django~=4.14',
44
+ 'pytest-mock~=3.17',
45
+ 'pre-commit~=4.7',
46
+ 'sphinx~=8.2',
47
+ 'sphinx-rtd-theme~=3.1',
48
48
  'sphinx-mdinclude~=0.6',
49
- 'uv~=0.9',
49
+ 'uv~=0.13',
50
50
  'keyring~=25.7',
51
51
  'ambient-package-update',
52
52
  'unittest-parametrize~=1.4',
@@ -204,9 +204,11 @@ env_list = ["django52", "django60", "django61", ]
204
204
  # Django deprecation overview: https://www.djangoproject.com/download/
205
205
  package = "wheel"
206
206
  wheel_build_env = ".pkg"
207
- # This runner syncs from the lockfile and ignores "deps", so every environment below
207
+ # This runner installs via "uv sync" and ignores "deps", so every environment below
208
208
  # installs its matrix Django version on top of the synced environment.
209
209
  runner = "uv-venv-lock-runner"
210
+ # uv.lock is not committed for libraries, so tox resolves fresh instead of asserting a lockfile.
211
+ uv_sync_locked = false
210
212
  extras = ["dev", ]
211
213
  commands = [
212
214
  ["pytest", "--cov=django_dynamic_admin_forms", "--cov-report=term", "--cov-report=xml", "--ds", "settings", "tests"]
@@ -1,3 +1,3 @@
1
1
  #!/bin/bash
2
2
  pip install -U uv
3
- uv sync --frozen --extra dev
3
+ uv sync --extra dev
@@ -0,0 +1,2 @@
1
+ pip install -U uv
2
+ uv sync --extra dev
@@ -1,2 +0,0 @@
1
- pip install -U uv
2
- uv sync --frozen --extra dev