Skip to content

Commit

Permalink
Python Requirements Update (#194)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
edx-requirements-bot and MichaelRoytman authored May 20, 2024
1 parent 1ff6409 commit 27dbf36
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 18 deletions.
1 change: 1 addition & 0 deletions edx_name_affirmation/tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 == '':
Expand Down
4 changes: 2 additions & 2 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion requirements/ci.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
14 changes: 7 additions & 7 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions requirements/doc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions requirements/quality.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 27dbf36

Please sign in to comment.