Skip to content

Commit

Permalink
fix: fixing mypy issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mfarhan943 committed Oct 17, 2024
1 parent ecbedbc commit 20794ca
Show file tree
Hide file tree
Showing 10 changed files with 60 additions and 55 deletions.
4 changes: 4 additions & 0 deletions requirements/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@ markdown<3.4.0
# Issue for unpinning: https://github.com/openedx/edx-platform/issues/35270
moto<5.0

# Date: 2024-10-17
# testing job
mypy==1.11.2

# Date: 2024-07-16
# We need to upgrade the version of elasticsearch to atleast 7.15 before we can upgrade to Numpy 2.0.0
# Otherwise we see a failure while running the following command:
Expand Down
2 changes: 1 addition & 1 deletion requirements/edx-sandbox/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ openedx-calc==3.1.2
# via -r requirements/edx-sandbox/base.in
packaging==24.1
# via matplotlib
pillow==10.4.0
pillow==11.0.0
# via matplotlib
pycparser==2.22
# via cffi
Expand Down
16 changes: 8 additions & 8 deletions requirements/edx/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,13 @@ bleach[css]==6.1.0
# xblock-poll
boto==2.49.0
# via -r requirements/edx/kernel.in
boto3==1.35.40
boto3==1.35.42
# via
# -r requirements/edx/kernel.in
# django-ses
# fs-s3fs
# ora2
botocore==1.35.40
botocore==1.35.42
# via
# -r requirements/edx/kernel.in
# boto3
Expand Down Expand Up @@ -438,7 +438,7 @@ edx-django-release-util==1.4.0
# edxval
edx-django-sites-extensions==4.2.0
# via -r requirements/edx/kernel.in
edx-django-utils==6.0.0
edx-django-utils==6.1.0
# via
# -r requirements/edx/kernel.in
# django-config-models
Expand Down Expand Up @@ -621,11 +621,11 @@ googleapis-common-protos==1.65.0
# via
# google-api-core
# grpcio-status
grpcio==1.66.2
grpcio==1.67.0
# via
# google-api-core
# grpcio-status
grpcio-status==1.66.2
grpcio-status==1.67.0
# via google-api-core
gunicorn==23.0.0
# via -r requirements/edx/kernel.in
Expand Down Expand Up @@ -769,7 +769,7 @@ multidict==6.1.0
# yarl
mysqlclient==2.2.4
# via -r requirements/edx/kernel.in
newrelic==10.1.0
newrelic==10.2.0
# via
# -r requirements/edx/bundled.in
# edx-django-utils
Expand Down Expand Up @@ -869,7 +869,7 @@ pgpy==0.6.0
# via edx-enterprise
piexif==1.1.3
# via -r requirements/edx/kernel.in
pillow==10.4.0
pillow==11.0.0
# via
# -r requirements/edx/kernel.in
# edx-enterprise
Expand Down Expand Up @@ -1292,7 +1292,7 @@ xmlsec==1.3.13
# python3-saml
xss-utils==0.6.0
# via -r requirements/edx/kernel.in
yarl==1.15.2
yarl==1.15.4
# via aiohttp
zipp==3.20.2
# via importlib-metadata
Expand Down
27 changes: 14 additions & 13 deletions requirements/edx/development.txt
Original file line number Diff line number Diff line change
Expand Up @@ -140,14 +140,14 @@ boto==2.49.0
# via
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
boto3==1.35.40
boto3==1.35.42
# via
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
# django-ses
# fs-s3fs
# ora2
botocore==1.35.40
botocore==1.35.42
# via
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
Expand Down Expand Up @@ -710,7 +710,7 @@ edx-django-sites-extensions==4.2.0
# via
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
edx-django-utils==6.0.0
edx-django-utils==6.1.0
# via
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
Expand Down Expand Up @@ -879,7 +879,7 @@ execnet==2.1.1
# pytest-xdist
factory-boy==3.3.1
# via -r requirements/edx/testing.txt
faker==30.3.0
faker==30.6.0
# via
# -r requirements/edx/testing.txt
# factory-boy
Expand Down Expand Up @@ -1009,13 +1009,13 @@ grimp==3.5
# via
# -r requirements/edx/testing.txt
# import-linter
grpcio==1.66.2
grpcio==1.67.0
# via
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
# google-api-core
# grpcio-status
grpcio-status==1.66.2
grpcio-status==1.67.0
# via
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
Expand Down Expand Up @@ -1279,8 +1279,9 @@ multidict==6.1.0
# -r requirements/edx/testing.txt
# aiohttp
# yarl
mypy==1.12.0
mypy==1.11.2
# via
# -c requirements/edx/../constraints.txt
# -r requirements/edx/development.in
# django-stubs
# djangorestframework-stubs
Expand All @@ -1290,7 +1291,7 @@ mysqlclient==2.2.4
# via
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
newrelic==10.1.0
newrelic==10.2.0
# via
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
Expand Down Expand Up @@ -1455,7 +1456,7 @@ piexif==1.1.3
# via
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
pillow==10.4.0
pillow==11.0.0
# via
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
Expand Down Expand Up @@ -2052,7 +2053,7 @@ staff-graded-xblock==2.3.0
# via
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
starlette==0.39.2
starlette==0.40.0
# via
# -r requirements/edx/testing.txt
# fastapi
Expand Down Expand Up @@ -2098,7 +2099,7 @@ tomlkit==0.13.2
# -r requirements/edx/testing.txt
# pylint
# snowflake-connector-python
tox==4.21.2
tox==4.23.0
# via -r requirements/edx/testing.txt
tqdm==4.66.5
# via
Expand Down Expand Up @@ -2170,7 +2171,7 @@ user-util==1.1.0
# via
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
uvicorn==0.31.1
uvicorn==0.32.0
# via
# -r requirements/edx/testing.txt
# pact-python
Expand Down Expand Up @@ -2281,7 +2282,7 @@ xss-utils==0.6.0
# via
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
yarl==1.15.2
yarl==1.15.4
# via
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
Expand Down
16 changes: 8 additions & 8 deletions requirements/edx/doc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,13 @@ bleach[css]==6.1.0
# xblock-poll
boto==2.49.0
# via -r requirements/edx/base.txt
boto3==1.35.40
boto3==1.35.42
# via
# -r requirements/edx/base.txt
# django-ses
# fs-s3fs
# ora2
botocore==1.35.40
botocore==1.35.42
# via
# -r requirements/edx/base.txt
# boto3
Expand Down Expand Up @@ -518,7 +518,7 @@ edx-django-release-util==1.4.0
# edxval
edx-django-sites-extensions==4.2.0
# via -r requirements/edx/base.txt
edx-django-utils==6.0.0
edx-django-utils==6.1.0
# via
# -r requirements/edx/base.txt
# django-config-models
Expand Down Expand Up @@ -735,12 +735,12 @@ googleapis-common-protos==1.65.0
# -r requirements/edx/base.txt
# google-api-core
# grpcio-status
grpcio==1.66.2
grpcio==1.67.0
# via
# -r requirements/edx/base.txt
# google-api-core
# grpcio-status
grpcio-status==1.66.2
grpcio-status==1.67.0
# via
# -r requirements/edx/base.txt
# google-api-core
Expand Down Expand Up @@ -923,7 +923,7 @@ multidict==6.1.0
# yarl
mysqlclient==2.2.4
# via -r requirements/edx/base.txt
newrelic==10.1.0
newrelic==10.2.0
# via
# -r requirements/edx/base.txt
# edx-django-utils
Expand Down Expand Up @@ -1039,7 +1039,7 @@ picobox==4.0.0
# via sphinxcontrib-openapi
piexif==1.1.3
# via -r requirements/edx/base.txt
pillow==10.4.0
pillow==11.0.0
# via
# -r requirements/edx/base.txt
# edx-enterprise
Expand Down Expand Up @@ -1586,7 +1586,7 @@ xmlsec==1.3.13
# python3-saml
xss-utils==0.6.0
# via -r requirements/edx/base.txt
yarl==1.15.2
yarl==1.15.4
# via
# -r requirements/edx/base.txt
# aiohttp
Expand Down
2 changes: 1 addition & 1 deletion requirements/edx/semgrep.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ mdurl==0.1.2
# via markdown-it-py
packaging==24.1
# via semgrep
peewee==3.17.6
peewee==3.17.7
# via semgrep
pygments==2.18.0
# via rich
Expand Down
24 changes: 12 additions & 12 deletions requirements/edx/testing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,13 @@ bleach[css]==6.1.0
# xblock-poll
boto==2.49.0
# via -r requirements/edx/base.txt
boto3==1.35.40
boto3==1.35.42
# via
# -r requirements/edx/base.txt
# django-ses
# fs-s3fs
# ora2
botocore==1.35.40
botocore==1.35.42
# via
# -r requirements/edx/base.txt
# boto3
Expand Down Expand Up @@ -542,7 +542,7 @@ edx-django-release-util==1.4.0
# edxval
edx-django-sites-extensions==4.2.0
# via -r requirements/edx/base.txt
edx-django-utils==6.0.0
edx-django-utils==6.1.0
# via
# -r requirements/edx/base.txt
# django-config-models
Expand Down Expand Up @@ -674,7 +674,7 @@ execnet==2.1.1
# via pytest-xdist
factory-boy==3.3.1
# via -r requirements/edx/testing.in
faker==30.3.0
faker==30.6.0
# via factory-boy
fastapi==0.115.2
# via pact-python
Expand Down Expand Up @@ -771,12 +771,12 @@ googleapis-common-protos==1.65.0
# grpcio-status
grimp==3.5
# via import-linter
grpcio==1.66.2
grpcio==1.67.0
# via
# -r requirements/edx/base.txt
# google-api-core
# grpcio-status
grpcio-status==1.66.2
grpcio-status==1.67.0
# via
# -r requirements/edx/base.txt
# google-api-core
Expand Down Expand Up @@ -974,7 +974,7 @@ multidict==6.1.0
# yarl
mysqlclient==2.2.4
# via -r requirements/edx/base.txt
newrelic==10.1.0
newrelic==10.2.0
# via
# -r requirements/edx/base.txt
# edx-django-utils
Expand Down Expand Up @@ -1091,7 +1091,7 @@ pgpy==0.6.0
# edx-enterprise
piexif==1.1.3
# via -r requirements/edx/base.txt
pillow==10.4.0
pillow==11.0.0
# via
# -r requirements/edx/base.txt
# edx-enterprise
Expand Down Expand Up @@ -1520,7 +1520,7 @@ sqlparse==0.5.1
# django
staff-graded-xblock==2.3.0
# via -r requirements/edx/base.txt
starlette==0.39.2
starlette==0.40.0
# via fastapi
stevedore==5.3.0
# via
Expand Down Expand Up @@ -1556,7 +1556,7 @@ tomlkit==0.13.2
# -r requirements/edx/base.txt
# pylint
# snowflake-connector-python
tox==4.21.2
tox==4.23.0
# via -r requirements/edx/testing.in
tqdm==4.66.5
# via
Expand Down Expand Up @@ -1605,7 +1605,7 @@ urllib3==1.26.20
# requests
user-util==1.1.0
# via -r requirements/edx/base.txt
uvicorn==0.31.1
uvicorn==0.32.0
# via pact-python
vine==5.1.0
# via
Expand Down Expand Up @@ -1684,7 +1684,7 @@ xmlsec==1.3.13
# python3-saml
xss-utils==0.6.0
# via -r requirements/edx/base.txt
yarl==1.15.2
yarl==1.15.4
# via
# -r requirements/edx/base.txt
# aiohttp
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.1.0
setuptools==75.2.0
# via -r requirements/pip.in
Loading

0 comments on commit 20794ca

Please sign in to comment.