From 2ba5a097d00c1f9de174678d14bd0d1eac696377 Mon Sep 17 00:00:00 2001 From: Hugo Osvaldo Barrera Date: Tue, 12 Dec 2023 08:17:15 +0100 Subject: [PATCH] Pin an older django-stubs Works around regression in latest release. See: https://github.com/typeddjango/django-stubs/issues/1872 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 1bab62e0..b2e49a22 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -61,7 +61,7 @@ factories = [ dev = [ "coverage", "dj_database_url", - "django-stubs[compatible-mypy]", + "django-stubs[compatible-mypy]==4.2.6", # See: https://github.com/typeddjango/django-stubs/issues/1872 "factory-boy", "freezegun", "pytest-cov",