Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Upgrade Python requirements #128

Merged
merged 2 commits into from
Sep 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion edx_event_bus_redis/internal/consumer.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def _consume_indefinitely(self):
'consumer_name': self.consumer_name,
}

try: # pylint: disable=too-many-nested-blocks
try:
logger.info(f"Running consumer for {run_context!r}")

# How many errors have we seen in a row? If this climbs too high, exit with error.
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.3.0
# Generated by edx-lint version: 5.3.6
# ------------------------------
[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 @@ -376,6 +377,7 @@ max-parents = 7
max-attributes = 7
min-public-methods = 2
max-public-methods = 20
max-positional-arguments = 10

[IMPORTS]
deprecated-modules = regsub,TERMIOS,Bastion,rexec
Expand All @@ -384,6 +386,6 @@ ext-import-graph =
int-import-graph =

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

# 46c7367b47aae914d36c17c49c676bffbc597fcd
# 4cac938bf878bc7ac3b1c8ca5875b8dc6e1088d4
3 changes: 3 additions & 0 deletions pylintrc_tweaks
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ disable+=
django-not-configured,
consider-using-with,
bad-option-value,

[DESIGN]
max-positional-arguments = 10
4 changes: 2 additions & 2 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,15 @@ markupsafe==2.1.5
# via jinja2
newrelic==9.13.0
# via edx-django-utils
openedx-events==9.14.0
openedx-events==9.14.1
# via -r requirements/base.in
pbr==6.1.0
# via stevedore
psutil==6.0.0
# via edx-django-utils
pycparser==2.22
# via cffi
pymongo==4.8.0
pymongo==4.9.1
# via edx-opaque-keys
pynacl==1.5.0
# via edx-django-utils
Expand Down
10 changes: 5 additions & 5 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,23 @@ colorama==0.4.6
# via tox
distlib==0.3.8
# via virtualenv
filelock==3.16.0
filelock==3.16.1
# via
# tox
# virtualenv
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
virtualenv==20.26.4
virtualenv==20.26.5
# via tox
18 changes: 9 additions & 9 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ asgiref==3.8.1
# via
# -r requirements/quality.txt
# django
astroid==3.2.4
astroid==3.3.3
# via
# -r requirements/quality.txt
# pylint
Expand Down Expand Up @@ -120,7 +120,7 @@ fastavro==1.9.7
# via
# -r requirements/quality.txt
# openedx-events
filelock==3.16.0
filelock==3.16.1
# via
# -r requirements/ci.txt
# tox
Expand Down Expand Up @@ -156,7 +156,7 @@ newrelic==9.13.0
# via
# -r requirements/quality.txt
# edx-django-utils
openedx-events==9.14.0
openedx-events==9.14.1
# via -r requirements/quality.txt
packaging==24.1
# via
Expand All @@ -175,7 +175,7 @@ pbr==6.1.0
# stevedore
pip-tools==7.4.1
# via -r requirements/pip-tools.txt
platformdirs==4.3.3
platformdirs==4.3.6
# via
# -r requirements/ci.txt
# -r requirements/quality.txt
Expand Down Expand Up @@ -205,7 +205,7 @@ pydocstyle==6.3.0
# via -r requirements/quality.txt
pygments==2.18.0
# via diff-cover
pylint==3.2.7
pylint==3.3.0
# via
# -r requirements/quality.txt
# edx-lint
Expand All @@ -225,15 +225,15 @@ 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
Expand Down Expand Up @@ -291,13 +291,13 @@ tomlkit==0.13.2
# via
# -r requirements/quality.txt
# pylint
tox==4.18.1
tox==4.20.0
# via -r requirements/ci.txt
typing-extensions==4.12.2
# via
# -r requirements/quality.txt
# edx-opaque-keys
virtualenv==20.26.4
virtualenv==20.26.5
# via
# -r requirements/ci.txt
# tox
Expand Down
6 changes: 3 additions & 3 deletions requirements/doc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ jinja2==3.1.4
# -r requirements/test.txt
# code-annotations
# sphinx
keyring==25.3.0
keyring==25.4.1
# via twine
markdown-it-py==3.0.0
# via rich
Expand All @@ -147,7 +147,7 @@ newrelic==9.13.0
# edx-django-utils
nh3==0.2.18
# via readme-renderer
openedx-events==9.14.0
openedx-events==9.14.1
# via -r requirements/test.txt
packaging==24.1
# via
Expand Down Expand Up @@ -183,7 +183,7 @@ pygments==2.18.0
# readme-renderer
# rich
# sphinx
pymongo==4.8.0
pymongo==4.9.1
# via
# -r requirements/test.txt
# edx-opaque-keys
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
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 @@ asgiref==3.8.1
# via
# -r requirements/test.txt
# django
astroid==3.2.4
astroid==3.3.3
# via
# pylint
# pylint-celery
Expand Down Expand Up @@ -109,7 +109,7 @@ newrelic==9.13.0
# via
# -r requirements/test.txt
# edx-django-utils
openedx-events==9.14.0
openedx-events==9.14.1
# via -r requirements/test.txt
packaging==24.1
# via
Expand All @@ -119,7 +119,7 @@ pbr==6.1.0
# via
# -r requirements/test.txt
# stevedore
platformdirs==4.3.3
platformdirs==4.3.6
# via pylint
pluggy==1.5.0
# via
Expand All @@ -137,7 +137,7 @@ pycparser==2.22
# cffi
pydocstyle==6.3.0
# via -r requirements/quality.in
pylint==3.2.7
pylint==3.3.0
# via
# edx-lint
# pylint-celery
Expand All @@ -151,7 +151,7 @@ pylint-plugin-utils==0.8.2
# via
# pylint-celery
# pylint-django
pymongo==4.8.0
pymongo==4.9.1
# via
# -r requirements/test.txt
# edx-opaque-keys
Expand Down
4 changes: 2 additions & 2 deletions requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ newrelic==9.13.0
# via
# -r requirements/base.txt
# edx-django-utils
openedx-events==9.14.0
openedx-events==9.14.1
# via -r requirements/base.txt
packaging==24.1
# via pytest
Expand All @@ -104,7 +104,7 @@ pycparser==2.22
# via
# -r requirements/base.txt
# cffi
pymongo==4.8.0
pymongo==4.9.1
# via
# -r requirements/base.txt
# edx-opaque-keys
Expand Down