Skip to content

Commit

Permalink
Pin django-stubs to version 4.2
Browse files Browse the repository at this point in the history
Upgrading to version 5 ostensibly still supports Django 4, but
introducing some typing constructs which are hard to resolve. Let's stay
on the version which still passes mypy.
  • Loading branch information
DavidCain committed May 12, 2024
1 parent cdada84 commit 10983e1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
19 changes: 9 additions & 10 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ ruff = "*"
optional = true
[tool.poetry.group.mypy.dependencies]
celery-types = "^0.19.0"
django-stubs = { version = "*" }
django-stubs = { version = "<5" } # Version 5 has "partial support" for Django 4
mypy = { version = "*"}
types-certifi = { version = "*" }
types-cryptography = { version = "*" }
Expand Down

0 comments on commit 10983e1

Please sign in to comment.