From edbcadae8e20202b7fcaa2c81d62214f6e88e02e Mon Sep 17 00:00:00 2001 From: Kyle McCormick Date: Thu, 19 Dec 2024 15:20:53 -0500 Subject: [PATCH] revert: build: unpin django-stubs now that we're on django >=4.2 (#36051) This reverts commit b391fb54002d29dd53d2b48ef6c758ff96efa998, which was unintentionally pushed to master instead of a PR. --- requirements/constraints.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/requirements/constraints.txt b/requirements/constraints.txt index 78a5f83a787..e65e19a574f 100644 --- a/requirements/constraints.txt +++ b/requirements/constraints.txt @@ -60,6 +60,13 @@ django-webpack-loader==0.7.0 # Adding pin to avoid any major upgrade djangorestframework<3.15.0 +# Date: 2023-07-19 +# The version of django-stubs we can use depends on which Django release we're using +# 1.16.0 works with Django 3.2 through 4.1 +# Issue for unpinning: https://github.com/openedx/edx-platform/issues/35275 +django-stubs==1.16.0 +djangorestframework-stubs==3.14.0 # Pinned to match django-stubs. Remove this when we can remove the above pin. + # Date: 2024-07-23 # django-storages==1.14.4 breaks course imports # Two lines were added in 1.14.4 that make file_exists_in_storage function always return False,