Skip to content

Commit ea36131

Browse files
committed
feat!: upgrading to django52.
1 parent 27b0366 commit ea36131

File tree

14 files changed

+73
-71
lines changed

14 files changed

+73
-71
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
strategy:
3838
matrix:
3939
python-version: ["3.12"]
40-
django-version: ["django42", "django52"]
40+
django-version: ["django52"]
4141
steps:
4242
- uses: actions/checkout@v5
4343
- uses: actions/setup-python@v6

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export CUSTOM_COMPILE_COMMAND = make upgrade
6060
upgrade: piptools $(COMMON_CONSTRAINTS_TXT) ## update the requirements/*.txt files with the latest packages satisfying requirements/*.in
6161
sed '/^django-simple-history==/d' requirements/common_constraints.txt > requirements/common_constraints.tmp
6262
mv requirements/common_constraints.tmp requirements/common_constraints.txt
63-
sed 's/Django<4.0//g' requirements/common_constraints.txt > requirements/common_constraints.tmp
63+
sed 's/Django<5.0//g' requirements/common_constraints.txt > requirements/common_constraints.tmp
6464
mv requirements/common_constraints.tmp requirements/common_constraints.txt
6565
pip-compile --allow-unsafe --rebuild --upgrade -o requirements/pip.txt requirements/pip.in
6666
pip-compile --rebuild --upgrade -o requirements/pip_tools.txt requirements/pip_tools.in

requirements/all.txt

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.12
2+
# This file is autogenerated by pip-compile with Python 3.11
33
# by the following command:
44
#
55
# make upgrade
@@ -31,17 +31,17 @@ backoff==2.2.1
3131
# -r requirements/dev.txt
3232
# -r requirements/production.txt
3333
# segment-analytics-python
34-
black==25.1.0
34+
black==25.9.0
3535
# via -r requirements/dev.txt
3636
bleach==6.2.0
3737
# via
3838
# -r requirements/dev.txt
3939
# -r requirements/production.txt
40-
boto3==1.40.31
40+
boto3==1.40.34
4141
# via
4242
# -r requirements/production.txt
4343
# django-ses
44-
botocore==1.40.31
44+
botocore==1.40.34
4545
# via
4646
# -r requirements/production.txt
4747
# boto3
@@ -79,7 +79,7 @@ charset-normalizer==3.4.3
7979
# -r requirements/dev.txt
8080
# -r requirements/production.txt
8181
# requests
82-
click==8.2.1
82+
click==8.3.0
8383
# via
8484
# -r requirements/dev.txt
8585
# -r requirements/production.txt
@@ -115,7 +115,7 @@ coreschema==0.0.4
115115
# coreapi
116116
coverage==7.10.6
117117
# via -r requirements/dev.txt
118-
cryptography==45.0.7
118+
cryptography==46.0.1
119119
# via
120120
# -r requirements/dev.txt
121121
# -r requirements/production.txt
@@ -141,9 +141,8 @@ distlib==0.4.0
141141
# via
142142
# -r requirements/dev.txt
143143
# virtualenv
144-
django==4.2.24
144+
django==5.2.6
145145
# via
146-
# -c requirements/common_constraints.txt
147146
# -r requirements/dev.txt
148147
# -r requirements/production.txt
149148
# django-appconf
@@ -188,7 +187,7 @@ django-config-models==2.9.0
188187
# via
189188
# -r requirements/dev.txt
190189
# -r requirements/production.txt
191-
django-cors-headers==4.8.0
190+
django-cors-headers==4.9.0
192191
# via
193192
# -r requirements/dev.txt
194193
# -r requirements/production.txt
@@ -379,7 +378,7 @@ firebase-admin==7.1.0
379378
# -r requirements/dev.txt
380379
# -r requirements/production.txt
381380
# edx-ace
382-
gevent==25.8.2
381+
gevent==25.9.1
383382
# via -r requirements/production.txt
384383
google-api-core[grpc]==2.25.1
385384
# via
@@ -545,7 +544,7 @@ msgpack==1.1.1
545544
# -r requirements/dev.txt
546545
# -r requirements/production.txt
547546
# cachecontrol
548-
mypy==1.18.1
547+
mypy==1.18.2
549548
# via -r requirements/dev.txt
550549
mypy-extensions==1.1.0
551550
# via
@@ -635,7 +634,7 @@ protobuf==6.32.1
635634
# googleapis-common-protos
636635
# grpcio-status
637636
# proto-plus
638-
psutil==7.0.0
637+
psutil==7.1.0
639638
# via
640639
# -r requirements/dev.txt
641640
# -r requirements/production.txt
@@ -696,7 +695,7 @@ pymemcache==4.0.0
696695
# via
697696
# -r requirements/dev.txt
698697
# -r requirements/production.txt
699-
pymongo==4.15.0
698+
pymongo==4.15.1
700699
# via
701700
# -r requirements/dev.txt
702701
# -r requirements/production.txt
@@ -737,6 +736,10 @@ python3-openid==3.2.0
737736
# -r requirements/dev.txt
738737
# -r requirements/production.txt
739738
# social-auth-core
739+
pytokens==0.1.10
740+
# via
741+
# -r requirements/dev.txt
742+
# black
740743
pytz==2025.2
741744
# via
742745
# -r requirements/dev.txt
@@ -828,7 +831,7 @@ sniffio==1.3.1
828831
# -r requirements/dev.txt
829832
# -r requirements/production.txt
830833
# anyio
831-
social-auth-app-django==5.4.3
834+
social-auth-app-django==5.5.1
832835
# via
833836
# -r requirements/dev.txt
834837
# -r requirements/production.txt

