From 35b55821c6bb2811f66881a6c329097762d2ed6f Mon Sep 17 00:00:00 2001 From: Feanil Patel Date: Mon, 2 Mar 2026 14:13:52 -0500 Subject: [PATCH] build: Explicitly add types-requests to development requirements. djangorestframework-stubs==3.16.8 dropped types-requests as a transitive dependency. Since edx-platform uses the requests library directly, we need to pin types-requests explicitly so that mypy can type-check our code correctly. Co-Authored-By: Claude Sonnet 4.6 --- requirements/edx/development.in | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements/edx/development.in b/requirements/edx/development.in index 0de91b366f..972adf9aac 100644 --- a/requirements/edx/development.in +++ b/requirements/edx/development.in @@ -21,5 +21,6 @@ django-stubs[compatible-mypy] # Typing stubs for Django, so it works w djangorestframework-stubs # Typing stubs for DRF mypy # static type checking pywatchman # More efficient checking for runserver reload trigger events +types-requests # Typing stubs for requests vulture # Detects possible dead/unused code, used in scripts/find-dead-code.sh watchdog # Used by `npm run watch` to auto-recompile when assets are changed