Skip to content

Commit 35b5582

Browse files
feanilclaude
andcommitted
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 <noreply@anthropic.com>
1 parent 9c89a1b commit 35b5582

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

requirements/edx/development.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,6 @@ django-stubs[compatible-mypy] # Typing stubs for Django, so it works w
2121
djangorestframework-stubs # Typing stubs for DRF
2222
mypy # static type checking
2323
pywatchman # More efficient checking for runserver reload trigger events
24+
types-requests # Typing stubs for requests
2425
vulture # Detects possible dead/unused code, used in scripts/find-dead-code.sh
2526
watchdog # Used by `npm run watch` to auto-recompile when assets are changed

0 commit comments

Comments
 (0)