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

Constraints aren't enforced for editables #3548

Closed
charliermarsh opened this issue May 13, 2024 · 0 comments · Fixed by #3554
Closed

Constraints aren't enforced for editables #3548

charliermarsh opened this issue May 13, 2024 · 0 comments · Fixed by #3554
Assignees
Labels
bug Something isn't working

Comments

@charliermarsh
Copy link
Member

If you run uv pip install -e ./scripts/packages/black_editable --constraint constraints.txt where constraints.txt contains black==0.0.1, the command succeeds.

Meanwhile, uv pip install ./scripts/packages/black_editable --constraint constraints.txt fails (correctly) with:

  × No solution found when resolving dependencies:
  ╰─▶ Because there is no version of black==0.0.1 and you require black==0.0.1, we can conclude that the requirements are unsatisfiable
@charliermarsh charliermarsh self-assigned this May 13, 2024
@charliermarsh charliermarsh added the bug Something isn't working label May 13, 2024
charliermarsh added a commit that referenced this issue May 13, 2024
## Summary

Ensures that constraints are enforced for editable requirements.

Closes #3548.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant