Skip to content

Commit d22bd48

Browse files
committed
fix pfg_resources error
1 parent c4cb6ca commit d22bd48

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

‎requirements.in‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ django-filer==3.4.4
1616
django-markdown-deux==1.0.6
1717
django-mptt==0.18.0
1818
django-pagedown==2.2.1
19+
# Pinned directly so we get a 4.x release that uses `importlib.metadata`
20+
# instead of the deprecated `pkg_resources`. django-filer pulls it in
21+
# transitively but doesn't pin a specific version, so without this we'd
22+
# resolve to an old 3.x release that breaks on Python 3.12.
23+
django-polymorphic==4.11.2
1924
django-reversion==5.1.0
2025
django-sekizai==4.1.0
2126
django-storages==1.14.6

‎requirements.txt‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,10 @@ django-mptt==0.18.0
7575
# via -r requirements.in
7676
django-pagedown==2.2.1
7777
# via -r requirements.in
78-
django-polymorphic==3.1.0
79-
# via django-filer
78+
django-polymorphic==4.11.2
79+
# via
80+
# -r requirements.in
81+
# django-filer
8082
django-ranged-response==0.2.0
8183
# via django-simple-captcha
8284
django-reversion==5.1.0
@@ -215,6 +217,7 @@ typing-extensions==4.15.0
215217
# -r requirements.in
216218
# beautifulsoup4
217219
# django-countries
220+
# django-polymorphic
218221
urllib3==2.6.3
219222
# via
220223
# -r requirements.in

0 commit comments

Comments
 (0)