Skip to content

Commit

Permalink
build: make upgrade for latest version of Django
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammad Soban Javed committed Dec 5, 2023
1 parent a595593 commit bc285cc
Show file tree
Hide file tree
Showing 10 changed files with 43 additions and 62 deletions.
7 changes: 4 additions & 3 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ attrs==23.1.0
# via
# lti-consumer-xblock
# openedx-events
backports-zoneinfo==0.2.1
# via django
bleach==6.1.0
# via lti-consumer-xblock
boto3==1.33.1
Expand Down Expand Up @@ -52,9 +54,9 @@ defusedxml==0.8.0rc2
# via
# python3-openid
# social-auth-core
django==3.2.23
django==4.2.8
# via
# -c requirements/common_constraints.txt
# -c requirements/constraints.txt
# -r requirements/base.in
# django-appconf
# django-config-models
Expand Down Expand Up @@ -267,7 +269,6 @@ python3-openid==3.2.0
pytz==2023.3.post1
# via
# -r requirements/base.in
# django
# djangorestframework
# drf-yasg
# xblock
Expand Down
1 change: 0 additions & 1 deletion requirements/ci.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ packaging==23.2
# tox
platformdirs==3.11.0
# via
# -c requirements/common_constraints.txt
# tox
# virtualenv
pluggy==1.3.0
Expand Down
11 changes: 5 additions & 6 deletions requirements/common_constraints.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# This is a temporary solution to override the real common_constraints.txt
# In edx-lint, until the pyjwt constraint in edx-lint has been removed.
# See BOM-2721 for more details.
# Below is the copied and edited version of common_constraints

# A central location for most common version constraints
# (across edx repos) for pip-installation.
Expand All @@ -14,16 +18,11 @@


# 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
elasticsearch<7.14.0

# django-simple-history>3.0.0 adds indexing and causes a lot of migrations to be affected


