Skip to content

Commit

Permalink
Upgrading drf to latest version (#200)
Browse files Browse the repository at this point in the history
* chore: upgrading djangorestframework version to latest 3.14.
* chore: Updating Python Requirements
  • Loading branch information
awais786 authored Jun 16, 2023
1 parent 14789dc commit 6fadad5
Show file tree
Hide file tree
Showing 11 changed files with 84 additions and 72 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ jobs:
matrix:
os: [ubuntu-20.04]
python-version: ['3.8']
toxenv: [quality, docs, django32-drf312, django32-drflatest, django40-drf312, django40-drflatest]
toxenv: [
quality, docs, django32-drf312, django32-drf314,
django40-drf312, django40-drf314
]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion requirements/base.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ pytz


# Don't let edx-platform upgrade DRF past versions that have already been tested here
djangorestframework<3.13.0
djangorestframework<3.15.0

11 changes: 7 additions & 4 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
#
# make upgrade
#
asgiref==3.6.0
asgiref==3.7.2
# via django
django==3.2.18
django==3.2.19
# via
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
# -r requirements/base.in
Expand All @@ -15,13 +15,16 @@ django==3.2.18
# jsonfield
django-model-utils==4.3.1
# via -r requirements/base.in
djangorestframework==3.12.4
djangorestframework==3.14.0
# via -r requirements/base.in
jsonfield==3.1.0
# via -r requirements/base.in
pytz==2023.3
# via
# -r requirements/base.in
# django
sqlparse==0.4.3
# djangorestframework
sqlparse==0.4.4
# via django
typing-extensions==4.6.3
# via asgiref
12 changes: 6 additions & 6 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# make upgrade
#
certifi==2022.12.7
certifi==2023.5.7
# via requests
charset-normalizer==3.1.0
# via requests
Expand All @@ -18,7 +18,7 @@ distlib==0.3.6
# virtualenv
docopt==0.6.2
# via coveralls
filelock==3.11.0
filelock==3.12.2
# via
# -r requirements/tox.txt
# tox
Expand All @@ -29,7 +29,7 @@ packaging==23.1
# via
# -r requirements/tox.txt
# tox
platformdirs==3.2.0
platformdirs==3.5.3
# via
# -r requirements/tox.txt
# virtualenv
Expand All @@ -41,7 +41,7 @@ py==1.11.0
# via
# -r requirements/tox.txt
# tox
requests==2.28.2
requests==2.31.0
# via coveralls
six==1.16.0
# via
Expand All @@ -55,9 +55,9 @@ tox==3.28.0
# via
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
# -r requirements/tox.txt
urllib3==1.26.15
urllib3==2.0.3
# via requests
virtualenv==20.21.0
virtualenv==20.23.0
# via
# -r requirements/tox.txt
# tox
49 changes: 26 additions & 23 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ alabaster==0.7.13
# -r requirements/docs.txt
# -r requirements/test.txt
# sphinx
asgiref==3.6.0
asgiref==3.7.2
# via
# -r requirements/base.txt
# -r requirements/test.txt
# django
astroid==2.15.2
astroid==2.15.5
# via
# -r requirements/test.txt
# pylint
Expand All @@ -24,7 +24,7 @@ babel==2.12.1
# -r requirements/docs.txt
# -r requirements/test.txt
# sphinx
certifi==2022.12.7
certifi==2023.5.7
# via
# -r requirements/docs.txt
# -r requirements/test.txt
Expand All @@ -48,7 +48,7 @@ code-annotations==1.3.0
# via
# -r requirements/test.txt
# edx-lint
coverage[toml]==7.2.3
coverage[toml]==7.2.7
# via
# -r requirements/test.txt
# pytest-cov
Expand All @@ -58,7 +58,7 @@ dill==0.3.6
# via
# -r requirements/test.txt
# pylint
django==3.2.18
django==3.2.19
# via
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
# -r requirements/base.txt
Expand All @@ -70,7 +70,7 @@ django-model-utils==4.3.1
# via
# -r requirements/base.txt
# -r requirements/test.txt
djangorestframework==3.12.4
djangorestframework==3.14.0
# via
# -r requirements/base.txt
# -r requirements/test.txt
Expand All @@ -88,7 +88,7 @@ exceptiongroup==1.1.1
# pytest
factory-boy==3.2.1
# via -r requirements/test.txt
faker==18.4.0
faker==18.10.1
# via
# -r requirements/test.txt
# factory-boy
Expand All @@ -104,7 +104,7 @@ imagesize==1.4.1
# -r requirements/docs.txt
# -r requirements/test.txt
# sphinx
importlib-metadata==6.3.0
importlib-metadata==6.6.0
# via
# -r requirements/docs.txt
# -r requirements/test.txt
Expand All @@ -131,7 +131,7 @@ lazy-object-proxy==1.9.0
# via
# -r requirements/test.txt
# astroid
markupsafe==2.1.2
markupsafe==2.1.3
# via
# -r requirements/docs.txt
# -r requirements/test.txt
Expand All @@ -140,7 +140,7 @@ mccabe==0.7.0
# via
# -r requirements/test.txt
# pylint
mock==5.0.1
mock==5.0.2
# via -r requirements/test.txt
packaging==23.1
# via
Expand All @@ -152,7 +152,7 @@ pbr==5.11.1
# via
# -r requirements/test.txt
# stevedore
platformdirs==3.2.0
platformdirs==3.5.3
# via
# -r requirements/test.txt
# pylint
Expand All @@ -167,12 +167,12 @@ pockets==0.9.1
# sphinxcontrib-napoleon
pycodestyle==2.10.0
# via -r requirements/test.txt
pygments==2.15.0
pygments==2.15.1
# via
# -r requirements/docs.txt
# -r requirements/test.txt
# sphinx
pylint==2.17.2
pylint==2.17.4
# via
# -r requirements/test.txt
# edx-lint
Expand All @@ -187,17 +187,17 @@ pylint-django==2.5.3
# via
# -r requirements/test.txt
# edx-lint
pylint-plugin-utils==0.7
pylint-plugin-utils==0.8.2
# via
# -r requirements/test.txt
# pylint-celery
# pylint-django
pytest==7.3.0
pytest==7.3.2
# via
# -r requirements/test.txt
# pytest-cov
# pytest-django
pytest-cov==4.0.0
pytest-cov==4.1.0
# via -r requirements/test.txt
pytest-django==4.5.2
# via -r requirements/test.txt
Expand All @@ -217,11 +217,12 @@ pytz==2023.3
# -r requirements/test.txt
# babel
# django
# djangorestframework
pyyaml==6.0
# via
# -r requirements/test.txt
# code-annotations
requests==2.28.2
requests==2.31.0
# via
# -r requirements/docs.txt
# -r requirements/test.txt
Expand All @@ -246,7 +247,7 @@ sphinx==5.3.0
# -r requirements/test.txt
# sphinx-rtd-theme
# sphinxcontrib-jquery
sphinx-rtd-theme==1.2.0
sphinx-rtd-theme==1.2.2
# via
# -r requirements/docs.txt
# -r requirements/test.txt
Expand Down Expand Up @@ -289,12 +290,12 @@ sphinxcontrib-serializinghtml==1.1.5
# -r requirements/docs.txt
# -r requirements/test.txt
# sphinx
sqlparse==0.4.3
sqlparse==0.4.4
# via
# -r requirements/base.txt
# -r requirements/test.txt
# django
stevedore==5.0.0
stevedore==5.1.0
# via
# -r requirements/test.txt
# code-annotations
Expand All @@ -308,16 +309,18 @@ tomli==2.0.1
# coverage
# pylint
# pytest
tomlkit==0.11.7
tomlkit==0.11.8
# via
# -r requirements/test.txt
# pylint
typing-extensions==4.5.0
typing-extensions==4.6.3
# via
# -r requirements/base.txt
# -r requirements/test.txt
# asgiref
# astroid
# pylint
urllib3==1.26.15
urllib3==2.0.3
# via
# -r requirements/docs.txt
# -r requirements/test.txt
Expand Down
14 changes: 7 additions & 7 deletions requirements/docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ alabaster==0.7.13
# via sphinx
babel==2.12.1
# via sphinx
certifi==2022.12.7
certifi==2023.5.7
# via requests
charset-normalizer==3.1.0
# via requests
Expand All @@ -20,21 +20,21 @@ idna==3.4
# via requests
imagesize==1.4.1
# via sphinx
importlib-metadata==6.3.0
importlib-metadata==6.6.0
# via sphinx
jinja2==3.1.2
# via sphinx
markupsafe==2.1.2
markupsafe==2.1.3
# via jinja2
packaging==23.1
# via sphinx
pockets==0.9.1
# via sphinxcontrib-napoleon
pygments==2.15.0
pygments==2.15.1
# via sphinx
pytz==2023.3
# via babel
requests==2.28.2
requests==2.31.0
# via sphinx
six==1.16.0
# via
Expand All @@ -48,7 +48,7 @@ sphinx==5.3.0
# -r requirements/docs.in
# sphinx-rtd-theme
# sphinxcontrib-jquery
sphinx-rtd-theme==1.2.0
sphinx-rtd-theme==1.2.2
# via -r requirements/docs.in
sphinxcontrib-applehelp==1.0.4
# via sphinx
Expand All @@ -66,7 +66,7 @@ sphinxcontrib-qthelp==1.0.3
# via sphinx
sphinxcontrib-serializinghtml==1.1.5
# via sphinx
urllib3==1.26.15
urllib3==2.0.3
# via requests
zipp==3.15.0
# via importlib-metadata
4 changes: 2 additions & 2 deletions requirements/pip.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ wheel==0.40.0
# via -r requirements/pip.in

# The following packages are considered to be unsafe in a requirements file:
pip==23.0.1
pip==23.1.2
# via -r requirements/pip.in
setuptools==67.6.1
setuptools==67.8.0
# via -r requirements/pip.in
Loading

0 comments on commit 6fadad5

Please sign in to comment.