Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Reword hint to make clear it's the whole project that has no "matchin…
…g distributions"
  • Loading branch information
notatallshaw committed Sep 23, 2025
commit 6e3b61ddf9f6f97bba4dbde6a7906791268aacc2
4 changes: 2 additions & 2 deletions src/pip/_internal/resolution/resolvelib/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -812,8 +812,8 @@ def describe_trigger(parent: Candidate) -> str:
msg = (
msg
+ "\n\n"
+ "Additionally, some conflict causes have no "
+ "available versions for your environment:"
+ "Additionally, some projects in these conflicts have no "
+ "matching distributions available for your environment:"
+ "\n "
+ "\n ".join(sorted(no_candidates))
)
Expand Down
4 changes: 2 additions & 2 deletions tests/functional/test_new_resolver_errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def test_new_resolver_no_versions_available_hint(script: PipTestEnvironment) ->

# Check that the new hint message is present
assert (
"Additionally, some conflict causes have no "
"available versions for your environment:\n"
"Additionally, some projects in these conflicts have no "
"matching distributions available for your environment:\n"
" incompatible-dep\n" in result.stdout
), str(result)
Loading