requirements/base.txt

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.12
2+
# This file is autogenerated by pip-compile with Python 3.11
33
# by the following command:
44
#
55
# make upgrade
@@ -33,7 +33,7 @@ cffi==2.0.0
3333
# pynacl
3434
charset-normalizer==3.4.3
3535
# via requests
36-
click==8.2.1
36+
click==8.3.0
3737
# via
3838
# code-annotations
3939
# edx-django-utils
@@ -46,7 +46,7 @@ coreapi==2.3.3
4646
# openapi-codec
4747
coreschema==0.0.4
4848
# via coreapi
49-
cryptography==45.0.7
49+
cryptography==46.0.1
5050
# via
5151
# pyjwt
5252
# social-auth-core
@@ -56,9 +56,8 @@ defusedxml==0.7.1
5656
# social-auth-core
5757
didkit==0.3.3
5858
# via -r requirements/base.in
59-
django==4.2.24
59+
django==5.2.6
6060
# via
61-
# -c requirements/common_constraints.txt
6261
# -r requirements/base.in
6362
# django-appconf
6463
# django-config-models
@@ -93,7 +92,7 @@ django-appconf==1.1.0
9392
# via django-statici18n
9493
django-config-models==2.9.0
9594
# via -r requirements/base.in
96-
django-cors-headers==4.8.0
95+
django-cors-headers==4.9.0
9796
# via -r requirements/base.in
9897
django-crum==0.7.9
9998
# via
@@ -299,7 +298,7 @@ protobuf==6.32.1
299298
# googleapis-common-protos
300299
# grpcio-status
301300
# proto-plus
302-
psutil==7.0.0
301+
psutil==7.1.0
303302
# via edx-django-utils
304303
pyasn1==0.6.1
305304
# via
@@ -322,7 +321,7 @@ pyjwt[crypto]==2.10.1
322321
# social-auth-core
323322
pymemcache==4.0.0
324323
# via -r requirements/base.in
325-
pymongo==4.15.0
324+
pymongo==4.15.1
326325
# via edx-opaque-keys
327326
pynacl==1.6.0
328327
# via edx-django-utils
@@ -386,7 +385,7 @@ six==1.17.0
386385
# python-dateutil
387386
sniffio==1.3.1
388387
# via anyio
389-
social-auth-app-django==5.4.3
388+
social-auth-app-django==5.5.1
390389
# via
391390
# -r requirements/base.in
392391
# edx-auth-backends

requirements/common_constraints.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# this file from Github directly. It does not require packaging in edx-lint.
1818

1919
# using LTS django version
20-
Django<5.0
20+
2121

2222
# elasticsearch>=7.14.0 includes breaking changes in it which caused issues in discovery upgrade process.
2323
# elastic search changelog: https://www.elastic.co/guide/en/enterprise-search/master/release-notes-7.14.0.html

