Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: upgrading djangorestframework. #32487

Merged
merged 5 commits into from
Jun 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class CourseEntitlementSupportDetailSerializer(serializers.ModelSerializer):
slug_field='username',
default=serializers.CurrentUserDefault()
)
unenrolled_run = CourseKeyField('unenrolled_run.id')
unenrolled_run = CourseKeyField(read_only='unenrolled_run.id')

class Meta:
model = CourseEntitlementSupportDetail
Expand Down
5 changes: 5 additions & 0 deletions requirements/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -117,3 +117,8 @@ docutils<0.20
# Issue for unpinning: https://github.com/openedx/edx-platform/issues/32327
python3-saml<1.10.0

# greater version has dropped few dependencies. Fix this in other ticket.
drf-yasg<1.21.6

# incremental upgrade approach. After successfull deploy remove this pin and try latest version.
djangorestframework<3.14.0
2 changes: 1 addition & 1 deletion requirements/edx-sandbox/py38.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ pillow==9.5.0
# via matplotlib
pycparser==2.21
# via cffi
pyparsing==3.0.9
pyparsing==3.1.0
# via
# -r requirements/edx-sandbox/py38.in
# chem
Expand Down
27 changes: 15 additions & 12 deletions requirements/edx/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ click-didyoumean==0.3.0
# via celery
click-plugins==1.1.1
# via celery
click-repl==0.2.0
click-repl==0.3.0
# via celery
code-annotations==1.3.0
# via
Expand Down Expand Up @@ -262,7 +262,7 @@ django-config-models==2.3.0
# edx-enterprise
# edx-name-affirmation
# lti-consumer-xblock
django-cors-headers==4.0.0
django-cors-headers==4.1.0
# via -r requirements/edx/base.in
django-countries==7.5.1
# via
Expand Down Expand Up @@ -327,7 +327,7 @@ django-mptt==0.14.0
# openedx-django-wiki
django-multi-email-field==0.6.2
# via edx-enterprise
django-mysql==4.9.0
django-mysql==4.10.0
# via -r requirements/edx/base.in
django-oauth-toolkit==1.3.2
# via
Expand Down Expand Up @@ -383,8 +383,9 @@ django-webpack-loader==0.7.0
# -c requirements/edx/../constraints.txt
# -r requirements/edx/base.in
# edx-proctoring
djangorestframework==3.12.4
djangorestframework==3.13.1
# via
# -c requirements/edx/../constraints.txt
# -r requirements/edx/base.in
# django-config-models
# django-user-tasks
Expand Down Expand Up @@ -420,7 +421,9 @@ drf-jwt==1.19.2
drf-nested-routers==0.93.4
# via openedx-blockstore
drf-yasg==1.21.5
# via edx-api-doc-tools
# via
# -c requirements/edx/../constraints.txt
# edx-api-doc-tools
edx-ace==1.6.1
# via -r requirements/edx/base.in
edx-api-doc-tools==1.6.0
Expand Down Expand Up @@ -537,9 +540,9 @@ edx-rest-api-client==5.5.2
# edx-proctoring
edx-search==3.5.0
# via -r requirements/edx/base.in
edx-sga==0.21.1
edx-sga==0.22.0
# via -r requirements/edx/base.in
edx-submissions==3.5.5
edx-submissions==3.5.6
# via
# -r requirements/edx/base.in
# ora2
Expand Down Expand Up @@ -620,7 +623,7 @@ idna==3.4
# requests
# snowflake-connector-python
# yarl
importlib-metadata==6.6.0
importlib-metadata==6.7.0
# via markdown
importlib-resources==5.12.0
# via jsonschema
Expand Down Expand Up @@ -902,7 +905,7 @@ pyopenssl==22.0.0
# -c requirements/edx/../constraints.txt
# optimizely-sdk
# snowflake-connector-python
pyparsing==3.0.9
pyparsing==3.1.0
# via
# chem
# openedx-calc
Expand Down Expand Up @@ -951,6 +954,7 @@ pytz==2022.7.1
# celery
# django
# django-ses
# djangorestframework
# drf-yasg
# edx-completion
# edx-enterprise
Expand Down Expand Up @@ -1016,7 +1020,7 @@ requests-oauthlib==1.3.1
# via
# -r requirements/edx/base.in
# social-auth-core
ruamel-yaml==0.17.31
ruamel-yaml==0.17.32
# via drf-yasg
ruamel-yaml-clib==0.2.7
# via ruamel-yaml
Expand Down Expand Up @@ -1051,7 +1055,6 @@ six==1.16.0
# analytics-python
# bleach
# chem
# click-repl
# codejail-includes
# crowdsourcehinter-xblock
# edx-ace
Expand Down Expand Up @@ -1216,7 +1219,7 @@ xblock-google-drive==0.3.0
# via -r requirements/edx/base.in
xblock-poll==1.13.0
# via -r requirements/edx/base.in
xblock-utils==3.1.0
xblock-utils==3.2.0
# via
# -r requirements/edx/base.in
# edx-sga
Expand Down
28 changes: 15 additions & 13 deletions requirements/edx/development.txt
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ click-plugins==1.1.1
# via
# -r requirements/edx/testing.txt
# celery
click-repl==0.2.0
click-repl==0.3.0
# via
# -r requirements/edx/testing.txt
# celery
Expand Down Expand Up @@ -363,7 +363,7 @@ django-config-models==2.3.0
# edx-enterprise
# edx-name-affirmation
# lti-consumer-xblock
django-cors-headers==4.0.0
django-cors-headers==4.1.0
# via -r requirements/edx/testing.txt
django-countries==7.5.1
# via
Expand Down Expand Up @@ -436,7 +436,7 @@ django-multi-email-field==0.6.2
# via
# -r requirements/edx/testing.txt
# edx-enterprise
django-mysql==4.9.0
django-mysql==4.10.0
# via -r requirements/edx/testing.txt
django-oauth-toolkit==1.3.2
# via
Expand Down Expand Up @@ -494,8 +494,9 @@ django-webpack-loader==0.7.0
# -c requirements/edx/../constraints.txt
# -r requirements/edx/testing.txt
# edx-proctoring
djangorestframework==3.12.4
djangorestframework==3.13.1
# via
# -c requirements/edx/../constraints.txt
# -r requirements/edx/testing.txt
# django-config-models
# django-user-tasks
Expand Down Expand Up @@ -543,6 +544,7 @@ drf-nested-routers==0.93.4
# openedx-blockstore
drf-yasg==1.21.5
# via
# -c requirements/edx/../constraints.txt
# -r requirements/edx/testing.txt
# edx-api-doc-tools
edx-ace==1.6.1
Expand Down Expand Up @@ -666,11 +668,11 @@ edx-rest-api-client==5.5.2
# edx-proctoring
edx-search==3.5.0
# via -r requirements/edx/testing.txt
edx-sga==0.21.1
edx-sga==0.22.0
# via -r requirements/edx/testing.txt
edx-sphinx-theme==3.1.0
# via -r requirements/edx/development.in
edx-submissions==3.5.5
edx-submissions==3.5.6
# via
# -r requirements/edx/testing.txt
# ora2
Expand Down Expand Up @@ -811,7 +813,7 @@ imagesize==1.4.1
# via sphinx
import-linter==1.9.0
# via -r requirements/edx/testing.txt
importlib-metadata==6.6.0
importlib-metadata==6.7.0
# via
# -r requirements/edx/testing.txt
# markdown
Expand Down Expand Up @@ -1113,7 +1115,7 @@ pkgutil-resolve-name==1.3.10
# via
# -r requirements/edx/testing.txt
# jsonschema
platformdirs==3.5.3
platformdirs==3.6.0
# via
# -r requirements/edx/testing.txt
# pylint
Expand Down Expand Up @@ -1244,7 +1246,7 @@ pyopenssl==22.0.0
# -r requirements/edx/testing.txt
# optimizely-sdk
# snowflake-connector-python
pyparsing==3.0.9
pyparsing==3.1.0
# via
# -r requirements/edx/testing.txt
# chem
Expand Down Expand Up @@ -1334,6 +1336,7 @@ pytz==2022.7.1
# celery
# django
# django-ses
# djangorestframework
# drf-yasg
# edx-completion
# edx-enterprise
Expand Down Expand Up @@ -1412,7 +1415,7 @@ rfc3986[idna2008]==1.5.0
# via
# -r requirements/edx/testing.txt
# httpx
ruamel-yaml==0.17.31
ruamel-yaml==0.17.32
# via
# -r requirements/edx/testing.txt
# drf-yasg
Expand Down Expand Up @@ -1463,7 +1466,6 @@ six==1.16.0
# analytics-python
# bleach
# chem
# click-repl
# codejail-includes
# crowdsourcehinter-xblock
# edx-ace
Expand Down Expand Up @@ -1676,7 +1678,7 @@ vine==5.0.0
# amqp
# celery
# kombu
virtualenv==20.23.0
virtualenv==20.23.1
# via
# -r requirements/edx/testing.txt
# tox
Expand Down Expand Up @@ -1745,7 +1747,7 @@ xblock-google-drive==0.3.0
# via -r requirements/edx/testing.txt
xblock-poll==1.13.0
# via -r requirements/edx/testing.txt
xblock-utils==3.1.0
xblock-utils==3.2.0
# via
# -r requirements/edx/testing.txt
# edx-sga
Expand Down
2 changes: 1 addition & 1 deletion requirements/edx/doc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ idna==3.4
# via requests
imagesize==1.4.1
# via sphinx
importlib-metadata==6.6.0
importlib-metadata==6.7.0
# via sphinx
jinja2==3.1.2
# via
Expand Down
Loading