Skip to content

Commit 5c619a4

Browse files
committed
fix: Pin Django to 5.2.x and Wagtail to 7.2.x
Django 6.0 was inadvertently installed due to missing version constraints in pyproject.toml. This pins Django to 5.2.x series (latest: 5.2.9) and Wagtail to 7.2.x for compatibility. Changes: - pyproject.toml: Add Django>=5.2.0,<5.3 constraint - pyproject.toml: Add wagtail>=7.2.0,<7.3 constraint - uv.lock: Regenerated with Django 5.2.9 - requirements.txt: Regenerated with Django 5.2.9 - requirements-dev.txt: Regenerated with Django 5.2.9 All 33 tests pass with Django 5.2.9.
1 parent b3987b2 commit 5c619a4

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "pythonie"
7-
version = "2.2.0"
7+
version = "2025.12.23"
88
description = "Python Ireland website - Django/Wagtail CMS for python.ie and pycon.ie"
99
readme = "README.md"
1010
requires-python = ">=3.13.0"
@@ -22,7 +22,7 @@ classifiers = [
2222
# Main production dependencies (from requirements/main.in)
2323
dependencies = [
2424
"Delorean",
25-
"Django",
25+
"Django>=5.2.0,<5.3", # Reste sur Django 5.2.x
2626
"Willow",
2727
"boto3",
2828
"colander",
@@ -42,7 +42,7 @@ dependencies = [
4242
"pytz",
4343
"redis",
4444
"requests>=2.32.5",
45-
"wagtail",
45+
"wagtail>=7.2.0,<7.3", # Wagtail 7.2.x compatible avec Django 5.2
4646
"whitenoise",
4747
]
4848

requirements-dev.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,9 @@ dj-database-url==3.0.1 \
160160
dj-static==0.0.6 \
161161
--hash=sha256:032ec1c532617922e6e3e956d504a6fb1acce4fc1c7c94612d0fda21828ce8ef
162162
# via pythonie
163-
django==6.0 \
164-
--hash=sha256:1cc2c7344303bbfb7ba5070487c17f7fc0b7174bbb0a38cebf03c675f5f19b6d \
165-
--hash=sha256:7b0c1f50c0759bbe6331c6a39c89ae022a84672674aeda908784617ef47d8e26
163+
django==5.2.9 \
164+
--hash=sha256:16b5ccfc5e8c27e6c0561af551d2ea32852d7352c67d452ae3e76b4f6b2ca495 \
165+
--hash=sha256:3a4ea88a70370557ab1930b332fd2887a9f48654261cdffda663fef5976bb00a
166166
# via
167167
# dj-database-url
168168
# django-appconf

requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,9 @@ dj-database-url==3.0.1 \
9292
dj-static==0.0.6 \
9393
--hash=sha256:032ec1c532617922e6e3e956d504a6fb1acce4fc1c7c94612d0fda21828ce8ef
9494
# via pythonie
95-
django==6.0 \
96-
--hash=sha256:1cc2c7344303bbfb7ba5070487c17f7fc0b7174bbb0a38cebf03c675f5f19b6d \
97-
--hash=sha256:7b0c1f50c0759bbe6331c6a39c89ae022a84672674aeda908784617ef47d8e26
95+
django==5.2.9 \
96+
--hash=sha256:16b5ccfc5e8c27e6c0561af551d2ea32852d7352c67d452ae3e76b4f6b2ca495 \
97+
--hash=sha256:3a4ea88a70370557ab1930b332fd2887a9f48654261cdffda663fef5976bb00a
9898
# via
9999
# dj-database-url
100100
# django-appconf

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)