From 669c6a9a868802dfdc6687199ba79366af9b2bd2 Mon Sep 17 00:00:00 2001 From: "Kyle D. McCormick" Date: Thu, 2 Jan 2025 15:35:36 -0500 Subject: [PATCH] build: Unpin mypy and upgrade it to latest This is possible now that django-stubs and djangorestframework-stubs are unpinned: https://github.com/openedx/edx-platform/commit/a5b773ce7b9d5b1c7fd5e72eadef895a4072917b which became possible once we upgraded to django 4.2. Closes: https://github.com/openedx/edx-platform/issues/35667 --- requirements/constraints.txt | 6 ------ requirements/edx/development.txt | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/requirements/constraints.txt b/requirements/constraints.txt index a2c90429c5b0..43d769c88e7e 100644 --- a/requirements/constraints.txt +++ b/requirements/constraints.txt @@ -112,12 +112,6 @@ markdown<3.4.0 # Issue for unpinning: https://github.com/openedx/edx-platform/issues/35270 moto<5.0 -# Date: 2024-10-16 -# MyPY 1.12.0 fails on all PRs with the following error: -# openedx/core/djangoapps/content_libraries/api.py:732: error: INTERNAL ERROR -# Issue for unpinning: https://github.com/openedx/edx-platform/issues/35667 -mypy<1.12.0 - # 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: diff --git a/requirements/edx/development.txt b/requirements/edx/development.txt index 2b51f6a979cf..cf504f12f21d 100644 --- a/requirements/edx/development.txt +++ b/requirements/edx/development.txt @@ -1291,7 +1291,7 @@ multidict==6.1.0 # -r requirements/edx/testing.txt # aiohttp # yarl -mypy==1.11.2 +mypy==1.14.1 # via # -c requirements/edx/../constraints.txt # -r requirements/edx/development.in