From 146fe1322ebb936d68fce569302c18ecfe1936ba Mon Sep 17 00:00:00 2001 From: Muhammad Faraz Maqsood Date: Fri, 31 May 2024 16:02:49 +0500 Subject: [PATCH] refactor: address comments --- ecommerce/credit/tests/test_views.py | 3 + pylintrc_backup | 294 --------------------------- requirements/base.in | 2 - requirements/base.txt | 81 +------- requirements/constraints.txt | 2 +- requirements/dev.in | 5 +- requirements/dev.txt | 18 +- requirements/e2e.txt | 1 - requirements/production.in | 2 - requirements/production.txt | 83 +------- requirements/test.in | 1 - requirements/test.txt | 57 ++---- 12 files changed, 35 insertions(+), 514 deletions(-) delete mode 100644 pylintrc_backup diff --git a/ecommerce/credit/tests/test_views.py b/ecommerce/credit/tests/test_views.py index f34e0a85dd5..80b8595acc3 100644 --- a/ecommerce/credit/tests/test_views.py +++ b/ecommerce/credit/tests/test_views.py @@ -131,6 +131,9 @@ def _assert_success_checkout_page(self, sku=None): response = self.client.get(self.path) self.assertEqual(response.status_code, 200) if sys.version_info > (3, 9): + # assertDictContainsSubset is depreciated in python version>3.9 + # context.response return ContextList object, belwo statements will convert it to dict + # assertLessEqual method is used instead of depreciated assertDictContainsSubset method context = {} for i, ctx in enumerate(response.context): if isinstance(ctx, dict): diff --git a/pylintrc_backup b/pylintrc_backup deleted file mode 100644 index 7206c5f1f05..00000000000 --- a/pylintrc_backup +++ /dev/null @@ -1,294 +0,0 @@ -[MASTER] - -# Specify a configuration file. -#rcfile= - -# Python code to execute, usually for sys.path manipulation such as -# pygtk.require(). -#init-hook='' - -# Add files or directories to the blacklist. They should be base names, not -# paths. -ignore=CVS, migrations, settings, wsgi.py - -# Pickle collected data for later comparisons. -persistent=yes - -# List of plugins (as comma separated values of python modules names) to load, -# usually to register additional checkers. -load-plugins= - -[MESSAGES CONTROL] - -# Enable the message, report, category or checker with the given id(s). You can -# either give multiple identifier separated by comma (,) or put this option -# multiple time. -#enable= - -# Disable the message, report, category or checker with the given id(s). You -# can either give multiple identifier separated by comma (,) or put this option -# multiple time (only on the command line, not in the configuration file where -# it should appear only once). -disable= -# Never going to use these -# I0011: Locally disabling W0232 -# W0141: Used builtin function 'map' -# W0142: Used * or ** magic -# R0921: Abstract class not referenced -# R0922: Abstract class is only referenced 1 times - I0011,W0141,W0142,R0921,R0922, - -# Django makes classes that trigger these -# W0232: Class has no __init__ method - W0232, - -# Might use these when the code is in better shape -# C0302: Too many lines in module -# R0201: Method could be a function -# R0901: Too many ancestors -# R0902: Too many instance attributes -# R0903: Too few public methods (1/2) -# R0904: Too many public methods -# R0911: Too many return statements -# R0912: Too many branches -# R0913: Too many arguments -# R0914: Too many local variables - C0302,R0201,R0901,R0902,R0903,R0904,R0911,R0912,R0913,R0914, -# W0511: TODOs etc - W0511, -# E1103: maybe no member - E1103, -# C0111: missing docstring (handled by pep257) - C0111, - - duplicate-code, - -# New when we unpinned and jumped versions (pylint 2.4.4 -> 2.12.2) -# C0103: invalid-name -# C0201: consider-iterating-dictionary -# C0206: consider-using-dict-items -# C0209: consider-using-f-string -# R1725: super-with-arguments -# R1728: consider-using-generator -# R1729: use-a-generator -# R1734: use-list-literal -# W0237: arguments renamed -# W1310: format-string-without-interpolation -# W1406: redundant-u-string-prefix -# W1514: unspecified-encoding - - C0103,C0201,C0206,C0209,R1725,R1728,R1729,R1734,W0237,W1310,W1406,W1514 - -# We can decide if names are invalid on our own - invalid-name, - -# We use isort for import order, so we can ignore -# the pylint import errors, since they conflict at times. - wrong-import-order, - ungrouped-imports, - -[REPORTS] - -# Set the output format. Available formats are text, parseable, colorized, msvs -# (visual studio) and html -output-format=text - -# Put messages in a separate file for each module / package specified on the -# command line instead of printing them on stdout. Reports (if any) will be -# written in a file name "pylint_global.[txt|html]". -files-output=no - -# Tells whether to display a full report or only the messages -reports=no - -# Python expression which should return a note less than 10 (10 is the highest -# note). You have access to the variables errors warning, statement which -# respectively contain the number of errors / warnings messages and the total -# number of statements analyzed. This is used by the global evaluation report -# (RP0004). -evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10) - -[TYPECHECK] - -# Tells whether missing members accessed in mixin class should be ignored. A -# mixin class is detected if its name ends with "mixin" (case insensitive). -ignore-mixin-members=yes - -# List of classes names for which member attributes should not be checked -# (useful for classes with attributes dynamically set). -ignored-classes=SQLObject - -# List of members which are set dynamically and missed by pylint inference -# system, and so shouldn't trigger E0201 when accessed. Python regular -# expressions are accepted. -generated-members= - REQUEST, - acl_users, - aq_parent, - objects, - DoesNotExist, - can_read, - can_write, - get_url, - size, - content, - status_code, -# For factory_boy factories - create - - -[BASIC] - -# List of builtins function names that should not be used, separated by a comma -bad-functions=map,filter,apply,input - -# Regular expression which should only match correct module names -module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$ - -# Regular expression which should only match correct module level names -const-rgx=(([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$ - -# Regular expression which should only match correct class names -class-rgx=[A-Z_][a-zA-Z0-9]+$ - -# Regular expression which should only match correct function names -function-rgx=[a-z_][a-z0-9_]{2,30}$ - -# Regular expression which should only match correct method names -method-rgx=([a-z_][a-z0-9_]{2,60}|setUp|set[Uu]pClass|tearDown|tear[Dd]ownClass|assert[A-Z]\w*)$ - -# Regular expression which should only match correct instance attribute names -attr-rgx=[a-z_][a-z0-9_]{2,30}$ - -# Regular expression which should only match correct argument names -argument-rgx=[a-z_][a-z0-9_]{2,30}$ - -# Regular expression which should only match correct variable names -variable-rgx=[a-z_][a-z0-9_]{2,30}$ - -# Regular expression which should only match correct list comprehension / -# generator expression variable names -inlinevar-rgx=[A-Za-z_][A-Za-z0-9_]*$ - -# Good variable names which should always be accepted, separated by a comma -good-names=i,j,k,ex,Run,_ - -# Bad variable names which should always be refused, separated by a comma -bad-names=foo,bar,baz,toto,tutu,tata - -# Regular expression which should only match functions or classes name which do -# not require a docstring -no-docstring-rgx=__.*__|test_.*|setUp|tearDown - - -[MISCELLANEOUS] - -# List of note tags to take in consideration, separated by a comma. -notes=FIXME,XXX,TODO - - -[FORMAT] - -# Maximum number of characters on a single line. -max-line-length=120 - -# Maximum number of lines in a module -max-module-lines=1000 - -# String used as indentation unit. This is usually " " (4 spaces) or "\t" (1 -# tab). -indent-string=' ' - - -[SIMILARITIES] - -# Minimum lines number of a similarity. -min-similarity-lines=4 - -# Ignore comments when computing similarities. -ignore-comments=yes - -# Ignore docstrings when computing similarities. -ignore-docstrings=yes - - -[VARIABLES] - -# Tells whether we should check for unused import in __init__ files. -init-import=no - -# A regular expression matching the beginning of the name of dummy variables -# (i.e. not used). -dummy-variables-rgx=_|dummy|unused|.*_unused - -# List of additional names supposed to be defined in builtins. Remember that -# you should avoid to define new builtins when possible. -additional-builtins= - - -[IMPORTS] - -# Deprecated modules which should not be used, separated by a comma -deprecated-modules=regsub,TERMIOS,Bastion,rexec - -# Create a graph of every (i.e. internal and external) dependencies in the -# given file (report RP0402 must not be disabled) -import-graph= - -# Create a graph of external dependencies in the given file (report RP0402 must -# not be disabled) -ext-import-graph= - -# Create a graph of internal dependencies in the given file (report RP0402 must -# not be disabled) -int-import-graph= - - -[DESIGN] - -# Maximum number of arguments for function / method -max-args=5 - -# Argument names that match this expression will be ignored. Default to name -# with leading underscore -ignored-argument-names=_.* - -# Maximum number of locals for function / method body -max-locals=15 - -# Maximum number of return / yield for function / method body -max-returns=6 - -# Maximum number of branch for function / method body -max-branchs=12 - -# Maximum number of statements in function / method body -max-statements=50 - -# Maximum number of parents for a class (see R0901). -max-parents=7 - -# Maximum number of attributes for a class (see R0902). -max-attributes=7 - -# Minimum number of public methods for a class (see R0903). -min-public-methods=2 - -# Maximum number of public methods for a class (see R0904). -max-public-methods=20 - - -[CLASSES] - -# List of method names used to declare (i.e. assign) instance attributes. -defining-attr-methods=__init__,__new__,setUp - -# List of valid names for the first argument in a class method. -valid-classmethod-first-arg=cls - - -[EXCEPTIONS] - -# Exceptions that will emit a warning when being caught. Defaults to -# "Exception" -overgeneral-exceptions=Exception diff --git a/requirements/base.in b/requirements/base.in index 16c4826fcf9..590ea2ff4cd 100755 --- a/requirements/base.in +++ b/requirements/base.in @@ -31,7 +31,6 @@ edx-django-utils edx-drf-extensions>=8.13.0 # 8.13 fixes forgiven JWTs for ecommerce edx-django-sites-extensions edx-ecommerce-worker -edx-lint edx-opaque-keys edx-rbac edx-rest-api-client @@ -47,7 +46,6 @@ markdown==3.4.3 mysqlclient newrelic ndg-httpsclient -needle openedx-atlas path.py==7.2 paypalrestsdk diff --git a/requirements/base.txt b/requirements/base.txt index 4f1435dd396..9115b7580fa 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -20,11 +20,6 @@ asgiref==3.8.1 # django-cors-headers asn1crypto==1.5.1 # via cybersource-rest-client-python -astroid==3.2.2 - # via - # -c requirements/constraints.txt - # pylint - # pylint-celery async-timeout==4.0.3 # via # aiohttp @@ -53,9 +48,9 @@ billiard==4.2.0 # via celery bleach==6.1.0 # via -r requirements/base.in -boto3==1.34.115 +boto3==1.34.116 # via -r requirements/base.in -botocore==1.34.115 +botocore==1.34.116 # via # boto3 # s3transfer @@ -83,22 +78,15 @@ click==8.1.7 # via # celery # click-didyoumean - # click-log # click-plugins # click-repl - # code-annotations # edx-django-utils - # edx-lint click-didyoumean==0.3.1 # via celery -click-log==0.4.0 - # via edx-lint click-plugins==1.1.1 # via celery click-repl==0.3.0 # via celery -code-annotations==1.8.0 - # via edx-lint configparser==7.0.0 # via cybersource-rest-client-python coreapi==2.3.3 @@ -133,8 +121,6 @@ defusedxml==0.8.0rc2 # via # python3-openid # social-auth-core -dill==0.3.8 - # via pylint django==3.2.25 # via # -c requirements/common_constraints.txt @@ -267,10 +253,6 @@ edx-drf-extensions==10.3.0 # edx-rbac edx-ecommerce-worker==3.3.4 # via -r requirements/base.in -edx-lint==5.3.6 - # via - # -c requirements/constraints.txt - # -r requirements/base.in edx-opaque-keys==2.9.0 # via # -r requirements/base.in @@ -342,14 +324,10 @@ iso8601==2.1.0 # via python-subunit isodate==0.6.1 # via zeep -isort==5.13.2 - # via pylint itypes==1.2.0 # via coreapi jinja2==3.1.4 - # via - # code-annotations - # coreschema + # via coreschema jmespath==1.0.1 # via # boto3 @@ -386,8 +364,6 @@ markdown==3.4.3 # via -r requirements/base.in markupsafe==2.1.5 # via jinja2 -mccabe==0.7.0 - # via pylint monotonic==1.6 # via analytics-python multidict==6.0.5 @@ -402,18 +378,12 @@ naked==0.1.32 # cybersource-rest-client-python ndg-httpsclient==0.5.1 # via -r requirements/base.in -needle==0.5.0 - # via - # -c requirements/constraints.txt - # -r requirements/base.in newrelic==9.10.0 # via # -r requirements/base.in # edx-django-utils nose==1.3.7 - # via - # cybersource-rest-client-python - # needle + # via cybersource-rest-client-python oauth2client==4.1.3 # via inapppy oauthlib==3.2.2 @@ -441,15 +411,11 @@ pbr==6.0.0 phonenumbers==8.13.37 # via django-oscar pillow==10.3.0 - # via - # django-oscar - # needle + # via django-oscar pkgutil-resolve-name==1.3.10 # via jsonschema platformdirs==4.2.2 - # via - # pylint - # zeep + # via zeep premailer==2.9.2 # via -r requirements/base.in prompt-toolkit==3.0.45 @@ -499,21 +465,6 @@ pyjwt[crypto]==2.8.0 # edx-drf-extensions # edx-rest-api-client # social-auth-core -pylint==3.2.2 - # via - # -c requirements/constraints.txt - # edx-lint - # pylint-celery - # pylint-django - # pylint-plugin-utils -pylint-celery==0.3 - # via edx-lint -pylint-django==2.5.5 - # via edx-lint -pylint-plugin-utils==0.8.2 - # via - # pylint-celery - # pylint-django pymongo==4.4.0 # via edx-opaque-keys pynacl==1.5.0 @@ -540,8 +491,6 @@ python-dateutil==2.9.0.post0 # faker python-mimeparse==1.6.0 # via cybersource-rest-client-python -python-slugify==8.0.4 - # via code-annotations python-subunit==1.4.4 # via cybersource-rest-client-python python-toolbox==1.0.11 @@ -563,7 +512,6 @@ pytz==2024.1 # zeep pyyaml==6.0.1 # via - # code-annotations # cybersource-rest-client-python # drf-yasg # edx-django-release-util @@ -620,10 +568,6 @@ rules==3.4 # via -r requirements/base.in s3transfer==0.10.1 # via boto3 -selenium==3.141.0 - # via - # -c requirements/constraints.txt - # needle semantic-version==2.10.0 # via edx-drf-extensions shellescape==3.8.1 @@ -640,7 +584,6 @@ six==1.16.0 # edx-auth-backends # edx-django-release-util # edx-ecommerce-worker - # edx-lint # edx-rbac # isodate # oauth2client @@ -664,21 +607,14 @@ sqlparse==0.5.0 # via django stevedore==5.2.0 # via - # code-annotations # edx-django-utils # edx-opaque-keys -stripe==9.8.0 +stripe==9.9.0 # via -r requirements/base.in testtools==2.7.1 # via # cybersource-rest-client-python # python-subunit -text-unidecode==1.3 - # via python-slugify -tomli==2.0.1 - # via pylint -tomlkit==0.12.5 - # via pylint traceback2==1.4.0 # via cybersource-rest-client-python typing==3.7.4.3 @@ -686,10 +622,8 @@ typing==3.7.4.3 typing-extensions==4.12.0 # via # asgiref - # astroid # edx-opaque-keys # kombu - # pylint # stripe tzdata==2024.1 # via @@ -708,7 +642,6 @@ urllib3==1.26.18 # botocore # cybersource-rest-client-python # requests - # selenium vine==5.1.0 # via # amqp diff --git a/requirements/constraints.txt b/requirements/constraints.txt index 69ef8600885..ce68ff7c013 100644 --- a/requirements/constraints.txt +++ b/requirements/constraints.txt @@ -44,11 +44,11 @@ social-auth-app-django==5.2.0 selenium<=4 pytest-selenium==3.0.0 pytest-variables==1.9.0 -needle==0.5.0 requests==2.32.2 pylint==3.2.2 edx-lint==5.3.6 +# other versions of astroid has conflicts with pylint astroid==3.2.2 # backports-zoneinfo comes by-default in newer versions of python diff --git a/requirements/dev.in b/requirements/dev.in index cc864c661af..6a81372cbe7 100644 --- a/requirements/dev.in +++ b/requirements/dev.in @@ -2,7 +2,6 @@ -r docs.txt django-debug-toolbar -needle # i18n # newer version of transifex-client doesn't work with python3.12.2 transifex-client==0.12.5 @@ -11,6 +10,4 @@ transifex-client==0.12.5 ptvsd # For devserver code reloading -pywatchman -astroid==3.2.2 -edx-lint \ No newline at end of file +pywatchman \ No newline at end of file diff --git a/requirements/dev.txt b/requirements/dev.txt index 0f861f45694..0dc463448f9 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -39,7 +39,6 @@ asn1crypto==1.5.1 # cybersource-rest-client-python astroid==3.2.2 # via - # -r requirements/dev.in # -r requirements/test.txt # pylint # pylint-celery @@ -90,9 +89,9 @@ billiard==4.2.0 # celery bleach==6.1.0 # via -r requirements/test.txt -boto3==1.34.115 +boto3==1.34.116 # via -r requirements/test.txt -botocore==1.34.115 +botocore==1.34.116 # via # -r requirements/test.txt # boto3 @@ -384,9 +383,7 @@ edx-ecommerce-worker==3.3.4 edx-i18n-tools==1.6.0 # via -r requirements/test.txt edx-lint==5.3.6 - # via - # -r requirements/dev.in - # -r requirements/test.txt + # via -r requirements/test.txt edx-opaque-keys==2.9.0 # via # -r requirements/test.txt @@ -602,10 +599,6 @@ naked==0.1.32 # cybersource-rest-client-python ndg-httpsclient==0.5.1 # via -r requirements/test.txt -needle==0.5.0 - # via - # -r requirements/dev.in - # -r requirements/test.txt newrelic==9.10.0 # via # -r requirements/test.txt @@ -614,7 +607,6 @@ nose==1.3.7 # via # -r requirements/test.txt # cybersource-rest-client-python - # needle oauth2client==4.1.3 # via # -r requirements/test.txt @@ -663,7 +655,6 @@ pillow==10.3.0 # via # -r requirements/test.txt # django-oscar - # needle pkgutil-resolve-name==1.3.10 # via # -r requirements/test.txt @@ -990,7 +981,6 @@ s3transfer==0.10.1 selenium==3.141.0 # via # -r requirements/test.txt - # needle # pytest-selenium semantic-version==2.10.0 # via @@ -1090,7 +1080,7 @@ stevedore==5.2.0 # code-annotations # edx-django-utils # edx-opaque-keys -stripe==9.8.0 +stripe==9.9.0 # via -r requirements/test.txt tenacity==6.3.1 # via diff --git a/requirements/e2e.txt b/requirements/e2e.txt index 115c342830d..954612d6bde 100644 --- a/requirements/e2e.txt +++ b/requirements/e2e.txt @@ -151,7 +151,6 @@ requests==2.32.2 # slumber selenium==3.141.0 # via - # -c requirements/base.txt # -c requirements/constraints.txt # -r requirements/e2e.in # pytest-selenium diff --git a/requirements/production.in b/requirements/production.in index 2fa07274608..c485b80a968 100644 --- a/requirements/production.in +++ b/requirements/production.in @@ -3,9 +3,7 @@ -r base.in django-ses -edx-lint gunicorn==19.7.1 -needle newrelic python-memcached==1.59 PyYAML diff --git a/requirements/production.txt b/requirements/production.txt index 5bc6a72f5f2..e2893e26721 100644 --- a/requirements/production.txt +++ b/requirements/production.txt @@ -20,11 +20,6 @@ asgiref==3.8.1 # django-cors-headers asn1crypto==1.5.1 # via cybersource-rest-client-python -astroid==3.2.2 - # via - # -c requirements/constraints.txt - # pylint - # pylint-celery async-timeout==4.0.3 # via # aiohttp @@ -53,11 +48,11 @@ billiard==4.2.0 # via celery bleach==6.1.0 # via -r requirements/base.in -boto3==1.34.115 +boto3==1.34.116 # via # -r requirements/base.in # django-ses -botocore==1.34.115 +botocore==1.34.116 # via # boto3 # s3transfer @@ -85,22 +80,15 @@ click==8.1.7 # via # celery # click-didyoumean - # click-log # click-plugins # click-repl - # code-annotations # edx-django-utils - # edx-lint click-didyoumean==0.3.1 # via celery -click-log==0.4.0 - # via edx-lint click-plugins==1.1.1 # via celery click-repl==0.3.0 # via celery -code-annotations==1.8.0 - # via edx-lint configparser==7.0.0 # via cybersource-rest-client-python coreapi==2.3.3 @@ -135,8 +123,6 @@ defusedxml==0.8.0rc2 # via # python3-openid # social-auth-core -dill==0.3.8 - # via pylint django==3.2.25 # via # -c requirements/common_constraints.txt @@ -272,11 +258,6 @@ edx-drf-extensions==10.3.0 # edx-rbac edx-ecommerce-worker==3.3.4 # via -r requirements/base.in -edx-lint==5.3.6 - # via - # -c requirements/constraints.txt - # -r requirements/base.in - # -r requirements/production.in edx-opaque-keys==2.9.0 # via # -r requirements/base.in @@ -350,14 +331,10 @@ iso8601==2.1.0 # via python-subunit isodate==0.6.1 # via zeep -isort==5.13.2 - # via pylint itypes==1.2.0 # via coreapi jinja2==3.1.4 - # via - # code-annotations - # coreschema + # via coreschema jmespath==1.0.1 # via # boto3 @@ -394,8 +371,6 @@ markdown==3.4.3 # via -r requirements/base.in markupsafe==2.1.5 # via jinja2 -mccabe==0.7.0 - # via pylint monotonic==1.6 # via analytics-python multidict==6.0.5 @@ -410,11 +385,6 @@ naked==0.1.32 # cybersource-rest-client-python ndg-httpsclient==0.5.1 # via -r requirements/base.in -needle==0.5.0 - # via - # -c requirements/constraints.txt - # -r requirements/base.in - # -r requirements/production.in newrelic==9.10.0 # via # -r requirements/base.in @@ -423,9 +393,7 @@ newrelic==9.10.0 nodeenv==1.1.1 # via -r requirements/production.in nose==1.3.7 - # via - # cybersource-rest-client-python - # needle + # via cybersource-rest-client-python oauth2client==4.1.3 # via inapppy oauthlib==3.2.2 @@ -453,15 +421,11 @@ pbr==6.0.0 phonenumbers==8.13.37 # via django-oscar pillow==10.3.0 - # via - # django-oscar - # needle + # via django-oscar pkgutil-resolve-name==1.3.10 # via jsonschema platformdirs==4.2.2 - # via - # pylint - # zeep + # via zeep premailer==2.9.2 # via -r requirements/base.in prompt-toolkit==3.0.45 @@ -511,21 +475,6 @@ pyjwt[crypto]==2.8.0 # edx-drf-extensions # edx-rest-api-client # social-auth-core -pylint==3.2.2 - # via - # -c requirements/constraints.txt - # edx-lint - # pylint-celery - # pylint-django - # pylint-plugin-utils -pylint-celery==0.3 - # via edx-lint -pylint-django==2.5.5 - # via edx-lint -pylint-plugin-utils==0.8.2 - # via - # pylint-celery - # pylint-django pymongo==4.4.0 # via edx-opaque-keys pynacl==1.5.0 @@ -554,8 +503,6 @@ python-memcached==1.59 # via -r requirements/production.in python-mimeparse==1.6.0 # via cybersource-rest-client-python -python-slugify==8.0.4 - # via code-annotations python-subunit==1.4.4 # via cybersource-rest-client-python python-toolbox==1.0.11 @@ -579,7 +526,6 @@ pytz==2024.1 pyyaml==6.0.1 # via # -r requirements/production.in - # code-annotations # cybersource-rest-client-python # drf-yasg # edx-django-release-util @@ -638,10 +584,6 @@ rules==3.4 # via -r requirements/base.in s3transfer==0.10.1 # via boto3 -selenium==3.141.0 - # via - # -c requirements/constraints.txt - # needle semantic-version==2.10.0 # via edx-drf-extensions shellescape==3.8.1 @@ -658,7 +600,6 @@ six==1.16.0 # edx-auth-backends # edx-django-release-util # edx-ecommerce-worker - # edx-lint # edx-rbac # isodate # oauth2client @@ -683,21 +624,14 @@ sqlparse==0.5.0 # via django stevedore==5.2.0 # via - # code-annotations # edx-django-utils # edx-opaque-keys -stripe==9.8.0 +stripe==9.9.0 # via -r requirements/base.in testtools==2.7.1 # via # cybersource-rest-client-python # python-subunit -text-unidecode==1.3 - # via python-slugify -tomli==2.0.1 - # via pylint -tomlkit==0.12.5 - # via pylint traceback2==1.4.0 # via cybersource-rest-client-python typing==3.7.4.3 @@ -705,10 +639,8 @@ typing==3.7.4.3 typing-extensions==4.12.0 # via # asgiref - # astroid # edx-opaque-keys # kombu - # pylint # stripe tzdata==2024.1 # via @@ -727,7 +659,6 @@ urllib3==1.26.18 # botocore # cybersource-rest-client-python # requests - # selenium vine==5.1.0 # via # amqp diff --git a/requirements/test.in b/requirements/test.in index 6b7a81f6a2d..2eb8017350c 100644 --- a/requirements/test.in +++ b/requirements/test.in @@ -3,7 +3,6 @@ -r e2e.txt # required for quality -r tox.txt -astroid==3.2.2 coverage ddt diff-cover diff --git a/requirements/test.txt b/requirements/test.txt index 01769d0fa6d..3ca96f23599 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -33,8 +33,6 @@ asn1crypto==1.5.1 astroid==3.2.2 # via # -c requirements/constraints.txt - # -r requirements/base.txt - # -r requirements/test.in # pylint # pylint-celery async-timeout==4.0.3 @@ -79,9 +77,9 @@ billiard==4.2.0 # celery bleach==6.1.0 # via -r requirements/base.txt -boto3==1.34.115 +boto3==1.34.116 # via -r requirements/base.txt -botocore==1.34.115 +botocore==1.34.116 # via # -r requirements/base.txt # boto3 @@ -136,9 +134,7 @@ click-didyoumean==0.3.1 # -r requirements/base.txt # celery click-log==0.4.0 - # via - # -r requirements/base.txt - # edx-lint + # via edx-lint click-plugins==1.1.1 # via # -r requirements/base.txt @@ -148,9 +144,7 @@ click-repl==0.3.0 # -r requirements/base.txt # celery code-annotations==1.8.0 - # via - # -r requirements/base.txt - # edx-lint + # via edx-lint configparser==7.0.0 # via # -r requirements/base.txt @@ -208,9 +202,7 @@ defusedxml==0.8.0rc2 diff-cover==9.0.0 # via -r requirements/test.in dill==0.3.8 - # via - # -r requirements/base.txt - # pylint + # via pylint distlib==0.3.8 # via # -r requirements/tox.txt @@ -381,7 +373,6 @@ edx-i18n-tools==1.6.0 edx-lint==5.3.6 # via # -c requirements/constraints.txt - # -r requirements/base.txt # -r requirements/test.in edx-opaque-keys==2.9.0 # via @@ -508,7 +499,6 @@ isodate==0.6.1 # zeep isort==5.13.2 # via - # -r requirements/base.txt # -r requirements/test.in # pylint itypes==1.2.0 @@ -574,9 +564,7 @@ markupsafe==2.1.5 # -r requirements/base.txt # jinja2 mccabe==0.7.0 - # via - # -r requirements/base.txt - # pylint + # via pylint mock==5.1.0 # via -r requirements/test.in monotonic==1.6 @@ -597,10 +585,6 @@ naked==0.1.32 # cybersource-rest-client-python ndg-httpsclient==0.5.1 # via -r requirements/base.txt -needle==0.5.0 - # via - # -c requirements/constraints.txt - # -r requirements/base.txt newrelic==9.10.0 # via # -r requirements/base.txt @@ -610,7 +594,6 @@ nose==1.3.7 # via # -r requirements/base.txt # cybersource-rest-client-python - # needle oauth2client==4.1.3 # via # -r requirements/base.txt @@ -657,7 +640,6 @@ pillow==10.3.0 # via # -r requirements/base.txt # django-oscar - # needle pkgutil-resolve-name==1.3.10 # via # -r requirements/base.txt @@ -766,23 +748,17 @@ pyjwt[crypto]==2.8.0 pylint==3.2.2 # via # -c requirements/constraints.txt - # -r requirements/base.txt # -r requirements/test.in # edx-lint # pylint-celery # pylint-django # pylint-plugin-utils pylint-celery==0.3 - # via - # -r requirements/base.txt - # edx-lint + # via edx-lint pylint-django==2.5.5 - # via - # -r requirements/base.txt - # edx-lint + # via edx-lint pylint-plugin-utils==0.8.2 # via - # -r requirements/base.txt # pylint-celery # pylint-django pymongo==4.4.0 @@ -870,9 +846,7 @@ python-mimeparse==1.6.0 # -r requirements/base.txt # cybersource-rest-client-python python-slugify==8.0.4 - # via - # -r requirements/base.txt - # code-annotations + # via code-annotations python-subunit==1.4.4 # via # -r requirements/base.txt @@ -985,10 +959,8 @@ s3transfer==0.10.1 selenium==3.141.0 # via # -c requirements/constraints.txt - # -r requirements/base.txt # -r requirements/e2e.txt # -r requirements/test.in - # needle # pytest-selenium semantic-version==2.10.0 # via @@ -1054,7 +1026,7 @@ stevedore==5.2.0 # code-annotations # edx-django-utils # edx-opaque-keys -stripe==9.8.0 +stripe==9.9.0 # via -r requirements/base.txt tenacity==6.3.1 # via @@ -1068,9 +1040,7 @@ testtools==2.7.1 # cybersource-rest-client-python # python-subunit text-unidecode==1.3 - # via - # -r requirements/base.txt - # python-slugify + # via python-slugify toml==0.10.2 # via # -r requirements/e2e.txt @@ -1079,13 +1049,10 @@ toml==0.10.2 # tox tomli==2.0.1 # via - # -r requirements/base.txt # coverage # pylint tomlkit==0.12.5 - # via - # -r requirements/base.txt - # pylint + # via pylint tox==3.14.6 # via # -c requirements/constraints.txt