From de2119381d386cd4fe4922a7c91c221e24bc2655 Mon Sep 17 00:00:00 2001 From: edX requirements bot Date: Fri, 18 Oct 2024 17:01:15 -0400 Subject: [PATCH 1/2] chore: Upgrade Python requirements --- requirements/base.txt | 36 ++++++++--------- requirements/ci.txt | 8 ++-- requirements/dev.txt | 77 +++++++++++++++++++++---------------- requirements/doc.txt | 72 +++++++++++++++++++--------------- requirements/pip-tools.txt | 4 +- requirements/pip.txt | 2 +- requirements/production.txt | 44 ++++++++++----------- requirements/quality.txt | 68 +++++++++++++++++--------------- requirements/test.txt | 55 +++++++++++++------------- requirements/validation.txt | 71 +++++++++++++++++++--------------- 10 files changed, 238 insertions(+), 199 deletions(-) diff --git a/requirements/base.txt b/requirements/base.txt index dcbf9bb7..902565bc 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -17,9 +17,9 @@ attrs==24.2.0 # openedx-events bleach==6.1.0 # via lti-consumer-xblock -boto3==1.35.22 +boto3==1.35.44 # via fs-s3fs -botocore==1.35.22 +botocore==1.35.44 # via # boto3 # s3transfer @@ -29,7 +29,7 @@ cffi==1.17.1 # via # cryptography # pynacl -charset-normalizer==3.3.2 +charset-normalizer==3.4.0 # via requests click==8.1.7 # via @@ -43,7 +43,7 @@ coreapi==2.3.3 # openapi-codec coreschema==0.0.4 # via coreapi -cryptography==43.0.1 +cryptography==43.0.3 # via # pyjwt # social-auth-core @@ -87,7 +87,7 @@ django-appconf==1.0.6 # via django-statici18n django-config-models==2.7.0 # via lti-consumer-xblock -django-cors-headers==4.4.0 +django-cors-headers==4.5.0 # via -r requirements/base.in django-crum==0.7.9 # via @@ -120,11 +120,11 @@ djangorestframework==3.15.2 # drf-yasg # edx-api-doc-tools # edx-drf-extensions -dnspython==2.6.1 +dnspython==2.7.0 # via pymongo drf-jwt==1.19.2 # via edx-drf-extensions -drf-yasg==1.21.7 +drf-yasg==1.21.8 # via edx-api-doc-tools edx-api-doc-tools==2.0.0 # via -r requirements/base.in @@ -136,7 +136,7 @@ edx-ccx-keys==1.3.0 # openedx-events edx-django-release-util==1.4.0 # via -r requirements/base.in -edx-django-utils==5.15.0 +edx-django-utils==7.0.0 # via # -r requirements/base.in # django-config-models @@ -150,7 +150,7 @@ edx-drf-extensions==10.4.0 # via -r requirements/base.in edx-event-bus-kafka==5.8.1 # via -r requirements/base.in -edx-event-bus-redis==0.5.0 +edx-event-bus-redis==0.5.1 # via -r requirements/base.in edx-opaque-keys[django]==2.11.0 # via @@ -206,14 +206,14 @@ mako==1.3.5 # via # lti-consumer-xblock # xblock -markupsafe==2.1.5 +markupsafe==3.0.2 # via # jinja2 # mako # xblock mysqlclient==2.2.4 # via -r requirements/base.in -newrelic==9.13.0 +newrelic==10.2.0 # via edx-django-utils oauthlib==3.2.2 # via @@ -224,22 +224,22 @@ openapi-codec==1.3.2 # via django-rest-swagger openedx-django-pyfs==3.7.0 # via lti-consumer-xblock -openedx-events==9.14.1 +openedx-events==9.15.0 # via # -r requirements/base.in # edx-event-bus-kafka # edx-event-bus-redis -openedx-filters==1.9.0 +openedx-filters==1.11.0 # via lti-consumer-xblock packaging==24.1 # via drf-yasg pbr==6.1.0 # via stevedore -psutil==6.0.0 +psutil==6.1.0 # via edx-django-utils pycparser==2.22 # via cffi -pycryptodomex==3.20.0 +pycryptodomex==3.21.0 # via # lti-consumer-xblock # pyjwkest @@ -256,7 +256,7 @@ pyjwt[crypto]==2.9.0 # social-auth-core pymemcache==4.0.0 # via -r requirements/base.in -pymongo==4.9.1 +pymongo==4.10.1 # via edx-opaque-keys pynacl==1.5.0 # via edx-django-utils @@ -279,7 +279,7 @@ pyyaml==6.0.2 # drf-yasg # edx-django-release-util # xblock -redis==5.0.8 +redis==5.1.1 # via walrus requests==2.32.3 # via @@ -291,7 +291,7 @@ requests==2.32.3 # social-auth-core requests-oauthlib==2.0.0 # via social-auth-core -s3transfer==0.10.2 +s3transfer==0.10.3 # via boto3 semantic-version==2.10.0 # via edx-drf-extensions diff --git a/requirements/ci.txt b/requirements/ci.txt index dd7ec7e0..1bba0750 100644 --- a/requirements/ci.txt +++ b/requirements/ci.txt @@ -10,9 +10,9 @@ chardet==5.2.0 # via tox colorama==0.4.6 # via tox -coverage==7.6.1 +coverage==7.6.3 # via -r requirements/ci.in -distlib==0.3.8 +distlib==0.3.9 # via virtualenv filelock==3.16.1 # via @@ -30,7 +30,7 @@ pluggy==1.5.0 # via tox pyproject-api==1.8.0 # via tox -tox==4.20.0 +tox==4.23.0 # via -r requirements/ci.in -virtualenv==20.26.5 +virtualenv==20.27.0 # via tox diff --git a/requirements/dev.txt b/requirements/dev.txt index 29237289..d8ee0c2a 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -13,7 +13,7 @@ asgiref==3.8.1 # -r requirements/validation.txt # django # django-cors-headers -astroid==3.2.4 +astroid==3.3.5 # via # -r requirements/validation.txt # pylint @@ -27,16 +27,16 @@ bleach==6.1.0 # via # -r requirements/validation.txt # lti-consumer-xblock -boto3==1.35.22 +boto3==1.35.44 # via # -r requirements/validation.txt # fs-s3fs -botocore==1.35.22 +botocore==1.35.44 # via # -r requirements/validation.txt # boto3 # s3transfer -build==1.2.2 +build==1.2.2.post1 # via # -r requirements/pip-tools.txt # pip-tools @@ -58,7 +58,7 @@ chardet==5.2.0 # -r requirements/validation.txt # diff-cover # tox -charset-normalizer==3.3.2 +charset-normalizer==3.4.0 # via # -r requirements/validation.txt # requests @@ -93,14 +93,15 @@ coreschema==0.0.4 # via # -r requirements/validation.txt # coreapi -coverage[toml]==7.6.1 +coverage[toml]==7.6.3 # via # -r requirements/validation.txt # pytest-cov -cryptography==43.0.1 +cryptography==43.0.3 # via # -r requirements/validation.txt # pyjwt + # secretstorage # social-auth-core ddt==1.7.2 # via -r requirements/validation.txt @@ -111,11 +112,11 @@ defusedxml==0.8.0rc2 # social-auth-core diff-cover==9.2.0 # via -r requirements/dev.in -dill==0.3.8 +dill==0.3.9 # via # -r requirements/validation.txt # pylint -distlib==0.3.8 +distlib==0.3.9 # via # -r requirements/validation.txt # virtualenv @@ -160,7 +161,7 @@ django-config-models==2.7.0 # via # -r requirements/validation.txt # lti-consumer-xblock -django-cors-headers==4.4.0 +django-cors-headers==4.5.0 # via -r requirements/validation.txt django-crum==0.7.9 # via @@ -202,7 +203,7 @@ djangorestframework==3.15.2 # drf-yasg # edx-api-doc-tools # edx-drf-extensions -dnspython==2.6.1 +dnspython==2.7.0 # via # -r requirements/validation.txt # pymongo @@ -214,7 +215,7 @@ drf-jwt==1.19.2 # via # -r requirements/validation.txt # edx-drf-extensions -drf-yasg==1.21.7 +drf-yasg==1.21.8 # via # -r requirements/validation.txt # edx-api-doc-tools @@ -229,7 +230,7 @@ edx-ccx-keys==1.3.0 # openedx-events edx-django-release-util==1.4.0 # via -r requirements/validation.txt -edx-django-utils==5.15.0 +edx-django-utils==7.0.0 # via # -r requirements/validation.txt # django-config-models @@ -243,7 +244,7 @@ edx-drf-extensions==10.4.0 # via -r requirements/validation.txt edx-event-bus-kafka==5.8.1 # via -r requirements/validation.txt -edx-event-bus-redis==0.5.0 +edx-event-bus-redis==0.5.1 # via -r requirements/validation.txt edx-i18n-tools==1.6.3 # via -r requirements/dev.in @@ -267,7 +268,7 @@ edx-token-utils==0.2.1 # via -r requirements/validation.txt factory-boy==3.3.1 # via -r requirements/validation.txt -faker==28.4.1 +faker==30.6.0 # via # -r requirements/validation.txt # factory-boy @@ -328,10 +329,15 @@ jaraco-context==6.0.1 # via # -r requirements/validation.txt # keyring -jaraco-functools==4.0.2 +jaraco-functools==4.1.0 # via # -r requirements/validation.txt # keyring +jeepney==0.8.0 + # via + # -r requirements/validation.txt + # keyring + # secretstorage jinja2==3.1.4 # via # -r requirements/validation.txt @@ -347,7 +353,7 @@ jsonfield==3.1.0 # via # -r requirements/validation.txt # lti-consumer-xblock -keyring==25.4.0 +keyring==25.4.1 # via # -r requirements/validation.txt # twine @@ -364,7 +370,7 @@ lxml[html-clean]==5.3.0 # lti-consumer-xblock # lxml-html-clean # xblock -lxml-html-clean==0.2.2 +lxml-html-clean==0.3.1 # via lxml mako==1.3.5 # via @@ -375,7 +381,7 @@ markdown-it-py==3.0.0 # via # -r requirements/validation.txt # rich -markupsafe==2.1.5 +markupsafe==3.0.2 # via # -r requirements/validation.txt # jinja2 @@ -398,7 +404,7 @@ more-itertools==10.5.0 # jaraco-functools mysqlclient==2.2.4 # via -r requirements/validation.txt -newrelic==9.13.0 +newrelic==10.2.0 # via # -r requirements/validation.txt # edx-django-utils @@ -420,12 +426,12 @@ openedx-django-pyfs==3.7.0 # via # -r requirements/validation.txt # lti-consumer-xblock -openedx-events==9.14.1 +openedx-events==9.15.0 # via # -r requirements/validation.txt # edx-event-bus-kafka # edx-event-bus-redis -openedx-filters==1.9.0 +openedx-filters==1.11.0 # via # -r requirements/validation.txt # lti-consumer-xblock @@ -464,7 +470,7 @@ pluggy==1.5.0 # tox polib==1.2.0 # via edx-i18n-tools -psutil==6.0.0 +psutil==6.1.0 # via # -r requirements/validation.txt # edx-django-utils @@ -474,7 +480,7 @@ pycparser==2.22 # via # -r requirements/validation.txt # cffi -pycryptodomex==3.20.0 +pycryptodomex==3.21.0 # via # -r requirements/validation.txt # lti-consumer-xblock @@ -500,7 +506,7 @@ pyjwt[crypto]==2.9.0 # edx-drf-extensions # edx-rest-api-client # social-auth-core -pylint==3.2.7 +pylint==3.3.1 # via # -r requirements/validation.txt # edx-lint @@ -511,7 +517,7 @@ pylint-celery==0.3 # via # -r requirements/validation.txt # edx-lint -pylint-django==2.5.5 +pylint-django==2.6.1 # via # -r requirements/validation.txt # edx-lint @@ -522,7 +528,7 @@ pylint-plugin-utils==0.8.2 # pylint-django pymemcache==4.0.0 # via -r requirements/validation.txt -pymongo==4.9.1 +pymongo==4.10.1 # via # -r requirements/validation.txt # edx-opaque-keys @@ -534,7 +540,7 @@ pyproject-api==1.8.0 # via # -r requirements/validation.txt # tox -pyproject-hooks==1.1.0 +pyproject-hooks==1.2.0 # via # -r requirements/pip-tools.txt # build @@ -581,7 +587,7 @@ readme-renderer==44.0 # via # -r requirements/validation.txt # twine -redis==5.0.8 +redis==5.1.1 # via # -r requirements/validation.txt # walrus @@ -611,14 +617,18 @@ rfc3986==2.0.0 # via # -r requirements/validation.txt # twine -rich==13.8.1 +rich==13.9.2 # via # -r requirements/validation.txt # twine -s3transfer==0.10.2 +s3transfer==0.10.3 # 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 @@ -672,7 +682,7 @@ tomlkit==0.13.2 # via # -r requirements/validation.txt # pylint -tox==4.20.0 +tox==4.23.0 # via -r requirements/validation.txt twine==5.1.1 # via -r requirements/validation.txt @@ -680,6 +690,7 @@ typing-extensions==4.12.2 # via # -r requirements/validation.txt # edx-opaque-keys + # faker uritemplate==4.1.1 # via # -r requirements/validation.txt @@ -692,7 +703,7 @@ urllib3==2.2.3 # requests # responses # twine -virtualenv==20.26.5 +virtualenv==20.27.0 # via # -r requirements/validation.txt # tox diff --git a/requirements/doc.txt b/requirements/doc.txt index 42058238..0e889104 100644 --- a/requirements/doc.txt +++ b/requirements/doc.txt @@ -15,7 +15,7 @@ asgiref==3.8.1 # -r requirements/test.txt # django # django-cors-headers -astroid==3.2.4 +astroid==3.3.5 # via # -r requirements/test.txt # pylint @@ -31,16 +31,16 @@ bleach==6.1.0 # via # -r requirements/test.txt # lti-consumer-xblock -boto3==1.35.22 +boto3==1.35.44 # via # -r requirements/test.txt # fs-s3fs -botocore==1.35.22 +botocore==1.35.44 # via # -r requirements/test.txt # boto3 # s3transfer -build==1.2.2 +build==1.2.2.post1 # via -r requirements/doc.in cachetools==5.5.0 # via @@ -59,7 +59,7 @@ chardet==5.2.0 # via # -r requirements/test.txt # tox -charset-normalizer==3.3.2 +charset-normalizer==3.4.0 # via # -r requirements/test.txt # requests @@ -92,14 +92,15 @@ coreschema==0.0.4 # via # -r requirements/test.txt # coreapi -coverage[toml]==7.6.1 +coverage[toml]==7.6.3 # via # -r requirements/test.txt # pytest-cov -cryptography==43.0.1 +cryptography==43.0.3 # via # -r requirements/test.txt # pyjwt + # secretstorage # social-auth-core ddt==1.7.2 # via -r requirements/test.txt @@ -108,11 +109,11 @@ defusedxml==0.8.0rc2 # -r requirements/test.txt # python3-openid # social-auth-core -dill==0.3.8 +dill==0.3.9 # via # -r requirements/test.txt # pylint -distlib==0.3.8 +distlib==0.3.9 # via # -r requirements/test.txt # virtualenv @@ -156,7 +157,7 @@ django-config-models==2.7.0 # via # -r requirements/test.txt # lti-consumer-xblock -django-cors-headers==4.4.0 +django-cors-headers==4.5.0 # via -r requirements/test.txt django-crum==0.7.9 # via @@ -196,7 +197,7 @@ djangorestframework==3.15.2 # drf-yasg # edx-api-doc-tools # edx-drf-extensions -dnspython==2.6.1 +dnspython==2.7.0 # via # -r requirements/test.txt # pymongo @@ -212,7 +213,7 @@ drf-jwt==1.19.2 # via # -r requirements/test.txt # edx-drf-extensions -drf-yasg==1.21.7 +drf-yasg==1.21.8 # via # -r requirements/test.txt # edx-api-doc-tools @@ -227,7 +228,7 @@ edx-ccx-keys==1.3.0 # openedx-events edx-django-release-util==1.4.0 # via -r requirements/test.txt -edx-django-utils==5.15.0 +edx-django-utils==7.0.0 # via # -r requirements/test.txt # django-config-models @@ -241,7 +242,7 @@ edx-drf-extensions==10.4.0 # via -r requirements/test.txt edx-event-bus-kafka==5.8.1 # via -r requirements/test.txt -edx-event-bus-redis==0.5.0 +edx-event-bus-redis==0.5.1 # via -r requirements/test.txt edx-lint==5.4.0 # via -r requirements/test.txt @@ -265,7 +266,7 @@ edx-token-utils==0.2.1 # via -r requirements/test.txt factory-boy==3.3.1 # via -r requirements/test.txt -faker==28.4.1 +faker==30.6.0 # via # -r requirements/test.txt # factory-boy @@ -322,8 +323,12 @@ jaraco-classes==3.4.0 # via keyring jaraco-context==6.0.1 # via keyring -jaraco-functools==4.0.2 +jaraco-functools==4.1.0 # via keyring +jeepney==0.8.0 + # via + # keyring + # secretstorage jinja2==3.1.4 # via # -r requirements/test.txt @@ -339,7 +344,7 @@ jsonfield==3.1.0 # via # -r requirements/test.txt # lti-consumer-xblock -keyring==25.4.0 +keyring==25.4.1 # via twine lazy==1.6 # via @@ -359,7 +364,7 @@ mako==1.3.5 # xblock markdown-it-py==3.0.0 # via rich -markupsafe==2.1.5 +markupsafe==3.0.2 # via # -r requirements/test.txt # jinja2 @@ -379,7 +384,7 @@ more-itertools==10.5.0 # jaraco-functools mysqlclient==2.2.4 # via -r requirements/test.txt -newrelic==9.13.0 +newrelic==10.2.0 # via # -r requirements/test.txt # edx-django-utils @@ -399,12 +404,12 @@ openedx-django-pyfs==3.7.0 # via # -r requirements/test.txt # lti-consumer-xblock -openedx-events==9.14.1 +openedx-events==9.15.0 # via # -r requirements/test.txt # edx-event-bus-kafka # edx-event-bus-redis -openedx-filters==1.9.0 +openedx-filters==1.11.0 # via # -r requirements/test.txt # lti-consumer-xblock @@ -434,7 +439,7 @@ pluggy==1.5.0 # -r requirements/test.txt # pytest # tox -psutil==6.0.0 +psutil==6.1.0 # via # -r requirements/test.txt # edx-django-utils @@ -442,7 +447,7 @@ pycparser==2.22 # via # -r requirements/test.txt # cffi -pycryptodomex==3.20.0 +pycryptodomex==3.21.0 # via # -r requirements/test.txt # lti-consumer-xblock @@ -466,7 +471,7 @@ pyjwt[crypto]==2.9.0 # edx-drf-extensions # edx-rest-api-client # social-auth-core -pylint==3.2.7 +pylint==3.3.1 # via # -r requirements/test.txt # edx-lint @@ -477,7 +482,7 @@ pylint-celery==0.3 # via # -r requirements/test.txt # edx-lint -pylint-django==2.5.5 +pylint-django==2.6.1 # via # -r requirements/test.txt # edx-lint @@ -488,7 +493,7 @@ pylint-plugin-utils==0.8.2 # pylint-django pymemcache==4.0.0 # via -r requirements/test.txt -pymongo==4.9.1 +pymongo==4.10.1 # via # -r requirements/test.txt # edx-opaque-keys @@ -500,7 +505,7 @@ pyproject-api==1.8.0 # via # -r requirements/test.txt # tox -pyproject-hooks==1.1.0 +pyproject-hooks==1.2.0 # via build pytest==8.3.3 # via @@ -541,7 +546,7 @@ pyyaml==6.0.2 # xblock readme-renderer==43.0 # via twine -redis==5.0.8 +redis==5.1.1 # via # -r requirements/test.txt # walrus @@ -570,12 +575,14 @@ restructuredtext-lint==1.4.0 # via doc8 rfc3986==2.0.0 # via twine -rich==13.8.1 +rich==13.9.2 # via twine -s3transfer==0.10.2 +s3transfer==0.10.3 # via # -r requirements/test.txt # boto3 +secretstorage==3.3.3 + # via keyring semantic-version==2.10.0 # via # -r requirements/test.txt @@ -644,7 +651,7 @@ tomlkit==0.13.2 # via # -r requirements/test.txt # pylint -tox==4.20.0 +tox==4.23.0 # via -r requirements/test.txt twine==5.1.1 # via -r requirements/doc.in @@ -652,6 +659,7 @@ typing-extensions==4.12.2 # via # -r requirements/test.txt # edx-opaque-keys + # faker uritemplate==4.1.1 # via # -r requirements/test.txt @@ -664,7 +672,7 @@ urllib3==2.2.3 # requests # responses # twine -virtualenv==20.26.5 +virtualenv==20.27.0 # via # -r requirements/test.txt # tox diff --git a/requirements/pip-tools.txt b/requirements/pip-tools.txt index e6268ff6..cf4131e2 100644 --- a/requirements/pip-tools.txt +++ b/requirements/pip-tools.txt @@ -4,7 +4,7 @@ # # make upgrade # -build==1.2.2 +build==1.2.2.post1 # via pip-tools click==8.1.7 # via pip-tools @@ -12,7 +12,7 @@ packaging==24.1 # via build pip-tools==7.4.1 # via -r requirements/pip-tools.in -pyproject-hooks==1.1.0 +pyproject-hooks==1.2.0 # via # build # pip-tools diff --git a/requirements/pip.txt b/requirements/pip.txt index 488d41f8..35655630 100644 --- a/requirements/pip.txt +++ b/requirements/pip.txt @@ -10,5 +10,5 @@ wheel==0.44.0 # The following packages are considered to be unsafe in a requirements file: pip==24.2 # via -r requirements/pip.in -setuptools==75.1.0 +setuptools==75.2.0 # via -r requirements/pip.in diff --git a/requirements/production.txt b/requirements/production.txt index bee48746..1f0f9663 100644 --- a/requirements/production.txt +++ b/requirements/production.txt @@ -22,12 +22,12 @@ bleach==6.1.0 # via # -r requirements/base.txt # lti-consumer-xblock -boto3==1.35.22 +boto3==1.35.44 # via # -r requirements/base.txt # django-ses # fs-s3fs -botocore==1.35.22 +botocore==1.35.44 # via # -r requirements/base.txt # boto3 @@ -41,7 +41,7 @@ cffi==1.17.1 # -r requirements/base.txt # cryptography # pynacl -charset-normalizer==3.3.2 +charset-normalizer==3.4.0 # via # -r requirements/base.txt # requests @@ -63,7 +63,7 @@ coreschema==0.0.4 # via # -r requirements/base.txt # coreapi -cryptography==43.0.1 +cryptography==43.0.3 # via # -r requirements/base.txt # pyjwt @@ -113,7 +113,7 @@ django-config-models==2.7.0 # via # -r requirements/base.txt # lti-consumer-xblock -django-cors-headers==4.4.0 +django-cors-headers==4.5.0 # via -r requirements/base.txt django-crum==0.7.9 # via @@ -130,7 +130,7 @@ django-model-utils==5.0.0 # via -r requirements/base.txt django-rest-swagger==2.2.0 # via -r requirements/base.txt -django-ses==4.1.1 +django-ses==4.2.0 # via -r requirements/production.in django-simple-history==3.7.0 # via -r requirements/base.txt @@ -153,7 +153,7 @@ djangorestframework==3.15.2 # drf-yasg # edx-api-doc-tools # edx-drf-extensions -dnspython==2.6.1 +dnspython==2.7.0 # via # -r requirements/base.txt # pymongo @@ -161,7 +161,7 @@ drf-jwt==1.19.2 # via # -r requirements/base.txt # edx-drf-extensions -drf-yasg==1.21.7 +drf-yasg==1.21.8 # via # -r requirements/base.txt # edx-api-doc-tools @@ -176,7 +176,7 @@ edx-ccx-keys==1.3.0 # openedx-events edx-django-release-util==1.4.0 # via -r requirements/base.txt -edx-django-utils==5.15.0 +edx-django-utils==7.0.0 # via # -r requirements/base.txt # django-config-models @@ -190,7 +190,7 @@ edx-drf-extensions==10.4.0 # via -r requirements/base.txt edx-event-bus-kafka==5.8.1 # via -r requirements/base.txt -edx-event-bus-redis==0.5.0 +edx-event-bus-redis==0.5.1 # via -r requirements/base.txt edx-opaque-keys[django]==2.11.0 # via @@ -226,9 +226,9 @@ future==1.0.0 # via # -r requirements/base.txt # pyjwkest -gevent==24.2.1 +gevent==24.10.3 # via -r requirements/production.in -greenlet==3.1.0 +greenlet==3.1.1 # via gevent gunicorn==23.0.0 # via -r requirements/production.in @@ -274,7 +274,7 @@ mako==1.3.5 # -r requirements/base.txt # lti-consumer-xblock # xblock -markupsafe==2.1.5 +markupsafe==3.0.2 # via # -r requirements/base.txt # jinja2 @@ -284,7 +284,7 @@ mysqlclient==2.2.4 # via # -r requirements/base.txt # -r requirements/production.in -newrelic==9.13.0 +newrelic==10.2.0 # via # -r requirements/base.txt # edx-django-utils @@ -302,12 +302,12 @@ openedx-django-pyfs==3.7.0 # via # -r requirements/base.txt # lti-consumer-xblock -openedx-events==9.14.1 +openedx-events==9.15.0 # via # -r requirements/base.txt # edx-event-bus-kafka # edx-event-bus-redis -openedx-filters==1.9.0 +openedx-filters==1.11.0 # via # -r requirements/base.txt # lti-consumer-xblock @@ -320,7 +320,7 @@ pbr==6.1.0 # via # -r requirements/base.txt # stevedore -psutil==6.0.0 +psutil==6.1.0 # via # -r requirements/base.txt # edx-django-utils @@ -328,7 +328,7 @@ pycparser==2.22 # via # -r requirements/base.txt # cffi -pycryptodomex==3.20.0 +pycryptodomex==3.21.0 # via # -r requirements/base.txt # lti-consumer-xblock @@ -348,7 +348,7 @@ pyjwt[crypto]==2.9.0 # social-auth-core pymemcache==4.0.0 # via -r requirements/base.txt -pymongo==4.9.1 +pymongo==4.10.1 # via # -r requirements/base.txt # edx-opaque-keys @@ -384,7 +384,7 @@ pyyaml==6.0.2 # drf-yasg # edx-django-release-util # xblock -redis==5.0.8 +redis==5.1.1 # via # -r requirements/base.txt # walrus @@ -401,7 +401,7 @@ requests-oauthlib==2.0.0 # via # -r requirements/base.txt # social-auth-core -s3transfer==0.10.2 +s3transfer==0.10.3 # via # -r requirements/base.txt # boto3 @@ -484,7 +484,7 @@ xblock==5.1.0 # lti-consumer-xblock zope-event==5.0 # via gevent -zope-interface==7.0.3 +zope-interface==7.1.0 # via gevent # The following packages are considered to be unsafe in a requirements file: diff --git a/requirements/quality.txt b/requirements/quality.txt index 7da0de0c..c27dc339 100644 --- a/requirements/quality.txt +++ b/requirements/quality.txt @@ -13,7 +13,7 @@ asgiref==3.8.1 # -r requirements/test.txt # django # django-cors-headers -astroid==3.2.4 +astroid==3.3.5 # via # -r requirements/test.txt # pylint @@ -27,11 +27,11 @@ bleach==6.1.0 # via # -r requirements/test.txt # lti-consumer-xblock -boto3==1.35.22 +boto3==1.35.44 # via # -r requirements/test.txt # fs-s3fs -botocore==1.35.22 +botocore==1.35.44 # via # -r requirements/test.txt # boto3 @@ -53,7 +53,7 @@ chardet==5.2.0 # via # -r requirements/test.txt # tox -charset-normalizer==3.3.2 +charset-normalizer==3.4.0 # via # -r requirements/test.txt # requests @@ -86,14 +86,15 @@ coreschema==0.0.4 # via # -r requirements/test.txt # coreapi -coverage[toml]==7.6.1 +coverage[toml]==7.6.3 # via # -r requirements/test.txt # pytest-cov -cryptography==43.0.1 +cryptography==43.0.3 # via # -r requirements/test.txt # pyjwt + # secretstorage # social-auth-core ddt==1.7.2 # via -r requirements/test.txt @@ -102,11 +103,11 @@ defusedxml==0.8.0rc2 # -r requirements/test.txt # python3-openid # social-auth-core -dill==0.3.8 +dill==0.3.9 # via # -r requirements/test.txt # pylint -distlib==0.3.8 +distlib==0.3.9 # via # -r requirements/test.txt # virtualenv @@ -150,7 +151,7 @@ django-config-models==2.7.0 # via # -r requirements/test.txt # lti-consumer-xblock -django-cors-headers==4.4.0 +django-cors-headers==4.5.0 # via -r requirements/test.txt django-crum==0.7.9 # via @@ -190,7 +191,7 @@ djangorestframework==3.15.2 # drf-yasg # edx-api-doc-tools # edx-drf-extensions -dnspython==2.6.1 +dnspython==2.7.0 # via # -r requirements/test.txt # pymongo @@ -200,7 +201,7 @@ drf-jwt==1.19.2 # via # -r requirements/test.txt # edx-drf-extensions -drf-yasg==1.21.7 +drf-yasg==1.21.8 # via # -r requirements/test.txt # edx-api-doc-tools @@ -215,7 +216,7 @@ edx-ccx-keys==1.3.0 # openedx-events edx-django-release-util==1.4.0 # via -r requirements/test.txt -edx-django-utils==5.15.0 +edx-django-utils==7.0.0 # via # -r requirements/test.txt # django-config-models @@ -229,7 +230,7 @@ edx-drf-extensions==10.4.0 # via -r requirements/test.txt edx-event-bus-kafka==5.8.1 # via -r requirements/test.txt -edx-event-bus-redis==0.5.0 +edx-event-bus-redis==0.5.1 # via -r requirements/test.txt edx-lint==5.4.0 # via @@ -253,7 +254,7 @@ edx-token-utils==0.2.1 # via -r requirements/test.txt factory-boy==3.3.1 # via -r requirements/test.txt -faker==28.4.1 +faker==30.6.0 # via # -r requirements/test.txt # factory-boy @@ -309,8 +310,12 @@ jaraco-classes==3.4.0 # via keyring jaraco-context==6.0.1 # via keyring -jaraco-functools==4.0.2 +jaraco-functools==4.1.0 # via keyring +jeepney==0.8.0 + # via + # keyring + # secretstorage jinja2==3.1.4 # via # -r requirements/test.txt @@ -325,7 +330,7 @@ jsonfield==3.1.0 # via # -r requirements/test.txt # lti-consumer-xblock -keyring==25.4.0 +keyring==25.4.1 # via twine lazy==1.6 # via @@ -345,7 +350,7 @@ mako==1.3.5 # xblock markdown-it-py==3.0.0 # via rich -markupsafe==2.1.5 +markupsafe==3.0.2 # via # -r requirements/test.txt # jinja2 @@ -365,7 +370,7 @@ more-itertools==10.5.0 # jaraco-functools mysqlclient==2.2.4 # via -r requirements/test.txt -newrelic==9.13.0 +newrelic==10.2.0 # via # -r requirements/test.txt # edx-django-utils @@ -385,12 +390,12 @@ openedx-django-pyfs==3.7.0 # via # -r requirements/test.txt # lti-consumer-xblock -openedx-events==9.14.1 +openedx-events==9.15.0 # via # -r requirements/test.txt # edx-event-bus-kafka # edx-event-bus-redis -openedx-filters==1.9.0 +openedx-filters==1.11.0 # via # -r requirements/test.txt # lti-consumer-xblock @@ -418,7 +423,7 @@ pluggy==1.5.0 # -r requirements/test.txt # pytest # tox -psutil==6.0.0 +psutil==6.1.0 # via # -r requirements/test.txt # edx-django-utils @@ -428,7 +433,7 @@ pycparser==2.22 # via # -r requirements/test.txt # cffi -pycryptodomex==3.20.0 +pycryptodomex==3.21.0 # via # -r requirements/test.txt # lti-consumer-xblock @@ -452,7 +457,7 @@ pyjwt[crypto]==2.9.0 # edx-drf-extensions # edx-rest-api-client # social-auth-core -pylint==3.2.7 +pylint==3.3.1 # via # -r requirements/test.txt # edx-lint @@ -463,7 +468,7 @@ pylint-celery==0.3 # via # -r requirements/test.txt # edx-lint -pylint-django==2.5.5 +pylint-django==2.6.1 # via # -r requirements/test.txt # edx-lint @@ -474,7 +479,7 @@ pylint-plugin-utils==0.8.2 # pylint-django pymemcache==4.0.0 # via -r requirements/test.txt -pymongo==4.9.1 +pymongo==4.10.1 # via # -r requirements/test.txt # edx-opaque-keys @@ -525,7 +530,7 @@ pyyaml==6.0.2 # xblock readme-renderer==44.0 # via twine -redis==5.0.8 +redis==5.1.1 # via # -r requirements/test.txt # walrus @@ -551,12 +556,14 @@ responses==0.25.3 # via -r requirements/test.txt rfc3986==2.0.0 # via twine -rich==13.8.1 +rich==13.9.2 # via twine -s3transfer==0.10.2 +s3transfer==0.10.3 # via # -r requirements/test.txt # boto3 +secretstorage==3.3.3 + # via keyring semantic-version==2.10.0 # via # -r requirements/test.txt @@ -607,7 +614,7 @@ tomlkit==0.13.2 # via # -r requirements/test.txt # pylint -tox==4.20.0 +tox==4.23.0 # via -r requirements/test.txt twine==5.1.1 # via -r requirements/quality.in @@ -615,6 +622,7 @@ typing-extensions==4.12.2 # via # -r requirements/test.txt # edx-opaque-keys + # faker uritemplate==4.1.1 # via # -r requirements/test.txt @@ -627,7 +635,7 @@ urllib3==2.2.3 # requests # responses # twine -virtualenv==20.26.5 +virtualenv==20.27.0 # via # -r requirements/test.txt # tox diff --git a/requirements/test.txt b/requirements/test.txt index bd92f159..a1ce62b7 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -13,7 +13,7 @@ asgiref==3.8.1 # -r requirements/base.txt # django # django-cors-headers -astroid==3.2.4 +astroid==3.3.5 # via # pylint # pylint-celery @@ -26,11 +26,11 @@ bleach==6.1.0 # via # -r requirements/base.txt # lti-consumer-xblock -boto3==1.35.22 +boto3==1.35.44 # via # -r requirements/base.txt # fs-s3fs -botocore==1.35.22 +botocore==1.35.44 # via # -r requirements/base.txt # boto3 @@ -48,7 +48,7 @@ cffi==1.17.1 # pynacl chardet==5.2.0 # via tox -charset-normalizer==3.3.2 +charset-normalizer==3.4.0 # via # -r requirements/base.txt # requests @@ -78,11 +78,11 @@ coreschema==0.0.4 # via # -r requirements/base.txt # coreapi -coverage[toml]==7.6.1 +coverage[toml]==7.6.3 # via # -r requirements/test.in # pytest-cov -cryptography==43.0.1 +cryptography==43.0.3 # via # -r requirements/base.txt # pyjwt @@ -94,9 +94,9 @@ defusedxml==0.8.0rc2 # -r requirements/base.txt # python3-openid # social-auth-core -dill==0.3.8 +dill==0.3.9 # via pylint -distlib==0.3.8 +distlib==0.3.9 # via virtualenv # via # -c requirements/common_constraints.txt @@ -137,7 +137,7 @@ django-config-models==2.7.0 # via # -r requirements/base.txt # lti-consumer-xblock -django-cors-headers==4.4.0 +django-cors-headers==4.5.0 # via -r requirements/base.txt django-crum==0.7.9 # via @@ -177,7 +177,7 @@ djangorestframework==3.15.2 # drf-yasg # edx-api-doc-tools # edx-drf-extensions -dnspython==2.6.1 +dnspython==2.7.0 # via # -r requirements/base.txt # pymongo @@ -185,7 +185,7 @@ drf-jwt==1.19.2 # via # -r requirements/base.txt # edx-drf-extensions -drf-yasg==1.21.7 +drf-yasg==1.21.8 # via # -r requirements/base.txt # edx-api-doc-tools @@ -200,7 +200,7 @@ edx-ccx-keys==1.3.0 # openedx-events edx-django-release-util==1.4.0 # via -r requirements/base.txt -edx-django-utils==5.15.0 +edx-django-utils==7.0.0 # via # -r requirements/base.txt # django-config-models @@ -214,7 +214,7 @@ edx-drf-extensions==10.4.0 # via -r requirements/base.txt edx-event-bus-kafka==5.8.1 # via -r requirements/base.txt -edx-event-bus-redis==0.5.0 +edx-event-bus-redis==0.5.1 # via -r requirements/base.txt edx-lint==5.4.0 # via -r requirements/test.in @@ -236,7 +236,7 @@ edx-token-utils==0.2.1 # via -r requirements/base.txt factory-boy==3.3.1 # via -r requirements/test.in -faker==28.4.1 +faker==30.6.0 # via factory-boy fastavro==1.9.7 # via @@ -308,7 +308,7 @@ mako==1.3.5 # -r requirements/base.txt # lti-consumer-xblock # xblock -markupsafe==2.1.5 +markupsafe==3.0.2 # via # -r requirements/base.txt # jinja2 @@ -320,7 +320,7 @@ mock==5.1.0 # via -r requirements/test.in mysqlclient==2.2.4 # via -r requirements/base.txt -newrelic==9.13.0 +newrelic==10.2.0 # via # -r requirements/base.txt # edx-django-utils @@ -338,12 +338,12 @@ openedx-django-pyfs==3.7.0 # via # -r requirements/base.txt # lti-consumer-xblock -openedx-events==9.14.1 +openedx-events==9.15.0 # via # -r requirements/base.txt # edx-event-bus-kafka # edx-event-bus-redis -openedx-filters==1.9.0 +openedx-filters==1.11.0 # via # -r requirements/base.txt # lti-consumer-xblock @@ -367,7 +367,7 @@ pluggy==1.5.0 # via # pytest # tox -psutil==6.0.0 +psutil==6.1.0 # via # -r requirements/base.txt # edx-django-utils @@ -375,7 +375,7 @@ pycparser==2.22 # via # -r requirements/base.txt # cffi -pycryptodomex==3.20.0 +pycryptodomex==3.21.0 # via # -r requirements/base.txt # lti-consumer-xblock @@ -393,7 +393,7 @@ pyjwt[crypto]==2.9.0 # edx-drf-extensions # edx-rest-api-client # social-auth-core -pylint==3.2.7 +pylint==3.3.1 # via # edx-lint # pylint-celery @@ -401,7 +401,7 @@ pylint==3.2.7 # pylint-plugin-utils pylint-celery==0.3 # via edx-lint -pylint-django==2.5.5 +pylint-django==2.6.1 # via edx-lint pylint-plugin-utils==0.8.2 # via @@ -409,7 +409,7 @@ pylint-plugin-utils==0.8.2 # pylint-django pymemcache==4.0.0 # via -r requirements/base.txt -pymongo==4.9.1 +pymongo==4.10.1 # via # -r requirements/base.txt # edx-opaque-keys @@ -455,7 +455,7 @@ pyyaml==6.0.2 # edx-django-release-util # responses # xblock -redis==5.0.8 +redis==5.1.1 # via # -r requirements/base.txt # walrus @@ -475,7 +475,7 @@ requests-oauthlib==2.0.0 # social-auth-core responses==0.25.3 # via -r requirements/test.in -s3transfer==0.10.2 +s3transfer==0.10.3 # via # -r requirements/base.txt # boto3 @@ -525,12 +525,13 @@ text-unidecode==1.3 # python-slugify tomlkit==0.13.2 # via pylint -tox==4.20.0 +tox==4.23.0 # via -r requirements/test.in typing-extensions==4.12.2 # via # -r requirements/base.txt # edx-opaque-keys + # faker uritemplate==4.1.1 # via # -r requirements/base.txt @@ -542,7 +543,7 @@ urllib3==2.2.3 # botocore # requests # responses -virtualenv==20.26.5 +virtualenv==20.27.0 # via tox walrus==0.9.4 # via diff --git a/requirements/validation.txt b/requirements/validation.txt index ef2c298f..607c7af4 100644 --- a/requirements/validation.txt +++ b/requirements/validation.txt @@ -15,7 +15,7 @@ asgiref==3.8.1 # -r requirements/test.txt # django # django-cors-headers -astroid==3.2.4 +astroid==3.3.5 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -32,12 +32,12 @@ bleach==6.1.0 # -r requirements/quality.txt # -r requirements/test.txt # lti-consumer-xblock -boto3==1.35.22 +boto3==1.35.44 # via # -r requirements/quality.txt # -r requirements/test.txt # fs-s3fs -botocore==1.35.22 +botocore==1.35.44 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -64,7 +64,7 @@ chardet==5.2.0 # -r requirements/quality.txt # -r requirements/test.txt # tox -charset-normalizer==3.3.2 +charset-normalizer==3.4.0 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -104,16 +104,17 @@ coreschema==0.0.4 # -r requirements/quality.txt # -r requirements/test.txt # coreapi -coverage[toml]==7.6.1 +coverage[toml]==7.6.3 # via # -r requirements/quality.txt # -r requirements/test.txt # pytest-cov -cryptography==43.0.1 +cryptography==43.0.3 # via # -r requirements/quality.txt # -r requirements/test.txt # pyjwt + # secretstorage # social-auth-core ddt==1.7.2 # via @@ -125,12 +126,12 @@ defusedxml==0.8.0rc2 # -r requirements/test.txt # python3-openid # social-auth-core -dill==0.3.8 +dill==0.3.9 # via # -r requirements/quality.txt # -r requirements/test.txt # pylint -distlib==0.3.8 +distlib==0.3.9 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -177,7 +178,7 @@ django-config-models==2.7.0 # -r requirements/quality.txt # -r requirements/test.txt # lti-consumer-xblock -django-cors-headers==4.4.0 +django-cors-headers==4.5.0 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -234,7 +235,7 @@ djangorestframework==3.15.2 # drf-yasg # edx-api-doc-tools # edx-drf-extensions -dnspython==2.6.1 +dnspython==2.7.0 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -248,7 +249,7 @@ drf-jwt==1.19.2 # -r requirements/quality.txt # -r requirements/test.txt # edx-drf-extensions -drf-yasg==1.21.7 +drf-yasg==1.21.8 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -271,7 +272,7 @@ edx-django-release-util==1.4.0 # via # -r requirements/quality.txt # -r requirements/test.txt -edx-django-utils==5.15.0 +edx-django-utils==7.0.0 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -290,7 +291,7 @@ edx-event-bus-kafka==5.8.1 # via # -r requirements/quality.txt # -r requirements/test.txt -edx-event-bus-redis==0.5.0 +edx-event-bus-redis==0.5.1 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -324,7 +325,7 @@ factory-boy==3.3.1 # via # -r requirements/quality.txt # -r requirements/test.txt -faker==28.4.1 +faker==30.6.0 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -398,10 +399,15 @@ jaraco-context==6.0.1 # via # -r requirements/quality.txt # keyring -jaraco-functools==4.0.2 +jaraco-functools==4.1.0 # via # -r requirements/quality.txt # keyring +jeepney==0.8.0 + # via + # -r requirements/quality.txt + # keyring + # secretstorage jinja2==3.1.4 # via # -r requirements/quality.txt @@ -419,7 +425,7 @@ jsonfield==3.1.0 # -r requirements/quality.txt # -r requirements/test.txt # lti-consumer-xblock -keyring==25.4.0 +keyring==25.4.1 # via # -r requirements/quality.txt # twine @@ -448,7 +454,7 @@ markdown-it-py==3.0.0 # via # -r requirements/quality.txt # rich -markupsafe==2.1.5 +markupsafe==3.0.2 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -477,7 +483,7 @@ mysqlclient==2.2.4 # via # -r requirements/quality.txt # -r requirements/test.txt -newrelic==9.13.0 +newrelic==10.2.0 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -503,13 +509,13 @@ openedx-django-pyfs==3.7.0 # -r requirements/quality.txt # -r requirements/test.txt # lti-consumer-xblock -openedx-events==9.14.1 +openedx-events==9.15.0 # via # -r requirements/quality.txt # -r requirements/test.txt # edx-event-bus-kafka # edx-event-bus-redis -openedx-filters==1.9.0 +openedx-filters==1.11.0 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -544,7 +550,7 @@ pluggy==1.5.0 # -r requirements/test.txt # pytest # tox -psutil==6.0.0 +psutil==6.1.0 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -556,7 +562,7 @@ pycparser==2.22 # -r requirements/quality.txt # -r requirements/test.txt # cffi -pycryptodomex==3.20.0 +pycryptodomex==3.21.0 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -584,7 +590,7 @@ pyjwt[crypto]==2.9.0 # edx-drf-extensions # edx-rest-api-client # social-auth-core -pylint==3.2.7 +pylint==3.3.1 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -597,7 +603,7 @@ pylint-celery==0.3 # -r requirements/quality.txt # -r requirements/test.txt # edx-lint -pylint-django==2.5.5 +pylint-django==2.6.1 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -612,7 +618,7 @@ pymemcache==4.0.0 # via # -r requirements/quality.txt # -r requirements/test.txt -pymongo==4.9.1 +pymongo==4.10.1 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -678,7 +684,7 @@ readme-renderer==44.0 # via # -r requirements/quality.txt # twine -redis==5.0.8 +redis==5.1.1 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -713,15 +719,19 @@ rfc3986==2.0.0 # via # -r requirements/quality.txt # twine -rich==13.8.1 +rich==13.9.2 # via # -r requirements/quality.txt # twine -s3transfer==0.10.2 +s3transfer==0.10.3 # via # -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 @@ -783,7 +793,7 @@ tomlkit==0.13.2 # -r requirements/quality.txt # -r requirements/test.txt # pylint -tox==4.20.0 +tox==4.23.0 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -794,6 +804,7 @@ typing-extensions==4.12.2 # -r requirements/quality.txt # -r requirements/test.txt # edx-opaque-keys + # faker uritemplate==4.1.1 # via # -r requirements/quality.txt @@ -808,7 +819,7 @@ urllib3==2.2.3 # requests # responses # twine -virtualenv==20.26.5 +virtualenv==20.27.0 # via # -r requirements/quality.txt # -r requirements/test.txt From 939e361a84a0528181ccc6637aceeeffe2379e48 Mon Sep 17 00:00:00 2001 From: michaelroytman Date: Fri, 18 Oct 2024 17:26:22 -0400 Subject: [PATCH 2/2] style: fix pylint errors This commit fixes new pylint errors related to the upgrade from Pylint version 3.2.7 to 3.3.1. This commit fixes these errors by adding disable directives to legacy code. This commit also refactors log statements to be lazy. --- edx_exams/apps/api/v1/tests/test_views.py | 1 + edx_exams/apps/core/models.py | 8 ++++---- edx_exams/apps/lti/tests/test_views.py | 3 +++ 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/edx_exams/apps/api/v1/tests/test_views.py b/edx_exams/apps/api/v1/tests/test_views.py index 462dceb2..76a5405b 100644 --- a/edx_exams/apps/api/v1/tests/test_views.py +++ b/edx_exams/apps/api/v1/tests/test_views.py @@ -1789,6 +1789,7 @@ def setUp(self): course_id=self.course_id, ) + # pylint: disable=too-many-positional-arguments def request_api(self, method, user, course_id, data=None, allowance_id=None): """ Helper function to make API request diff --git a/edx_exams/apps/core/models.py b/edx_exams/apps/core/models.py index 6c25079d..94f92b44 100644 --- a/edx_exams/apps/core/models.py +++ b/edx_exams/apps/core/models.py @@ -380,16 +380,16 @@ def create_or_update(cls, course_id, provider, escalation_email): # and duplicates made with the new provider. if provider != existing_provider: count = cls._sync_exams_with_new_provider(existing_config.course_id, provider) - log.info(f'Updated course exam configuration course_id={course_id} ' - + f'to provider={provider_name} and recreated {count} exams') + log.info('Updated course exam configuration course_id=%s to provider=%s and recreated %d exams', + course_id, provider_name, count) else: CourseExamConfiguration.objects.create( course_id=course_id, escalation_email=escalation_email, provider=provider, ) - log.info(f'Created course exam configuration course_id={course_id}, provider={provider_name}, ' - + f'escalation_email={escalation_email}') + log.info('Created course exam configuration course_id=%s, provider=%s, escalation_email=%s', + course_id, provider_name, escalation_email) @classmethod def update_course_config(cls, existing_config, new_provider, escalation_email): diff --git a/edx_exams/apps/lti/tests/test_views.py b/edx_exams/apps/lti/tests/test_views.py index 4f97d52d..87917273 100644 --- a/edx_exams/apps/lti/tests/test_views.py +++ b/edx_exams/apps/lti/tests/test_views.py @@ -158,6 +158,7 @@ def make_post_request(self, request_body, token): @patch.object(Lti1p3ApiAuthentication, 'authenticate', return_value=(AnonymousUser(), None)) @patch('edx_exams.apps.lti.views.LtiProctoringAcsPermissions.has_permission') @patch('edx_exams.apps.lti.views.get_attempt_for_user_with_attempt_number_and_resource_id') + # pylint: disable=too-many-positional-arguments def test_acs_attempt_status(self, attempt_status, expected_response_status, @@ -210,6 +211,7 @@ def test_acs_no_attempt_found(self, @patch.object(Lti1p3ApiAuthentication, 'authenticate', return_value=(AnonymousUser(), None)) @patch('edx_exams.apps.lti.views.LtiProctoringAcsPermissions.has_permission') @patch('edx_exams.apps.lti.views.get_attempt_for_user_with_attempt_number_and_resource_id') + # pylint: disable=too-many-positional-arguments def test_acs_base_parameter_missing_errors(self, acs_parameter, acs_sub_parameter, @@ -317,6 +319,7 @@ def test_acs_invalid_action(self, @patch.object(Lti1p3ApiAuthentication, 'authenticate', return_value=(AnonymousUser(), None)) @patch('edx_exams.apps.lti.views.LtiProctoringAcsPermissions.has_permission') @patch('edx_exams.apps.lti.views.get_attempt_for_user_with_attempt_number_and_resource_id') + # pylint: disable=too-many-positional-arguments def test_acs_terminate(self, reason_code, incident_severity,