build: upgrade django-stubs and djangorestframework-stubs

...now that we're on django>=4.2
This commit is contained in:
Kyle D. McCormick
2024-12-19 14:16:57 -05:00
committed by Kyle McCormick
parent 88b8da3e49
commit a5b773ce7b
2 changed files with 9 additions and 15 deletions

View File

@@ -60,12 +60,12 @@ 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-19
# Generally speaking, the major version of django-stubs should match the major version of django.
# Specifically, we need to perpetually constrain django-stubs to a compatible version based on:
# https://github.com/typeddjango/django-stubs?tab=readme-ov-file#version-compatibility
# Issue: https://github.com/openedx/edx-platform/issues/35275
django-stubs<5
# Date: 2024-07-23
# django-storages==1.14.4 breaks course imports

View File

@@ -577,7 +577,7 @@ django-storages==1.14.3
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
# edxval
django-stubs==1.16.0
django-stubs==4.2.7
# via
# -c requirements/edx/../constraints.txt
# -r requirements/edx/development.in
@@ -625,10 +625,8 @@ djangorestframework==3.14.0
# openedx-learning
# ora2
# super-csv
djangorestframework-stubs==3.14.0
# via
# -c requirements/edx/../constraints.txt
# -r requirements/edx/development.in
djangorestframework-stubs==3.14.5
# via -r requirements/edx/development.in
djangorestframework-xml==2.0.0
# via
# -r requirements/edx/doc.txt
@@ -1297,8 +1295,6 @@ mypy==1.11.2
# via
# -c requirements/edx/../constraints.txt
# -r requirements/edx/development.in
# django-stubs
# djangorestframework-stubs
mypy-extensions==1.0.0
# via mypy
mysqlclient==2.2.6
@@ -2108,8 +2104,6 @@ tinycss2==1.4.0
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
# bleach
tomli==2.2.1
# via django-stubs
tomlkit==0.13.2
# via
# -r requirements/edx/doc.txt