feat: support pip style no-deps#5464
Open
lucifer1004 wants to merge 4 commits intoprefix-dev:mainfrom
Open
Conversation
8f8e8ad to
f34f3b3
Compare
f34f3b3 to
52fa5c9
Compare
b0f1de3 to
093775a
Compare
aadb39f to
50e76f1
Compare
50e76f1 to
3252e72
Compare
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.
Description
Summary:
no-depssupport for PyPI dependencies so users can install/lock a package without pulling its transitive requirements.Requires-Distis ignored. For git/path/url, we lock metadata directly without resolving dependencies.pip install --no-depsexpectations (direct requirement only, no transitive deps) while keeping the lockfile deterministic and avoiding dependency solver influence fromno-depsentries.Context:
Users expect no-deps to skip transitive dependencies but still allow unpinned direct requirements.
Fixes #1417
How Has This Been Tested?
Full test suite passed locally:
cargo test --workspaceAI Disclosure
Tools: Codex (Cursor)
Checklist:
schema/model.pyIf you want this scoped down to only the
no-depsbehavior (and exclude the stability/doctest fixes), say so and I’ll trim the description and checklist accordingly.