# virtualenv latest version requires platformdirs<4.0 which conflicts with tox>4.0 version
# This constraint can be removed once the issue
# https://github.com/pypa/virtualenv/issues/2666 gets resolved
platformdirs<4.0
17 changes: 5 additions & 12 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ attrs==23.1.0
# -r requirements/validation.txt
# lti-consumer-xblock
# openedx-events
backports-zoneinfo==0.2.1
# via
# -r requirements/validation.txt
# django
bleach==6.1.0
# via
# -r requirements/validation.txt
Expand Down Expand Up @@ -106,7 +110,6 @@ cryptography==41.0.7
# via
# -r requirements/validation.txt
# pyjwt
# secretstorage
# social-auth-core
ddt==1.7.0
# via -r requirements/validation.txt
Expand All @@ -125,7 +128,7 @@ distlib==0.3.7
# via
# -r requirements/validation.txt
# virtualenv
django==3.2.23
django==4.2.8
# via
# -r requirements/validation.txt
# django-appconf
Expand Down Expand Up @@ -335,11 +338,6 @@ jaraco-classes==3.3.0
# via
# -r requirements/validation.txt
# keyring
jeepney==0.8.0
# via
# -r requirements/validation.txt
# keyring
# secretstorage
jinja2==3.1.2
# via
# -r requirements/validation.txt
Expand Down Expand Up @@ -570,7 +568,6 @@ python3-openid==3.2.0
pytz==2023.3.post1
# via
# -r requirements/validation.txt
# django
# djangorestframework
# drf-yasg
# xblock
Expand Down Expand Up @@ -626,10 +623,6 @@ s3transfer==0.8.0
# via
# -r requirements/validation.txt
# boto3
secretstorage==3.3.3
# via
# -r requirements/validation.txt
# keyring
semantic-version==2.10.0
# via
# -r requirements/validation.txt
Expand Down
2 changes: 1 addition & 1 deletion requirements/django.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
django==3.2.23
django==4.2.8
17 changes: 6 additions & 11 deletions requirements/doc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ attrs==23.1.0
# openedx-events
babel==2.13.1
# via sphinx
backports-zoneinfo==0.2.1
# via
# -r requirements/test.txt
# django
bleach==6.1.0
# via
# -r requirements/test.txt
Expand Down Expand Up @@ -105,7 +109,6 @@ cryptography==41.0.7
# via
# -r requirements/test.txt
# pyjwt
# secretstorage
# social-auth-core
ddt==1.7.0
# via -r requirements/test.txt
Expand All @@ -122,9 +125,9 @@ distlib==0.3.7
# via
# -r requirements/test.txt
# virtualenv
django==3.2.23
django==4.2.8
# via
# -c requirements/common_constraints.txt
# -c requirements/constraints.txt
# -r requirements/test.txt
# django-appconf
# django-config-models
Expand Down Expand Up @@ -330,10 +333,6 @@ itypes==1.2.0
# coreapi
jaraco-classes==3.3.0
# via keyring
jeepney==0.8.0
# via
# keyring
# secretstorage
jinja2==3.1.2
# via
# -r requirements/test.txt
Expand Down Expand Up @@ -433,7 +432,6 @@ pkginfo==1.9.6
# via twine
platformdirs==3.11.0
# via
# -c requirements/common_constraints.txt
# -r requirements/test.txt
# pylint
# tox
Expand Down Expand Up @@ -540,7 +538,6 @@ pytz==2023.3.post1
# via
# -r requirements/test.txt
# babel
# django
# djangorestframework
# drf-yasg
# xblock
Expand Down Expand Up @@ -590,8 +587,6 @@ s3transfer==0.8.0
# via
# -r requirements/test.txt
# boto3
secretstorage==3.3.3
# via keyring
semantic-version==2.10.0
# via
# -r requirements/test.txt
Expand Down
7 changes: 5 additions & 2 deletions requirements/production.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ attrs==23.1.0
# -r requirements/base.txt
# lti-consumer-xblock
# openedx-events
backports-zoneinfo==0.2.1
# via
# -r requirements/base.txt
# django
bleach==6.1.0
# via
# -r requirements/base.txt
Expand Down Expand Up @@ -77,7 +81,7 @@ defusedxml==0.8.0rc2
# -r requirements/base.txt
# python3-openid
# social-auth-core
django==3.2.23
django==4.2.8
# via
# -r requirements/base.txt
# django-appconf
Expand Down Expand Up @@ -373,7 +377,6 @@ python3-openid==3.2.0
pytz==2023.3.post1
# via
# -r requirements/base.txt
# django
# django-ses
# djangorestframework
# drf-yasg
Expand Down
17 changes: 6 additions & 11 deletions requirements/quality.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ attrs==23.1.0
# -r requirements/test.txt
# lti-consumer-xblock
# openedx-events
backports-zoneinfo==0.2.1
# via
# -r requirements/test.txt
# django
bleach==6.1.0
# via
# -r requirements/test.txt
Expand Down Expand Up @@ -99,7 +103,6 @@ cryptography==41.0.7
# via
# -r requirements/test.txt
# pyjwt
# secretstorage
# social-auth-core
ddt==1.7.0
# via -r requirements/test.txt
Expand All @@ -116,9 +119,9 @@ distlib==0.3.7
# via
# -r requirements/test.txt
# virtualenv
django==3.2.23
django==4.2.8
# via
# -c requirements/common_constraints.txt
# -c requirements/constraints.txt
# -r requirements/test.txt
# django-appconf
# django-config-models
Expand Down Expand Up @@ -315,10 +318,6 @@ itypes==1.2.0
# coreapi
jaraco-classes==3.3.0
# via keyring
jeepney==0.8.0
# via
# keyring
# secretstorage
jinja2==3.1.2
# via
# -r requirements/test.txt
Expand Down Expand Up @@ -415,7 +414,6 @@ pkginfo==1.9.6
# via twine
platformdirs==3.11.0
# via
# -c requirements/common_constraints.txt
# -r requirements/test.txt
# pylint
# tox
Expand Down Expand Up @@ -521,7 +519,6 @@ python3-openid==3.2.0
pytz==2023.3.post1
# via
# -r requirements/test.txt
# django
# djangorestframework
# drf-yasg
# xblock
Expand Down Expand Up @@ -568,8 +565,6 @@ s3transfer==0.8.0
# via
# -r requirements/test.txt
# boto3
secretstorage==3.3.3
# via keyring
semantic-version==2.10.0
# via
# -r requirements/test.txt
Expand Down
8 changes: 5 additions & 3 deletions requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ attrs==23.1.0
# -r requirements/base.txt
# lti-consumer-xblock
# openedx-events
backports-zoneinfo==0.2.1
# via
# -r requirements/base.txt
# django
bleach==6.1.0
# via
# -r requirements/base.txt
Expand Down Expand Up @@ -103,7 +107,7 @@ dill==0.3.7
distlib==0.3.7
# via virtualenv
# via
# -c requirements/common_constraints.txt
# -c requirements/constraints.txt
# -r requirements/base.txt
# django-appconf
# django-config-models
Expand Down Expand Up @@ -360,7 +364,6 @@ pbr==6.0.0
# stevedore
platformdirs==3.11.0
# via
# -c requirements/common_constraints.txt
# pylint
# tox
# virtualenv
Expand Down Expand Up @@ -447,7 +450,6 @@ python3-openid==3.2.0
pytz==2023.3.post1
# via
# -r requirements/base.txt
# django
# djangorestframework
# drf-yasg
# xblock
Expand Down
18 changes: 6 additions & 12 deletions requirements/validation.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ attrs==23.1.0
# -r requirements/test.txt
# lti-consumer-xblock
# openedx-events
backports-zoneinfo==0.2.1
# via
# -r requirements/quality.txt
# -r requirements/test.txt
# django
bleach==6.1.0
# via
# -r requirements/quality.txt
Expand Down Expand Up @@ -120,7 +125,6 @@ cryptography==41.0.7
# -r requirements/quality.txt
# -r requirements/test.txt
# pyjwt
# secretstorage
# social-auth-core
ddt==1.7.0
# via
Expand All @@ -142,7 +146,7 @@ distlib==0.3.7
# -r requirements/quality.txt
# -r requirements/test.txt
# virtualenv
django==3.2.23
django==4.2.8
# via
# -r requirements/quality.txt
# -r requirements/test.txt
Expand Down Expand Up @@ -404,11 +408,6 @@ jaraco-classes==3.3.0
# via
# -r requirements/quality.txt
# keyring
jeepney==0.8.0
# via
# -r requirements/quality.txt
# keyring
# secretstorage
jinja2==3.1.2
# via
# -r requirements/quality.txt
Expand Down Expand Up @@ -670,7 +669,6 @@ pytz==2023.3.post1
# via
# -r requirements/quality.txt
# -r requirements/test.txt
# django
# djangorestframework
# drf-yasg
# xblock
Expand Down Expand Up @@ -732,10 +730,6 @@ s3transfer==0.8.0
# -r requirements/quality.txt
# -r requirements/test.txt
# boto3
secretstorage==3.3.3
# via
# -r requirements/quality.txt
# keyring
semantic-version==2.10.0
# via
# -r requirements/quality.txt
Expand Down

0 comments on commit bc285cc

Please sign in to comment.