Skip to content

Commit 12092d6

Browse files
bmtcrilkdmccormick
authored andcommitted
build: Pin MyPY due to internal error
Currently all PRs are failing on an INTERNAL ERROR in MyPY that seems to have been introduced in 1.12.0. This pins edx-platform to <1.12.0 until we can find out more information and hopefully get an upstream fix.
1 parent bd832df commit 12092d6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

requirements/constraints.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,12 @@ markdown<3.4.0
123123
# Issue for unpinning: https://github.com/openedx/edx-platform/issues/35270
124124
moto<5.0
125125

126+
# Date: 2024-10-16
127+
# MyPY 1.12.0 fails on all PRs with the following error:
128+
# openedx/core/djangoapps/content_libraries/api.py:732: error: INTERNAL ERROR
129+
# Issue for unpinning: https://github.com/openedx/edx-platform/issues/35667
130+
mypy<1.12.0
131+
126132
# Date: 2024-07-16
127133
# We need to upgrade the version of elasticsearch to atleast 7.15 before we can upgrade to Numpy 2.0.0
128134
# Otherwise we see a failure while running the following command:

0 commit comments

Comments
 (0)