Skip to content

Commit f333c99

Browse files
committed
chore(deps): drop Django 5.1 support, update pre-commit hooks and deps
- Remove Django 5.1 from tox test matrix and pyproject classifiers - Update dependencies to exclude Django 5.0.* and 5.1.* - Clean up tox.ini: remove obsolete Django 4.0/4.1/5.0/5.1 entries - Now supporting Django 4.2 LTS, 5.2, and 6.0 only - Update uv-secure to 0.15.4 (fixes hishel compatibility) - Update pyright to 1.1.407 - Security: upgrade Django and Werkzeug to fix vulnerabilities
1 parent 3798a78 commit f333c99

6 files changed

Lines changed: 96 additions & 31 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ repos:
4040
args: [--target-version, "4.2"]
4141

4242
- repo: https://github.com/owenlamont/uv-secure
43-
rev: 0.11.1
43+
rev: 0.15.4
4444
hooks:
4545
- id: uv-secure
4646

4747
- repo: https://github.com/RobertCraigie/pyright-python
48-
rev: v1.1.403
48+
rev: v1.1.407
4949
hooks:
5050
- id: pyright

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
## Unreleased
44

5+
### 🔧 Technical Improvements
6+
- **Django support**: Dropped support for Django 5.1 (now supporting Django 4.2 LTS, 5.2, and 6.0 only)
7+
- **Pre-commit hooks**: Updated uv-secure (0.15.4) and pyright (1.1.407)
8+
- **Security**: Updated Django and Werkzeug to fix security vulnerabilities
9+
510
### 🛠️ Developer Experience
611
- **Cleanup command**: Added `just clean` target to remove temporary files and build artifacts
712

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ Key Django settings for configuration:
114114
## Version Support
115115

116116
- Python: 3.10-3.14
117-
- Django: 4.0-6.0
117+
- Django: 4.2, 5.2-6.0
118118
- Tailwind CSS: 4.x only (use v2.21.1 for Tailwind 3.x)
119119

120120
## Commit Message Guidelines

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,12 @@ classifiers = [
1919
"Topic :: Utilities",
2020
"Environment :: Web Environment",
2121
"Framework :: Django :: 4.2",
22-
"Framework :: Django :: 5.1",
2322
"Framework :: Django :: 5.2",
2423
"Framework :: Django :: 6.0",
2524
]
2625
dynamic = ["version"]
2726
requires-python = ">=3.10"
28-
dependencies = ["django>=4.2,!=5.0.*", "django-typer>=2.1.2", "semver>=3.0.4"]
27+
dependencies = ["django>=4.2,!=5.0.*,!=5.1.*", "django-typer>=2.1.2", "semver>=3.0.4"]
2928

3029
[project.optional-dependencies]
3130
django-extensions = ["django-extensions>=3.2", "werkzeug>=3.0"]

tox.ini

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
[tox]
22
isolated_build = true
33
envlist =
4-
django40-py310
5-
django41-py{310,311}
64
django42-py{310,311,312}
7-
django50-py{310,311,312}
8-
django51-py{310,311,312,313}
95
django52-py{310,311,312,313,314}
106
django60-py{312,313,314}
117

@@ -27,9 +23,7 @@ deps =
2723
pytest
2824
pytest-mock
2925
pytest-django
30-
setuptools; python_version < "3.10"
3126
django42: Django>=4.2a1,<5.0
32-
django51: Django>=5.1a1,<5.2
3327
django52: Django>=5.2a1,<6
3428
django60: Django>=6.0a1,<6.1
3529
extras = django-extensions

uv.lock

Lines changed: 87 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)