From f38fd6d71370d51bb6b30708740722db1dfc9525 Mon Sep 17 00:00:00 2001 From: Kyle Robbertze Date: Sun, 4 Aug 2024 11:53:11 +0900 Subject: [PATCH] ci: downgrade django-stubs to not install v5.x This is until upstream fixes https://github.com/typeddjango/django-stubs/issues/2304 --- api/setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/setup.py b/api/setup.py index f9d2a2e6e3..a56973d89c 100644 --- a/api/setup.py +++ b/api/setup.py @@ -41,7 +41,8 @@ ], "dev": [ "django-coverage-plugin>=3.0.0,<4", - "django-stubs>=1.14.0,<6", + # Cannot upgrade to 5.x until https://github.com/typeddjango/django-stubs/issues/2304 is fixed + "django-stubs>=1.14.0,<5", "djangorestframework-stubs>=1.8.0,<4", "model_bakery>=1.10.1,<2", "psycopg[binary]>=3.1.8,<4",