Skip to content

Fix django-stubs installation#125

Merged
JelleZijlstra merged 1 commit intohauntsaninja:masterfrom
andersk:django-stubs
Jul 26, 2024
Merged

Fix django-stubs installation#125
JelleZijlstra merged 1 commit intohauntsaninja:masterfrom
andersk:django-stubs

Conversation

@andersk
Copy link
Copy Markdown
Contributor

@andersk andersk commented Jul 26, 2024

django-stubs has two packages that both need to be installed from Git. 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.

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 <andersk@mit.edu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants