Skip to content

Commit

Permalink
chore: Upgrade Python requirements (#235)
Browse files Browse the repository at this point in the history
* chore: Upgrade Python requirements

* fix: quality check issues

---------

Co-authored-by: Irtaza Akram <[email protected]>
  • Loading branch information
edx-requirements-bot and irtazaakram authored Sep 30, 2024
1 parent da9adf8 commit 6a72ab6
Show file tree
Hide file tree
Showing 11 changed files with 80 additions and 71 deletions.
2 changes: 1 addition & 1 deletion openedx_tagging/core/tagging/import_export/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def import_tags(
task.end_success(global_elapsed_time)

return True, task, tag_import_plan
except Exception as exception:
except Exception as exception: # pylint: disable=broad-exception-caught
# Log any exception
task.log_exception(exception)
return False, task, None
Expand Down
8 changes: 5 additions & 3 deletions pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
# SERIOUSLY.
#
# ------------------------------
# Generated by edx-lint version: 5.2.5
# Generated by edx-lint version: 5.4.0
# ------------------------------
[MASTER]
ignore = migrations
Expand Down Expand Up @@ -259,6 +259,7 @@ enable =
useless-suppression,
disable =
bad-indentation,
broad-exception-raised,
consider-using-f-string,
duplicate-code,
file-ignored,
Expand Down Expand Up @@ -289,6 +290,7 @@ disable =
invalid-name,
django-not-configured,
consider-using-with,
too-many-positional-arguments,

[REPORTS]
output-format = text
Expand Down Expand Up @@ -383,6 +385,6 @@ ext-import-graph =
int-import-graph =

[EXCEPTIONS]
overgeneral-exceptions = Exception
overgeneral-exceptions = builtins.Exception

# 5d436c7ffdaa72d45855a50615b6dd757f12ecfd
# c4105d3d0befa7f3f6a9b4aab21fed19122d44fd
1 change: 1 addition & 0 deletions pylintrc_tweaks
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ disable+=
invalid-name,
django-not-configured,
consider-using-with,
too-many-positional-arguments,
16 changes: 9 additions & 7 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ asgiref==3.8.1
# via django
attrs==24.2.0
# via -r requirements/base.in
billiard==4.2.0
billiard==4.2.1
# via celery
celery==5.4.0
# via -r requirements/base.in
Expand Down Expand Up @@ -70,13 +70,13 @@ edx-opaque-keys==2.11.0
# via edx-drf-extensions
idna==3.10
# via requests
kombu==5.4.1
kombu==5.4.2
# via celery
newrelic==9.13.0
newrelic==10.0.0
# via edx-django-utils
pbr==6.1.0
# via stevedore
prompt-toolkit==3.0.47
prompt-toolkit==3.0.48
# via click-repl
psutil==6.0.0
# via edx-django-utils
Expand All @@ -86,7 +86,7 @@ pyjwt[crypto]==2.9.0
# via
# drf-jwt
# edx-drf-extensions
pymongo==4.8.0
pymongo==4.9.1
# via edx-opaque-keys
pynacl==1.5.0
# via edx-django-utils
Expand All @@ -108,8 +108,10 @@ stevedore==5.3.0
# edx-opaque-keys
typing-extensions==4.12.2
# via edx-opaque-keys
tzdata==2024.1
# via celery
tzdata==2024.2
# via
# celery
# kombu
urllib3==2.2.3
# via requests
vine==5.1.0
Expand Down
10 changes: 5 additions & 5 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ colorama==0.4.6
# via tox
distlib==0.3.8
# via virtualenv
filelock==3.16.0
filelock==3.16.1
# via
# tox
# virtualenv
Expand All @@ -26,19 +26,19 @@ packaging==24.1
# via
# pyproject-api
# tox
platformdirs==4.3.3
platformdirs==4.3.6
# via
# tox
# virtualenv
pluggy==1.5.0
# via tox
pyproject-api==1.7.1
pyproject-api==1.8.0
# via tox
tox==4.18.1
tox==4.20.0
# via -r requirements/ci.in
typing-extensions==4.12.2
# via
# grimp
# import-linter
virtualenv==20.26.4
virtualenv==20.26.6
# via tox
41 changes: 21 additions & 20 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ asgiref==3.8.1
# -r requirements/quality.txt
# django
# django-stubs
astroid==3.2.4
astroid==3.3.4
# via
# -r requirements/quality.txt
# pylint
Expand All @@ -24,7 +24,7 @@ backports-tarfile==1.2.0
# via
# -r requirements/quality.txt
# jaraco-context
billiard==4.2.0
billiard==4.2.1
# via
# -r requirements/quality.txt
# celery
Expand Down Expand Up @@ -108,7 +108,7 @@ ddt==1.7.2
# via -r requirements/quality.txt
diff-cover==9.2.0
# via -r requirements/dev.in
dill==0.3.8
dill==0.3.9
# via
# -r requirements/quality.txt
# pylint
Expand Down Expand Up @@ -138,11 +138,11 @@ django-debug-toolbar==4.4.6
# via
# -r requirements/dev.in
# -r requirements/quality.txt
django-stubs==5.0.4
django-stubs==5.1.0
# via
# -r requirements/quality.txt
# djangorestframework-stubs
django-stubs-ext==5.0.4
django-stubs-ext==5.1.0
# via
# -r requirements/quality.txt
# django-stubs
Expand Down Expand Up @@ -184,7 +184,7 @@ edx-opaque-keys==2.11.0
# via
# -r requirements/quality.txt
# edx-drf-extensions
filelock==3.16.0
filelock==3.16.1
# via
# -r requirements/ci.txt
# tox
Expand Down Expand Up @@ -225,7 +225,7 @@ 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
Expand All @@ -239,11 +239,11 @@ jinja2==3.1.4
# -r requirements/quality.txt
# code-annotations
# diff-cover
keyring==25.3.0
keyring==25.4.1
# via
# -r requirements/quality.txt
# twine
kombu==5.4.1
kombu==5.4.2
# via
# -r requirements/quality.txt
# celery
Expand Down Expand Up @@ -284,7 +284,7 @@ mypy-extensions==1.0.0
# mypy
mysqlclient==2.2.4
# via -r requirements/quality.txt
newrelic==9.13.0
newrelic==10.0.0
# via
# -r requirements/quality.txt
# edx-django-utils
Expand Down Expand Up @@ -313,7 +313,7 @@ pkginfo==1.10.0
# via
# -r requirements/quality.txt
# twine
platformdirs==4.3.3
platformdirs==4.3.6
# via
# -r requirements/ci.txt
# -r requirements/quality.txt
Expand All @@ -329,7 +329,7 @@ pluggy==1.5.0
# tox
polib==1.2.0
# via edx-i18n-tools
prompt-toolkit==3.0.47
prompt-toolkit==3.0.48
# via
# -r requirements/quality.txt
# click-repl
Expand All @@ -356,7 +356,7 @@ pyjwt[crypto]==2.9.0
# -r requirements/quality.txt
# drf-jwt
# edx-drf-extensions
pylint==3.2.7
pylint==3.3.1
# via
# -r requirements/quality.txt
# edx-lint
Expand All @@ -376,19 +376,19 @@ pylint-plugin-utils==0.8.2
# -r requirements/quality.txt
# pylint-celery
# pylint-django
pymongo==4.8.0
pymongo==4.9.1
# via
# -r requirements/quality.txt
# edx-opaque-keys
pynacl==1.5.0
# via
# -r requirements/quality.txt
# edx-django-utils
pyproject-api==1.7.1
pyproject-api==1.8.0
# via
# -r requirements/ci.txt
# tox
pyproject-hooks==1.1.0
pyproject-hooks==1.2.0
# via
# -r requirements/pip-tools.txt
# build
Expand Down Expand Up @@ -477,11 +477,11 @@ tomlkit==0.13.2
# via
# -r requirements/quality.txt
# pylint
tox==4.18.1
tox==4.20.0
# via -r requirements/ci.txt
twine==5.1.1
# via -r requirements/quality.txt
types-pyyaml==6.0.12.20240808
types-pyyaml==6.0.12.20240917
# via
# -r requirements/quality.txt
# django-stubs
Expand All @@ -501,10 +501,11 @@ typing-extensions==4.12.2
# grimp
# import-linter
# mypy
tzdata==2024.1
tzdata==2024.2
# via
# -r requirements/quality.txt
# celery
# kombu
urllib3==2.2.3
# via
# -r requirements/quality.txt
Expand All @@ -517,7 +518,7 @@ vine==5.1.0
# amqp
# celery
# kombu
virtualenv==20.26.4
virtualenv==20.26.6
# via
# -r requirements/ci.txt
# tox
Expand Down
19 changes: 10 additions & 9 deletions requirements/doc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ babel==2.16.0
# sphinx
beautifulsoup4==4.12.3
# via pydata-sphinx-theme
billiard==4.2.0
billiard==4.2.1
# via
# -r requirements/test.txt
# celery
Expand Down Expand Up @@ -98,11 +98,11 @@ django-crum==0.7.9
# edx-django-utils
django-debug-toolbar==4.4.6
# via -r requirements/test.txt
django-stubs==5.0.4
django-stubs==5.1.0
# via
# -r requirements/test.txt
# djangorestframework-stubs
django-stubs-ext==5.0.4
django-stubs-ext==5.1.0
# via
# -r requirements/test.txt
# django-stubs
Expand Down Expand Up @@ -168,7 +168,7 @@ jinja2==3.1.4
# -r requirements/test.txt
# code-annotations
# sphinx
kombu==5.4.1
kombu==5.4.2
# via
# -r requirements/test.txt
# celery
Expand All @@ -186,7 +186,7 @@ mypy-extensions==1.0.0
# mypy
mysqlclient==2.2.4
# via -r requirements/test.txt
newrelic==9.13.0
newrelic==10.0.0
# via
# -r requirements/test.txt
# edx-django-utils
Expand All @@ -208,7 +208,7 @@ pluggy==1.5.0
# pytest
pprintpp==0.4.0
# via sphinxcontrib-django
prompt-toolkit==3.0.47
prompt-toolkit==3.0.48
# via
# -r requirements/test.txt
# click-repl
Expand All @@ -234,7 +234,7 @@ pyjwt[crypto]==2.9.0
# -r requirements/test.txt
# drf-jwt
# edx-drf-extensions
pymongo==4.8.0
pymongo==4.9.1
# via
# -r requirements/test.txt
# edx-opaque-keys
Expand Down Expand Up @@ -326,7 +326,7 @@ text-unidecode==1.3
# via
# -r requirements/test.txt
# python-slugify
types-pyyaml==6.0.12.20240808
types-pyyaml==6.0.12.20240917
# via
# -r requirements/test.txt
# django-stubs
Expand All @@ -346,10 +346,11 @@ typing-extensions==4.12.2
# import-linter
# mypy
# pydata-sphinx-theme
tzdata==2024.1
tzdata==2024.2
# via
# -r requirements/test.txt
# celery
# kombu
urllib3==2.2.3
# via
# -r requirements/test.txt
Expand Down
2 changes: 1 addition & 1 deletion requirements/pip-tools.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion requirements/pip.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.0.0
setuptools==75.1.0
# via -r requirements/pip.in
Loading

0 comments on commit 6a72ab6

Please sign in to comment.