Skip to content

Commit 0ea6cc6

Browse files
authored
Fix django-stubs installation (#125)
django-stubs has two packages that both need to be installed. Otherwise we get this error (and mypy_primer seems to hang forever). × No solution found when resolving dependencies: ╰─▶ Because only django-stubs-ext<5.0.3 is available and django-stubs==5.0.3 depends on django-stubs-ext>=5.0.3, we can conclude that django-stubs==5.0.3 cannot be used. And because only django-stubs==5.0.3 is available and you require django-stubs, we can conclude that the requirements are unsatisfiable. Signed-off-by: Anders Kaseorg <[email protected]>
1 parent 541bb89 commit 0ea6cc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypy_primer/projects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1221,7 +1221,7 @@ def get_projects() -> list[Project]:
12211221
],
12221222
needs_mypy_plugins=True,
12231223
expected_mypy_success=True,
1224-
install_cmd="{install} .",
1224+
install_cmd="{install} . ./ext",
12251225
),
12261226
]
12271227
assert len(projects) == len({p.name for p in projects})

0 commit comments

Comments
 (0)