requirements/dev.txt

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.12
2+
# This file is autogenerated by pip-compile with Python 3.11
33
# by the following command:
44
#
55
# make upgrade
@@ -27,7 +27,7 @@ backoff==2.2.1
2727
# via
2828
# -r requirements/test.txt
2929
# segment-analytics-python
30-
black==25.1.0
30+
black==25.9.0
3131
# via -r requirements/test.txt
3232
bleach==6.2.0
3333
# via -r requirements/test.txt
@@ -59,7 +59,7 @@ charset-normalizer==3.4.3
5959
# via
6060
# -r requirements/test.txt
6161
# requests
62-
click==8.2.1
62+
click==8.3.0
6363
# via
6464
# -r requirements/test.txt
6565
# black
@@ -91,7 +91,7 @@ coreschema==0.0.4
9191
# coreapi
9292
coverage==7.10.6
9393
# via -r requirements/test.txt
94-
cryptography==45.0.7
94+
cryptography==46.0.1
9595
# via
9696
# -r requirements/test.txt
9797
# pyjwt
@@ -113,9 +113,8 @@ distlib==0.4.0
113113
# via
114114
# -r requirements/test.txt
115115
# virtualenv
116-
django==4.2.24
116+
django==5.2.6
117117
# via
118-
# -c requirements/common_constraints.txt
119118
# -r requirements/test.txt
120119
# django-appconf
121120
# django-config-models
@@ -155,7 +154,7 @@ django-appconf==1.1.0
155154
# django-statici18n
156155
django-config-models==2.9.0
157156
# via -r requirements/test.txt
158-
django-cors-headers==4.8.0
157+
django-cors-headers==4.9.0
159158
# via -r requirements/test.txt
160159
django-crum==0.7.9
161160
# via
@@ -415,7 +414,7 @@ msgpack==1.1.1
415414
# via
416415
# -r requirements/test.txt
417416
# cachecontrol
418-
mypy==1.18.1
417+
mypy==1.18.2
419418
# via -r requirements/dev.in
420419
mypy-extensions==1.1.0
421420
# via
@@ -488,7 +487,7 @@ protobuf==6.32.1
488487
# googleapis-common-protos
489488
# grpcio-status
490489
# proto-plus
491-
psutil==7.0.0
490+
psutil==7.1.0
492491
# via
493492
# -r requirements/test.txt
494493
# edx-django-utils
@@ -541,7 +540,7 @@ pylint-plugin-utils==0.9.0
541540
# pylint-django
542541
pymemcache==4.0.0
543542
# via -r requirements/test.txt
544-
pymongo==4.15.0
543+
pymongo==4.15.1
545544
# via
546545
# -r requirements/test.txt
547546
# edx-opaque-keys
@@ -574,6 +573,10 @@ python3-openid==3.2.0
574573
# via
575574
# -r requirements/test.txt
576575
# social-auth-core
576+
pytokens==0.1.10
577+
# via
578+
# -r requirements/test.txt
579+
# black
577580
pytz==2025.2
578581
# via
579582
# -r requirements/test.txt
@@ -646,7 +649,7 @@ sniffio==1.3.1
646649
# via
647650
# -r requirements/test.txt
648651
# anyio
649-
social-auth-app-django==5.4.3
652+
social-auth-app-django==5.5.1
650653
# via
651654
# -r requirements/test.txt
652655
# edx-auth-backends

requirements/django.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
django==4.2.24
1+
django==5.2.6

requirements/docs.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.12
2+
# This file is autogenerated by pip-compile with Python 3.11
33
# by the following command:
44
#
55
# make upgrade

requirements/pip.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.12
2+
# This file is autogenerated by pip-compile with Python 3.11
33
# by the following command:
44
#
55
# make upgrade

requirements/pip_tools.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.12
2+
# This file is autogenerated by pip-compile with Python 3.11
33
# by the following command:
44
#
55
# make upgrade
66
#
77
build==1.3.0
88
# via pip-tools
9-
click==8.2.1
9+
click==8.3.0
1010
# via pip-tools
1111
packaging==25.0
1212
# via build

0 commit comments

Comments
 (0)