From 853f7c2babc39a74f3423fd455bdc9649a934450 Mon Sep 17 00:00:00 2001 From: edX requirements bot Date: Sun, 22 Sep 2024 22:28:49 -0400 Subject: [PATCH 1/2] chore: Upgrade Python requirements --- requirements/base.txt | 14 ++++++++------ requirements/dev.txt | 19 ++++++++++--------- requirements/doc.txt | 19 ++++++++++--------- requirements/pip.txt | 2 +- requirements/production.txt | 13 +++++++------ requirements/quality.txt | 17 +++++++++-------- requirements/test.txt | 19 ++++++++++--------- requirements/validation.txt | 19 ++++++++++--------- 8 files changed, 65 insertions(+), 57 deletions(-) diff --git a/requirements/base.txt b/requirements/base.txt index d3e83fd7..58052fb3 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -20,11 +20,11 @@ backoff==1.10.0 # via # -r requirements/base.in # analytics-python -billiard==4.2.0 +billiard==4.2.1 # via celery -boto3==1.35.19 +boto3==1.35.24 # via django-ses -botocore==1.35.19 +botocore==1.35.24 # via # boto3 # s3transfer @@ -187,7 +187,7 @@ jsonschema==4.23.0 # via drf-spectacular jsonschema-specifications==2023.12.1 # via jsonschema -kombu==5.4.1 +kombu==5.4.2 # via celery markupsafe==2.1.5 # via jinja2 @@ -218,7 +218,7 @@ pyjwt[crypto]==2.9.0 # edx-drf-extensions # edx-rest-api-client # social-auth-core -pymongo==4.8.0 +pymongo==4.9.1 # via edx-opaque-keys pynacl==1.5.0 # via edx-django-utils @@ -288,7 +288,9 @@ text-unidecode==1.3 typing-extensions==4.12.2 # via edx-opaque-keys tzdata==2024.1 - # via celery + # via + # celery + # kombu uritemplate==4.1.1 # via drf-spectacular urllib3==2.2.3 diff --git a/requirements/dev.txt b/requirements/dev.txt index 48f397d6..957d8ce7 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -15,7 +15,7 @@ asgiref==3.8.1 # -r requirements/validation.txt # django # django-cors-headers -astroid==3.2.4 +astroid==3.3.3 # via # -r requirements/validation.txt # pylint @@ -29,15 +29,15 @@ backoff==1.10.0 # via # -r requirements/validation.txt # analytics-python -billiard==4.2.0 +billiard==4.2.1 # via # -r requirements/validation.txt # celery -boto3==1.35.19 +boto3==1.35.24 # via # -r requirements/validation.txt # django-ses -botocore==1.35.19 +botocore==1.35.24 # via # -r requirements/validation.txt # boto3 @@ -251,7 +251,7 @@ edx-toggles==5.2.0 # via -r requirements/validation.txt factory-boy==3.3.1 # via -r requirements/validation.txt -faker==28.4.1 +faker==29.0.0 # via # -r requirements/validation.txt # factory-boy @@ -304,7 +304,7 @@ jsonschema-specifications==2023.12.1 # via # -r requirements/validation.txt # jsonschema -kombu==5.4.1 +kombu==5.4.2 # via # -r requirements/validation.txt # celery @@ -362,7 +362,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/validation.txt # pylint @@ -405,7 +405,7 @@ pyjwt[crypto]==2.9.0 # edx-drf-extensions # edx-rest-api-client # social-auth-core -pylint==3.2.7 +pylint==3.3.0 # via # -r requirements/validation.txt # edx-lint @@ -425,7 +425,7 @@ pylint-plugin-utils==0.8.2 # -r requirements/validation.txt # pylint-celery # pylint-django -pymongo==4.8.0 +pymongo==4.9.1 # via # -r requirements/validation.txt # edx-opaque-keys @@ -561,6 +561,7 @@ tzdata==2024.1 # via # -r requirements/validation.txt # celery + # kombu uritemplate==4.1.1 # via # -r requirements/validation.txt diff --git a/requirements/doc.txt b/requirements/doc.txt index f7756a80..61325b85 100644 --- a/requirements/doc.txt +++ b/requirements/doc.txt @@ -19,7 +19,7 @@ asgiref==3.8.1 # -r requirements/test.txt # django # django-cors-headers -astroid==3.2.4 +astroid==3.3.3 # via # -r requirements/test.txt # pylint @@ -39,15 +39,15 @@ backoff==1.10.0 # analytics-python beautifulsoup4==4.12.3 # via pydata-sphinx-theme -billiard==4.2.0 +billiard==4.2.1 # via # -r requirements/test.txt # celery -boto3==1.35.19 +boto3==1.35.24 # via # -r requirements/test.txt # django-ses -botocore==1.35.19 +botocore==1.35.24 # via # -r requirements/test.txt # boto3 @@ -250,7 +250,7 @@ edx-toggles==5.2.0 # via -r requirements/test.txt factory-boy==3.3.1 # via -r requirements/test.txt -faker==28.4.1 +faker==29.0.0 # via # -r requirements/test.txt # factory-boy @@ -296,7 +296,7 @@ jsonschema-specifications==2023.12.1 # via # -r requirements/test.txt # jsonschema -kombu==5.4.1 +kombu==5.4.2 # via # -r requirements/test.txt # celery @@ -335,7 +335,7 @@ pbr==6.1.0 # via # -r requirements/test.txt # stevedore -platformdirs==4.3.3 +platformdirs==4.3.6 # via # -r requirements/test.txt # pylint @@ -376,7 +376,7 @@ pyjwt[crypto]==2.9.0 # edx-drf-extensions # edx-rest-api-client # social-auth-core -pylint==3.2.7 +pylint==3.3.0 # via # -r requirements/test.txt # edx-lint @@ -396,7 +396,7 @@ pylint-plugin-utils==0.8.2 # -r requirements/test.txt # pylint-celery # pylint-django -pymongo==4.8.0 +pymongo==4.9.1 # via # -r requirements/test.txt # edx-opaque-keys @@ -545,6 +545,7 @@ tzdata==2024.1 # via # -r requirements/test.txt # celery + # kombu uritemplate==4.1.1 # via # -r requirements/test.txt diff --git a/requirements/pip.txt b/requirements/pip.txt index 15fc7c28..488d41f8 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/production.txt b/requirements/production.txt index 81fcb3ec..74132710 100644 --- a/requirements/production.txt +++ b/requirements/production.txt @@ -24,15 +24,15 @@ backoff==1.10.0 # via # -r requirements/base.txt # analytics-python -billiard==4.2.0 +billiard==4.2.1 # via # -r requirements/base.txt # celery -boto3==1.35.19 +boto3==1.35.24 # via # -r requirements/base.txt # django-ses -botocore==1.35.19 +botocore==1.35.24 # via # -r requirements/base.txt # boto3 @@ -205,7 +205,7 @@ edx-toggles==5.2.0 # via -r requirements/base.txt gevent==24.2.1 # via -r requirements/production.in -greenlet==3.1.0 +greenlet==3.1.1 # via gevent gunicorn==23.0.0 # via -r requirements/production.in @@ -238,7 +238,7 @@ jsonschema-specifications==2023.12.1 # via # -r requirements/base.txt # jsonschema -kombu==5.4.1 +kombu==5.4.2 # via # -r requirements/base.txt # celery @@ -293,7 +293,7 @@ pyjwt[crypto]==2.9.0 # social-auth-core pymemcache==4.0.0 # via -r requirements/production.in -pymongo==4.8.0 +pymongo==4.9.1 # via # -r requirements/base.txt # edx-opaque-keys @@ -399,6 +399,7 @@ tzdata==2024.1 # via # -r requirements/base.txt # celery + # kombu uritemplate==4.1.1 # via # -r requirements/base.txt diff --git a/requirements/quality.txt b/requirements/quality.txt index f3db7f88..49954a73 100644 --- a/requirements/quality.txt +++ b/requirements/quality.txt @@ -15,7 +15,7 @@ asgiref==3.8.1 # -r requirements/base.txt # django # django-cors-headers -astroid==3.2.4 +astroid==3.3.3 # via # pylint # pylint-celery @@ -28,15 +28,15 @@ backoff==1.10.0 # via # -r requirements/base.txt # analytics-python -billiard==4.2.0 +billiard==4.2.1 # via # -r requirements/base.txt # celery -boto3==1.35.19 +boto3==1.35.24 # via # -r requirements/base.txt # django-ses -botocore==1.35.19 +botocore==1.35.24 # via # -r requirements/base.txt # boto3 @@ -249,7 +249,7 @@ jsonschema-specifications==2023.12.1 # via # -r requirements/base.txt # jsonschema -kombu==5.4.1 +kombu==5.4.2 # via # -r requirements/base.txt # celery @@ -278,7 +278,7 @@ pbr==6.1.0 # via # -r requirements/base.txt # stevedore -platformdirs==4.3.3 +platformdirs==4.3.6 # via pylint ply==3.11 # via @@ -308,7 +308,7 @@ pyjwt[crypto]==2.9.0 # edx-drf-extensions # edx-rest-api-client # social-auth-core -pylint==3.2.7 +pylint==3.3.0 # via # edx-lint # pylint-celery @@ -322,7 +322,7 @@ pylint-plugin-utils==0.8.2 # via # pylint-celery # pylint-django -pymongo==4.8.0 +pymongo==4.9.1 # via # -r requirements/base.txt # edx-opaque-keys @@ -430,6 +430,7 @@ tzdata==2024.1 # via # -r requirements/base.txt # celery + # kombu uritemplate==4.1.1 # via # -r requirements/base.txt diff --git a/requirements/test.txt b/requirements/test.txt index fb49889f..7b4fda80 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -15,7 +15,7 @@ asgiref==3.8.1 # -r requirements/base.txt # django # django-cors-headers -astroid==3.2.4 +astroid==3.3.3 # via # pylint # pylint-celery @@ -28,15 +28,15 @@ backoff==1.10.0 # via # -r requirements/base.txt # analytics-python -billiard==4.2.0 +billiard==4.2.1 # via # -r requirements/base.txt # celery -boto3==1.35.19 +boto3==1.35.24 # via # -r requirements/base.txt # django-ses -botocore==1.35.19 +botocore==1.35.24 # via # -r requirements/base.txt # boto3 @@ -227,7 +227,7 @@ edx-toggles==5.2.0 # via -r requirements/base.txt factory-boy==3.3.1 # via -r requirements/test.in -faker==28.4.1 +faker==29.0.0 # via factory-boy freezegun==1.5.1 # via -r requirements/test.in @@ -264,7 +264,7 @@ jsonschema-specifications==2023.12.1 # via # -r requirements/base.txt # jsonschema -kombu==5.4.1 +kombu==5.4.2 # via # -r requirements/base.txt # celery @@ -295,7 +295,7 @@ pbr==6.1.0 # via # -r requirements/base.txt # stevedore -platformdirs==4.3.3 +platformdirs==4.3.6 # via pylint pluggy==1.5.0 # via pytest @@ -323,7 +323,7 @@ pyjwt[crypto]==2.9.0 # edx-drf-extensions # edx-rest-api-client # social-auth-core -pylint==3.2.7 +pylint==3.3.0 # via # edx-lint # pylint-celery @@ -337,7 +337,7 @@ pylint-plugin-utils==0.8.2 # via # pylint-celery # pylint-django -pymongo==4.8.0 +pymongo==4.9.1 # via # -r requirements/base.txt # edx-opaque-keys @@ -453,6 +453,7 @@ tzdata==2024.1 # via # -r requirements/base.txt # celery + # kombu uritemplate==4.1.1 # via # -r requirements/base.txt diff --git a/requirements/validation.txt b/requirements/validation.txt index b30b4b4e..e5ebaaec 100644 --- a/requirements/validation.txt +++ b/requirements/validation.txt @@ -19,7 +19,7 @@ asgiref==3.8.1 # -r requirements/test.txt # django # django-cors-headers -astroid==3.2.4 +astroid==3.3.3 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -36,17 +36,17 @@ backoff==1.10.0 # -r requirements/quality.txt # -r requirements/test.txt # analytics-python -billiard==4.2.0 +billiard==4.2.1 # via # -r requirements/quality.txt # -r requirements/test.txt # celery -boto3==1.35.19 +boto3==1.35.24 # via # -r requirements/quality.txt # -r requirements/test.txt # django-ses -botocore==1.35.19 +botocore==1.35.24 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -307,7 +307,7 @@ edx-toggles==5.2.0 # -r requirements/test.txt factory-boy==3.3.1 # via -r requirements/test.txt -faker==28.4.1 +faker==29.0.0 # via # -r requirements/test.txt # factory-boy @@ -358,7 +358,7 @@ jsonschema-specifications==2023.12.1 # -r requirements/quality.txt # -r requirements/test.txt # jsonschema -kombu==5.4.1 +kombu==5.4.2 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -414,7 +414,7 @@ pbr==6.1.0 # -r requirements/quality.txt # -r requirements/test.txt # stevedore -platformdirs==4.3.3 +platformdirs==4.3.6 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -458,7 +458,7 @@ pyjwt[crypto]==2.9.0 # edx-drf-extensions # edx-rest-api-client # social-auth-core -pylint==3.2.7 +pylint==3.3.0 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -482,7 +482,7 @@ pylint-plugin-utils==0.8.2 # -r requirements/test.txt # pylint-celery # pylint-django -pymongo==4.8.0 +pymongo==4.9.1 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -636,6 +636,7 @@ tzdata==2024.1 # -r requirements/quality.txt # -r requirements/test.txt # celery + # kombu uritemplate==4.1.1 # via # -r requirements/quality.txt From 3b39ff818888813a9ed75e788098ab4871d5a761 Mon Sep 17 00:00:00 2001 From: muhammad-ammar Date: Fri, 27 Sep 2024 15:23:51 +0500 Subject: [PATCH 2/2] chore: disable too-many-positional-arguments pylint rule --- pylintrc | 3 ++- pylintrc_tweaks | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pylintrc b/pylintrc index d857e0e4..fe450ac8 100644 --- a/pylintrc +++ b/pylintrc @@ -304,6 +304,7 @@ disable = no-member, useless-option-value, unknown-option-value, + too-many-positional-arguments, [REPORTS] output-format = text @@ -400,4 +401,4 @@ int-import-graph = [EXCEPTIONS] overgeneral-exceptions = builtins.Exception -# 2fe5a71dc9c880b7985a7eefc288cd0ada05602f +# fe60e0fc0935adda7e448a1daaa3ef3547352d92 diff --git a/pylintrc_tweaks b/pylintrc_tweaks index b3b778e4..514d4015 100644 --- a/pylintrc_tweaks +++ b/pylintrc_tweaks @@ -23,3 +23,4 @@ disable+ = no-member, useless-option-value, unknown-option-value, + too-many-positional-arguments,