From fe71b8b3e844e16dcd4e915f7bf53e45a878ea23 Mon Sep 17 00:00:00 2001 From: edX requirements bot Date: Sun, 22 Sep 2024 20:20:18 -0400 Subject: [PATCH 1/2] chore: Upgrade Python requirements --- requirements/base.txt | 10 ++++++---- requirements/ci.txt | 10 +++++----- requirements/dev.txt | 21 +++++++++++---------- requirements/doc.txt | 9 +++++---- requirements/pip.txt | 2 +- requirements/quality.txt | 13 +++++++------ requirements/test.txt | 7 ++++--- 7 files changed, 39 insertions(+), 33 deletions(-) diff --git a/requirements/base.txt b/requirements/base.txt index 3f04b5a..3b2f9ed 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -10,7 +10,7 @@ appdirs==1.4.4 # via fs asgiref==3.8.1 # via django -billiard==4.2.0 +billiard==4.2.1 # via celery celery==5.4.0 # via -r requirements/base.in @@ -73,7 +73,7 @@ idna==3.10 # via requests jinja2==3.1.4 # via code-annotations -kombu==5.4.1 +kombu==5.4.2 # via celery lxml==5.3.0 # via xblock @@ -100,7 +100,7 @@ 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 @@ -146,7 +146,9 @@ text-unidecode==1.3 typing-extensions==4.12.2 # via edx-opaque-keys tzdata==2024.1 - # via celery + # via + # celery + # kombu urllib3==2.2.3 # via requests vine==5.1.0 diff --git a/requirements/ci.txt b/requirements/ci.txt index 6c95789..3625d4c 100644 --- a/requirements/ci.txt +++ b/requirements/ci.txt @@ -12,7 +12,7 @@ colorama==0.4.6 # via tox distlib==0.3.8 # via virtualenv -filelock==3.16.0 +filelock==3.16.1 # via # tox # virtualenv @@ -20,15 +20,15 @@ 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 diff --git a/requirements/dev.txt b/requirements/dev.txt index 4fee968..7375b85 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -16,12 +16,12 @@ asgiref==3.8.1 # via # -r requirements/quality.txt # django -astroid==3.2.4 +astroid==3.3.3 # via # -r requirements/quality.txt # pylint # pylint-celery -billiard==4.2.0 +billiard==4.2.1 # via # -r requirements/quality.txt # celery @@ -156,7 +156,7 @@ edx-opaque-keys==2.11.0 # via -r requirements/quality.txt edx-toggles==5.2.0 # via -r requirements/quality.txt -filelock==3.16.0 +filelock==3.16.1 # via # -r requirements/ci.txt # tox @@ -182,7 +182,7 @@ jinja2==3.1.4 # -r requirements/quality.txt # code-annotations # diff-cover -kombu==5.4.1 +kombu==5.4.2 # via # -r requirements/quality.txt # celery @@ -250,7 +250,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 @@ -285,7 +285,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 @@ -305,7 +305,7 @@ 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 @@ -313,7 +313,7 @@ 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 @@ -400,7 +400,7 @@ 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 @@ -410,6 +410,7 @@ tzdata==2024.1 # via # -r requirements/quality.txt # celery + # kombu urllib3==2.2.3 # via # -r requirements/quality.txt @@ -421,7 +422,7 @@ vine==5.1.0 # amqp # celery # kombu -virtualenv==20.26.4 +virtualenv==20.26.5 # via # -r requirements/ci.txt # tox diff --git a/requirements/doc.txt b/requirements/doc.txt index 85689c2..beee27b 100644 --- a/requirements/doc.txt +++ b/requirements/doc.txt @@ -28,7 +28,7 @@ backports-tarfile==1.2.0 # via jaraco-context beautifulsoup4==4.12.3 # via pydata-sphinx-theme -billiard==4.2.0 +billiard==4.2.1 # via # -r requirements/test.txt # celery @@ -164,9 +164,9 @@ jinja2==3.1.4 # -r requirements/test.txt # code-annotations # sphinx -keyring==25.3.0 +keyring==25.4.1 # via twine -kombu==5.4.1 +kombu==5.4.2 # via # -r requirements/test.txt # celery @@ -249,7 +249,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 @@ -377,6 +377,7 @@ tzdata==2024.1 # via # -r requirements/test.txt # celery + # kombu urllib3==2.2.3 # via # -r requirements/test.txt diff --git a/requirements/pip.txt b/requirements/pip.txt index ec02f2b..36c777e 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.0.0 +setuptools==75.1.0 # via -r requirements/pip.in diff --git a/requirements/quality.txt b/requirements/quality.txt index ad055ce..2d65a57 100644 --- a/requirements/quality.txt +++ b/requirements/quality.txt @@ -16,11 +16,11 @@ asgiref==3.8.1 # via # -r requirements/test.txt # django -astroid==3.2.4 +astroid==3.3.3 # via # pylint # pylint-celery -billiard==4.2.0 +billiard==4.2.1 # via # -r requirements/test.txt # celery @@ -141,7 +141,7 @@ jinja2==3.1.4 # via # -r requirements/test.txt # code-annotations -kombu==5.4.1 +kombu==5.4.2 # via # -r requirements/test.txt # celery @@ -190,7 +190,7 @@ pbr==6.1.0 # via # -r requirements/test.txt # stevedore -platformdirs==4.3.3 +platformdirs==4.3.6 # via # black # pylint @@ -214,7 +214,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 @@ -228,7 +228,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 @@ -317,6 +317,7 @@ tzdata==2024.1 # via # -r requirements/test.txt # celery + # kombu urllib3==2.2.3 # via # -r requirements/test.txt diff --git a/requirements/test.txt b/requirements/test.txt index e2a256a..09e987e 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -16,7 +16,7 @@ asgiref==3.8.1 # via # -r requirements/base.txt # django -billiard==4.2.0 +billiard==4.2.1 # via # -r requirements/base.txt # celery @@ -117,7 +117,7 @@ jinja2==3.1.4 # via # -r requirements/base.txt # code-annotations -kombu==5.4.1 +kombu==5.4.2 # via # -r requirements/base.txt # celery @@ -169,7 +169,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 @@ -252,6 +252,7 @@ tzdata==2024.1 # via # -r requirements/base.txt # celery + # kombu urllib3==2.2.3 # via # -r requirements/base.txt From f33c91ac64097de1917f1321422a35adb5f28552 Mon Sep 17 00:00:00 2001 From: Brian Mesick Date: Mon, 23 Sep 2024 10:24:00 -0400 Subject: [PATCH 2/2] style: Update lint config for newest pylint / edx-lint --- pylintrc | 5 +++-- pylintrc_tweaks | 3 +++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/pylintrc b/pylintrc index 7b10d96..223eb30 100644 --- a/pylintrc +++ b/pylintrc @@ -64,7 +64,7 @@ # SERIOUSLY. # # ------------------------------ -# Generated by edx-lint version: 5.3.6 +# Generated by edx-lint version: 5.4.0 # ------------------------------ [MASTER] ignore = migrations @@ -377,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 @@ -387,4 +388,4 @@ int-import-graph = [EXCEPTIONS] overgeneral-exceptions = builtins.Exception -# 22aad72373290794ac5bd89746f80d5c1bd95e25 +# fddc26d4104fc561571bba14bcdff5aa12108508 diff --git a/pylintrc_tweaks b/pylintrc_tweaks index 7b6eb35..a131f62 100644 --- a/pylintrc_tweaks +++ b/pylintrc_tweaks @@ -9,3 +9,6 @@ disable+= django-not-configured, consider-using-with, bad-option-value, + +[DESIGN] +max-positional-arguments = 10