Add constraint dependencies to pyproject.toml#5248
Merged
charliermarsh merged 4 commits intoastral-sh:mainfrom Jul 21, 2024
Merged
Add constraint dependencies to pyproject.toml#5248charliermarsh merged 4 commits intoastral-sh:mainfrom
charliermarsh merged 4 commits intoastral-sh:mainfrom
Conversation
uv lockuv lock.
uv lock.uv lock
Member
|
Thanks, this is looking great! Do you mind adding the analogous changes to |
uv lock
Contributor
Author
|
I modified |
|
Incredible! We had one use-case where we might have been forced to use the pip interface, I didn't see anything in the docs, but luckily Google surfaced this PR! Works perfectly. |
charliermarsh
pushed a commit
that referenced
this pull request
Aug 26, 2024
…6596) Add missing portions of documents reported in #6518 and #5248(Comment). ## Summary <img width="600" alt="override" src="https://github.com/user-attachments/assets/062f0036-8672-4c68-b21c-aebdeb79b58b"> <img width="600" alt="constraint" src="https://github.com/user-attachments/assets/f5ef1aa2-0662-4352-a1a0-3af1127fb7fb">
charliermarsh
added a commit
that referenced
this pull request
Feb 18, 2025
## Summary Resolves #6913. Add `tool.uv.build-constraint-dependencies` to pyproject.toml. The changes are analogous to the constraint-dependencies feature implemented in #5248. Add documentation for `build-constraint-dependencies` ## Test Plan Add tests for `uv lock`, `uv add`, `uv pip install` and `uv pip compile`. --------- Co-authored-by: Charlie Marsh <[email protected]>
loic-lescoat
pushed a commit
to loic-lescoat/uv
that referenced
this pull request
Mar 2, 2025
…al-sh#11585) ## Summary Resolves astral-sh#6913. Add `tool.uv.build-constraint-dependencies` to pyproject.toml. The changes are analogous to the constraint-dependencies feature implemented in astral-sh#5248. Add documentation for `build-constraint-dependencies` ## Test Plan Add tests for `uv lock`, `uv add`, `uv pip install` and `uv pip compile`. --------- Co-authored-by: Charlie Marsh <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves #4467.
Summary
This PR implements the following
tool.uv.constraint-dependenciesto pyproject.tomltool.uv.constraint-dependenciesinuv locktool.uv.constraint-dependenciesinuv pip compile/installThese are analogues of the override features implemented in #3839 and #4369.
Test Plan
Add test.