diff --git a/requirements/base.txt b/requirements/base.txt index b4870df..ea51ebf 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -45,13 +45,13 @@ djangorestframework==3.14.0 # edx-drf-extensions drf-jwt==1.19.2 # via edx-drf-extensions -edx-django-utils==5.6.0 +edx-django-utils==5.7.0 # via # -r requirements/base.in # edx-drf-extensions -edx-drf-extensions==8.8.0 +edx-drf-extensions==8.9.0 # via -r requirements/base.in -edx-opaque-keys==2.3.0 +edx-opaque-keys==2.4.0 # via # -r requirements/base.in # edx-drf-extensions @@ -63,7 +63,7 @@ lxml==4.9.3 # via xblock markupsafe==2.1.3 # via xblock -newrelic==8.9.0 +newrelic==8.10.0 # via edx-django-utils pbr==5.11.1 # via stevedore @@ -109,11 +109,11 @@ typing-extensions==4.7.1 # via asgiref urllib3==2.0.4 # via requests -web-fragments==2.0.0 +web-fragments==2.1.0 # via xblock webob==1.8.7 # via xblock -xblock==1.6.2 +xblock==1.7.0 # via -r requirements/base.in # The following packages are considered to be unsafe in a requirements file: diff --git a/requirements/ci.txt b/requirements/ci.txt index 83636ce..2e2a488 100644 --- a/requirements/ci.txt +++ b/requirements/ci.txt @@ -10,7 +10,7 @@ charset-normalizer==3.2.0 # via requests codecov==2.1.13 # via -r requirements/ci.in -coverage==7.2.7 +coverage==7.3.0 # via codecov distlib==0.3.7 # via virtualenv @@ -43,5 +43,5 @@ tox-battery==0.6.1 # via -r requirements/ci.in urllib3==2.0.4 # via requests -virtualenv==20.24.2 +virtualenv==20.24.3 # via tox diff --git a/requirements/dev.txt b/requirements/dev.txt index 0ab8f0d..db250ae 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -53,7 +53,7 @@ code-annotations==1.5.0 # via # -r requirements/quality.txt # edx-lint -coverage[toml]==7.2.7 +coverage[toml]==7.3.0 # via # -r requirements/quality.txt # pytest-cov @@ -103,21 +103,21 @@ drf-jwt==1.19.2 # via # -r requirements/quality.txt # edx-drf-extensions -edx-django-utils==5.6.0 +edx-django-utils==5.7.0 # via # -r requirements/quality.txt # edx-drf-extensions -edx-drf-extensions==8.8.0 +edx-drf-extensions==8.9.0 # via -r requirements/quality.txt -edx-i18n-tools==1.0.0 +edx-i18n-tools==1.1.0 # via -r requirements/dev.in edx-lint==5.3.4 # via -r requirements/quality.txt -edx-opaque-keys==2.3.0 +edx-opaque-keys==2.4.0 # via # -r requirements/quality.txt # edx-drf-extensions -exceptiongroup==1.1.2 +exceptiongroup==1.1.3 # via # -r requirements/quality.txt # pytest @@ -168,7 +168,7 @@ mccabe==0.7.0 # pylint mock==5.1.0 # via -r requirements/quality.txt -newrelic==8.9.0 +newrelic==8.10.0 # via # -r requirements/quality.txt # edx-django-utils @@ -186,7 +186,7 @@ pbr==5.11.1 # via # -r requirements/quality.txt # stevedore -pip-tools==7.1.0 +pip-tools==7.3.0 # via -r requirements/pip-tools.txt platformdirs==3.10.0 # via @@ -215,7 +215,7 @@ pydantic-core==2.4.0 # via pydantic pydocstyle==6.3.0 # via -r requirements/quality.txt -pygments==2.15.1 +pygments==2.16.1 # via diff-cover pyjwt[crypto]==2.8.0 # via @@ -345,7 +345,7 @@ urllib3==2.0.4 # via # -r requirements/quality.txt # requests -web-fragments==2.0.0 +web-fragments==2.1.0 # via # -r requirements/quality.txt # xblock @@ -353,7 +353,7 @@ webob==1.8.7 # via # -r requirements/quality.txt # xblock -wheel==0.41.0 +wheel==0.41.1 # via # -r requirements/pip-tools.txt # pip-tools @@ -361,7 +361,7 @@ wrapt==1.15.0 # via # -r requirements/quality.txt # astroid -xblock==1.6.2 +xblock==1.7.0 # via -r requirements/quality.txt zipp==3.16.2 # via importlib-metadata diff --git a/requirements/doc.txt b/requirements/doc.txt index 039706f..7b27fbc 100644 --- a/requirements/doc.txt +++ b/requirements/doc.txt @@ -44,7 +44,7 @@ click==8.1.6 # edx-django-utils code-annotations==1.5.0 # via -r requirements/test.txt -coverage[toml]==7.2.7 +coverage[toml]==7.3.0 # via # -r requirements/test.txt # pytest-cov @@ -95,17 +95,17 @@ drf-jwt==1.19.2 # via # -r requirements/test.txt # edx-drf-extensions -edx-django-utils==5.6.0 +edx-django-utils==5.7.0 # via # -r requirements/test.txt # edx-drf-extensions -edx-drf-extensions==8.8.0 +edx-drf-extensions==8.9.0 # via -r requirements/test.txt -edx-opaque-keys==2.3.0 +edx-opaque-keys==2.4.0 # via # -r requirements/test.txt # edx-drf-extensions -exceptiongroup==1.1.2 +exceptiongroup==1.1.3 # via # -r requirements/test.txt # pytest @@ -124,7 +124,7 @@ importlib-metadata==6.8.0 # keyring # sphinx # twine -importlib-resources==6.0.0 +importlib-resources==6.0.1 # via keyring iniconfig==2.0.0 # via @@ -158,9 +158,9 @@ mdurl==0.1.2 # via markdown-it-py mock==5.1.0 # via -r requirements/test.txt -more-itertools==10.0.0 +more-itertools==10.1.0 # via jaraco-classes -newrelic==8.9.0 +newrelic==8.10.0 # via # -r requirements/test.txt # edx-django-utils @@ -190,7 +190,7 @@ pycparser==2.21 # cffi pydata-sphinx-theme==0.13.3 # via sphinx-book-theme -pygments==2.15.1 +pygments==2.16.1 # via # accessible-pygments # doc8 @@ -328,7 +328,7 @@ urllib3==2.0.4 # -r requirements/test.txt # requests # twine -web-fragments==2.0.0 +web-fragments==2.1.0 # via # -r requirements/test.txt # xblock @@ -338,7 +338,7 @@ webob==1.8.7 # via # -r requirements/test.txt # xblock -xblock==1.6.2 +xblock==1.7.0 # via -r requirements/test.txt zipp==3.16.2 # via diff --git a/requirements/pip-tools.txt b/requirements/pip-tools.txt index 5748bf6..07c0707 100644 --- a/requirements/pip-tools.txt +++ b/requirements/pip-tools.txt @@ -10,7 +10,7 @@ click==8.1.6 # via pip-tools packaging==23.1 # via build -pip-tools==7.1.0 +pip-tools==7.3.0 # via -r requirements/pip-tools.in pyproject-hooks==1.0.0 # via build @@ -19,7 +19,7 @@ tomli==2.0.1 # build # pip-tools # pyproject-hooks -wheel==0.41.0 +wheel==0.41.1 # via pip-tools # The following packages are considered to be unsafe in a requirements file: diff --git a/requirements/pip.txt b/requirements/pip.txt index fb1908e..7dfc08c 100644 --- a/requirements/pip.txt +++ b/requirements/pip.txt @@ -4,11 +4,11 @@ # # make upgrade # -wheel==0.41.0 +wheel==0.41.1 # via -r requirements/pip.in # The following packages are considered to be unsafe in a requirements file: pip==23.2.1 # via -r requirements/pip.in -setuptools==68.0.0 +setuptools==68.1.0 # via -r requirements/pip.in diff --git a/requirements/quality.txt b/requirements/quality.txt index 664bd90..9dca626 100644 --- a/requirements/quality.txt +++ b/requirements/quality.txt @@ -42,7 +42,7 @@ code-annotations==1.5.0 # via # -r requirements/test.txt # edx-lint -coverage[toml]==7.2.7 +coverage[toml]==7.3.0 # via # -r requirements/test.txt # pytest-cov @@ -85,19 +85,19 @@ drf-jwt==1.19.2 # via # -r requirements/test.txt # edx-drf-extensions -edx-django-utils==5.6.0 +edx-django-utils==5.7.0 # via # -r requirements/test.txt # edx-drf-extensions -edx-drf-extensions==8.8.0 +edx-drf-extensions==8.9.0 # via -r requirements/test.txt edx-lint==5.3.4 # via -r requirements/quality.in -edx-opaque-keys==2.3.0 +edx-opaque-keys==2.4.0 # via # -r requirements/test.txt # edx-drf-extensions -exceptiongroup==1.1.2 +exceptiongroup==1.1.3 # via # -r requirements/test.txt # pytest @@ -136,7 +136,7 @@ mccabe==0.7.0 # via pylint mock==5.1.0 # via -r requirements/test.txt -newrelic==8.9.0 +newrelic==8.10.0 # via # -r requirements/test.txt # edx-django-utils @@ -271,7 +271,7 @@ urllib3==2.0.4 # via # -r requirements/test.txt # requests -web-fragments==2.0.0 +web-fragments==2.1.0 # via # -r requirements/test.txt # xblock @@ -281,7 +281,7 @@ webob==1.8.7 # xblock wrapt==1.15.0 # via astroid -xblock==1.6.2 +xblock==1.7.0 # via -r requirements/test.txt # The following packages are considered to be unsafe in a requirements file: diff --git a/requirements/test.txt b/requirements/test.txt index 8d357e2..9455e0b 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -32,7 +32,7 @@ click==8.1.6 # edx-django-utils code-annotations==1.5.0 # via -r requirements/test.in -coverage[toml]==7.2.7 +coverage[toml]==7.3.0 # via pytest-cov cryptography==41.0.3 # via @@ -70,17 +70,17 @@ drf-jwt==1.19.2 # via # -r requirements/base.txt # edx-drf-extensions -edx-django-utils==5.6.0 +edx-django-utils==5.7.0 # via # -r requirements/base.txt # edx-drf-extensions -edx-drf-extensions==8.8.0 +edx-drf-extensions==8.9.0 # via -r requirements/base.txt -edx-opaque-keys==2.3.0 +edx-opaque-keys==2.4.0 # via # -r requirements/base.txt # edx-drf-extensions -exceptiongroup==1.1.2 +exceptiongroup==1.1.3 # via pytest fs==2.4.16 # via @@ -105,7 +105,7 @@ markupsafe==2.1.3 # xblock mock==5.1.0 # via -r requirements/test.in -newrelic==8.9.0 +newrelic==8.10.0 # via # -r requirements/base.txt # edx-django-utils @@ -202,7 +202,7 @@ urllib3==2.0.4 # via # -r requirements/base.txt # requests -web-fragments==2.0.0 +web-fragments==2.1.0 # via # -r requirements/base.txt # xblock @@ -210,7 +210,7 @@ webob==1.8.7 # via # -r requirements/base.txt # xblock -xblock==1.6.2 +xblock==1.7.0 # via -r requirements/base.txt # The following packages are considered to be unsafe in a requirements file: diff --git a/test_settings.py b/test_settings.py index 485d51a..84e2e34 100644 --- a/test_settings.py +++ b/test_settings.py @@ -33,6 +33,10 @@ def root(*args): 'tests.test_models_app', ) +JWT_AUTH = { + 'JWT_AUTH_COOKIE': 'edx-jwt-cookie' +} + LOCALE_PATHS = [ root('edx_when', 'conf', 'locale'), ]