chore!: upgrade Django version to 4.2 (LTS) (#33969)

* chore!: upgrade Django version to 4.2 (LTS)

* feat: Upgrade Python dependency Django

chore!: upgrade Django version to 4.2

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

* chore: Update common.py

* chore: Update common.py

---------

Co-authored-by: Muhammad Soban Javed <iamsobanjaved@gmai.com>
Co-authored-by: iamsobanjaved <iamsobanjaved@users.noreply.github.com>
Co-authored-by: Awais Qureshi <awais.qureshi@arbisoft.com>
This commit is contained in:
Muhammad Soban Javed
2024-01-23 16:53:34 +05:00
committed by GitHub
parent 4ec70eb98b
commit fc8e40fb10
13 changed files with 54 additions and 37 deletions

View File

@@ -17,7 +17,7 @@
# using LTS django version
Django<4.0
# elasticsearch>=7.14.0 includes breaking changes in it which caused issues in discovery upgrade process.
# elastic search changelog: https://www.elastic.co/guide/en/enterprise-search/master/release-notes-7.14.0.html

View File

@@ -25,10 +25,15 @@ click>=8.0,<9.0
# for them.
edx-enterprise==4.10.6
# Stay on LTS version, remove once this is added to common constraint
Django<5.0
# django-oauth-toolkit version >=2.0.0 has breaking changes. More details
# mentioned on this issue https://github.com/openedx/edx-platform/issues/32884
django-oauth-toolkit==1.7.1
# incremental upgrade
django-simple-history==3.4.0
# constrained in opaque_keys. migration guide here: https://pymongo.readthedocs.io/en/4.0/migrate-to-pymongo4.html
# Major upgrade will be done in separate ticket.

View File

@@ -56,6 +56,7 @@ backoff==1.10.0
backports-zoneinfo[tzdata]==0.2.1
# via
# celery
# django
# icalendar
# kombu
beautifulsoup4==4.12.2
@@ -173,9 +174,9 @@ defusedxml==0.7.1
# social-auth-core
deprecated==1.2.14
# via jwcrypto
django==3.2.23
django==4.2.8
# via
# -c requirements/edx/../common_constraints.txt
# -c requirements/edx/../constraints.txt
# -r requirements/edx/kernel.in
# django-appconf
# django-celery-results
@@ -337,6 +338,7 @@ django-ses==3.5.2
# via -r requirements/edx/bundled.in
django-simple-history==3.4.0
# via
# -c requirements/edx/../constraints.txt
# -r requirements/edx/kernel.in
# edx-enterprise
# edx-name-affirmation
@@ -937,7 +939,6 @@ pytz==2023.3.post1
# via
# -r requirements/edx/kernel.in
# babel
# django
# django-ses
# djangorestframework
# drf-yasg

View File

@@ -117,6 +117,7 @@ backports-zoneinfo[tzdata]==0.2.1
# -r requirements/edx/testing.txt
# backports-zoneinfo
# celery
# django
# icalendar
# kombu
beautifulsoup4==4.12.2
@@ -342,9 +343,9 @@ distlib==0.3.8
# via
# -r requirements/edx/testing.txt
# virtualenv
django==3.2.23
django==4.2.8
# via
# -c requirements/edx/../common_constraints.txt
# -c requirements/edx/../constraints.txt
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
# django-appconf
@@ -559,6 +560,7 @@ django-ses==3.5.2
# -r requirements/edx/testing.txt
django-simple-history==3.4.0
# via
# -c requirements/edx/../constraints.txt
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
# edx-enterprise
@@ -1669,7 +1671,6 @@ pytz==2023.3.post1
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
# babel
# django
# django-ses
# djangorestframework
# drf-yasg

View File

@@ -79,6 +79,7 @@ backports-zoneinfo[tzdata]==0.2.1
# -r requirements/edx/base.txt
# backports-zoneinfo
# celery
# django
# icalendar
# kombu
beautifulsoup4==4.12.2
@@ -223,9 +224,9 @@ deprecated==1.2.14
# via
# -r requirements/edx/base.txt
# jwcrypto
django==3.2.23
django==4.2.8
# via
# -c requirements/edx/../common_constraints.txt
# -c requirements/edx/../constraints.txt
# -r requirements/edx/base.txt
# django-appconf
# django-celery-results
@@ -403,6 +404,7 @@ django-ses==3.5.2
# via -r requirements/edx/base.txt
django-simple-history==3.4.0
# via
# -c requirements/edx/../constraints.txt
# -r requirements/edx/base.txt
# edx-enterprise
# edx-name-affirmation
@@ -1120,7 +1122,6 @@ pytz==2023.3.post1
# via
# -r requirements/edx/base.txt
# babel
# django
# django-ses
# djangorestframework
# drf-yasg

View File

@@ -83,6 +83,7 @@ backports-zoneinfo[tzdata]==0.2.1
# -r requirements/edx/base.txt
# backports-zoneinfo
# celery
# django
# icalendar
# kombu
beautifulsoup4==4.12.2
@@ -256,9 +257,9 @@ dill==0.3.7
# via pylint
distlib==0.3.8
# via virtualenv
django==3.2.23
django==4.2.8
# via
# -c requirements/edx/../common_constraints.txt
# -c requirements/edx/../constraints.txt
# -r requirements/edx/base.txt
# django-appconf
# django-celery-results
@@ -436,6 +437,7 @@ django-ses==3.5.2
# via -r requirements/edx/base.txt
django-simple-history==3.4.0
# via
# -c requirements/edx/../constraints.txt
# -r requirements/edx/base.txt
# edx-enterprise
# edx-name-affirmation
@@ -1250,7 +1252,6 @@ pytz==2023.3.post1
# via
# -r requirements/edx/base.txt
# babel
# django
# django-ses
# djangorestframework
# drf-yasg