From 27dbf360ab9a0bec6a8503fdf934025409018669 Mon Sep 17 00:00:00 2001 From: edX requirements bot <49161187+edx-requirements-bot@users.noreply.github.com> Date: Mon, 20 May 2024 10:44:19 -0400 Subject: [PATCH] Python Requirements Update (#194) * chore: Updating Python Requirements * style: update code to fix pylint failures The upgrade from pylint 3.1.0 to 3.2.0 resulted in some pylint failures. This commits modifies the code to correct those failures. --------- Co-authored-by: michaelroytman --- edx_name_affirmation/tests/test_api.py | 1 + requirements/base.txt | 4 ++-- requirements/ci.txt | 2 +- requirements/dev.txt | 14 +++++++------- requirements/doc.txt | 4 ++-- requirements/quality.txt | 10 +++++----- requirements/test.txt | 2 +- 7 files changed, 19 insertions(+), 18 deletions(-) diff --git a/edx_name_affirmation/tests/test_api.py b/edx_name_affirmation/tests/test_api.py index defd1e5..d8719de 100644 --- a/edx_name_affirmation/tests/test_api.py +++ b/edx_name_affirmation/tests/test_api.py @@ -103,6 +103,7 @@ def test_create_verified_name_empty_string(self, verified_name, profile_name): """ Test that an empty verified_name or profile_name will raise an exception. """ + field = '' if verified_name == '': field = 'verified_name' elif profile_name == '': diff --git a/requirements/base.txt b/requirements/base.txt index 60c3ddc..556a88e 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -46,7 +46,7 @@ code-annotations==1.8.0 # via edx-toggles cryptography==42.0.7 # via pyjwt -django==4.2.11 +django==4.2.13 # via # -c requirements/common_constraints.txt # -r requirements/base.in @@ -124,7 +124,7 @@ kombu==5.3.7 # via celery markupsafe==2.1.5 # via jinja2 -newrelic==9.9.0 +newrelic==9.9.1 # via edx-django-utils packaging==24.0 # via drf-yasg diff --git a/requirements/ci.txt b/requirements/ci.txt index dd2bd2c..6477287 100644 --- a/requirements/ci.txt +++ b/requirements/ci.txt @@ -36,5 +36,5 @@ tomli==2.0.1 # tox tox==4.15.0 # via -r requirements/ci.in -virtualenv==20.26.1 +virtualenv==20.26.2 # via tox diff --git a/requirements/dev.txt b/requirements/dev.txt index 69463c5..0e60ab3 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -12,7 +12,7 @@ asgiref==3.8.1 # via # -r requirements/quality.txt # django -astroid==3.1.0 +astroid==3.2.0 # via # -r requirements/quality.txt # pylint @@ -87,7 +87,7 @@ distlib==0.3.8 # via # -r requirements/ci.txt # virtualenv -django==4.2.11 +django==4.2.13 # via # -c requirements/common_constraints.txt # -r requirements/quality.txt @@ -150,11 +150,11 @@ jinja2==3.1.4 # -r requirements/quality.txt # code-annotations # diff-cover -keyring==25.2.0 +keyring==25.2.1 # via # -r requirements/quality.txt # twine -lxml[html-clean,html_clean]==5.2.1 +lxml[html-clean,html_clean]==5.2.2 # via # edx-i18n-tools # lxml-html-clean @@ -240,7 +240,7 @@ pygments==2.18.0 # diff-cover # readme-renderer # rich -pylint==3.1.0 +pylint==3.2.0 # via # -r requirements/quality.txt # edx-lint @@ -344,7 +344,7 @@ tomli==2.0.1 # pylint # pyproject-api # tox -tomlkit==0.12.4 +tomlkit==0.12.5 # via # -r requirements/quality.txt # pylint @@ -374,7 +374,7 @@ urllib3==2.2.1 # -r requirements/quality.txt # requests # twine -virtualenv==20.26.1 +virtualenv==20.26.2 # via # -r requirements/ci.txt # tox diff --git a/requirements/doc.txt b/requirements/doc.txt index 1e627f5..95735e3 100644 --- a/requirements/doc.txt +++ b/requirements/doc.txt @@ -50,7 +50,7 @@ code-annotations==1.8.0 # via edx-toggles cryptography==42.0.7 # via pyjwt -django==4.2.11 +django==4.2.13 # via # -c requirements/common_constraints.txt # -r requirements/base.in @@ -146,7 +146,7 @@ kombu==5.3.7 # via celery markupsafe==2.1.5 # via jinja2 -newrelic==9.9.0 +newrelic==9.9.1 # via edx-django-utils nh3==0.2.17 # via readme-renderer diff --git a/requirements/quality.txt b/requirements/quality.txt index 0f6b354..a9a5293 100644 --- a/requirements/quality.txt +++ b/requirements/quality.txt @@ -8,7 +8,7 @@ annotated-types==0.6.0 # via pydantic asgiref==3.8.1 # via django -astroid==3.1.0 +astroid==3.2.0 # via # pylint # pylint-celery @@ -36,7 +36,7 @@ cryptography==42.0.7 # via secretstorage dill==0.3.8 # via pylint -django==4.2.11 +django==4.2.13 # via # -c requirements/common_constraints.txt # -r requirements/quality.in @@ -73,7 +73,7 @@ jeepney==0.8.0 # secretstorage jinja2==3.1.4 # via code-annotations -keyring==25.2.0 +keyring==25.2.1 # via twine markdown-it-py==3.0.0 # via rich @@ -109,7 +109,7 @@ pygments==2.18.0 # via # readme-renderer # rich -pylint==3.1.0 +pylint==3.2.0 # via # edx-lint # pylint-celery @@ -161,7 +161,7 @@ text-unidecode==1.3 # via python-slugify tomli==2.0.1 # via pylint -tomlkit==0.12.4 +tomlkit==0.12.5 # via pylint twine==5.0.0 # via -r requirements/quality.in diff --git a/requirements/test.txt b/requirements/test.txt index c152188..c5d0263 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -176,7 +176,7 @@ markupsafe==2.1.5 # jinja2 mock==5.1.0 # via -r requirements/test.in -newrelic==9.9.0 +newrelic==9.9.1 # via # -r requirements/base.txt # edx-django-utils