Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix django-stubs installation #125

Merged
merged 1 commit into from
Jul 26, 2024

Conversation

andersk
Copy link
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>
@JelleZijlstra JelleZijlstra merged commit 0ea6cc6 into hauntsaninja:master Jul 26, 2024
1 check passed
@andersk andersk deleted the django-stubs branch July 26, 2024 22:32
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