Skip to content

Commit c1db638

Browse files
committed
chore(django5): pin dependencies to prevent drift
Use compatible release operator (~=) to pin major.minor versions while allowing patch updates: - django~=5.2.7 - uvicorn[standard]~=0.38.0 - pytest~=8.4.2 - pytest-asyncio~=1.2.0 - pytest-django~=4.11.1 - httpx~=0.28.1 Prevents accidental behavior changes from minor version bumps while still getting security patches.
1 parent 5d749fa commit c1db638

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

test_project_django5/pyproject.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ name = "test-django5"
33
version = "0.1.0"
44
requires-python = ">=3.12"
55
dependencies = [
6-
"django>=5.0",
7-
"uvicorn[standard]",
6+
"django~=5.2.7",
7+
"uvicorn[standard]~=0.38.0",
88
"posthog",
9-
"pytest>=8.0",
10-
"pytest-asyncio>=0.23",
11-
"pytest-django>=4.0",
12-
"httpx>=0.27",
9+
"pytest~=8.4.2",
10+
"pytest-asyncio~=1.2.0",
11+
"pytest-django~=4.11.1",
12+
"httpx~=0.28.1",
1313
]
1414

1515
[tool.uv.sources]

test_project_django5/uv.lock

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

0 commit comments

Comments
 (0)