You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apple Swift Package Manager - Swift 3.1.0 (swiftpm-12084)
Additional Detail from JIRA
Votes
0
Component/s
Package Manager
Labels
Bug
Assignee
None
Priority
Medium
md5: 340af6e97e283cd88d3b61344c705fe8
duplicates:
SR-4072 Better response rather than "unsatisfiable"
relates to:
SR-4124 Dependency resolution error for unsatisfiable dependencies due to tools version should say why
SR-4072 Better response rather than "unsatisfiable"
Issue Description:
It's easy to get unsatisfiable dependencies due to pinning and not realize that pinning is the problem. The error that SwiftPM gives when you have unsatisfiable dependencies should mention that dependency restrictions are coming from your pinfile.
Here's an example workflow where this is very confusing:
Result: SwiftPM emits "error: unsatisfiable". The problem here is that your earlier build left you with a Package.pins file that specifies dependencies that are incompatible with 1.5.9. In order to build you need to `rm Package.pins`, but that's really non-obvious.
The error message should in some way indicate that pinning is part of the dependency resolution that's unsatisfiable.
Environment
Apple Swift Package Manager - Swift 3.1.0 (swiftpm-12084)
Additional Detail from JIRA
md5: 340af6e97e283cd88d3b61344c705fe8
duplicates:
relates to:
Issue Description:
It's easy to get unsatisfiable dependencies due to pinning and not realize that pinning is the problem. The error that SwiftPM gives when you have unsatisfiable dependencies should mention that dependency restrictions are coming from your pinfile.
Here's an example workflow where this is very confusing:
Result: SwiftPM emits "error: unsatisfiable". The problem here is that your earlier build left you with a Package.pins file that specifies dependencies that are incompatible with 1.5.9. In order to build you need to `rm Package.pins`, but that's really non-obvious.
The error message should in some way indicate that pinning is part of the dependency resolution that's unsatisfiable.
This is related to / a potential subtask of [SR-4237 Unsatisfiable dependency error should say which dependency can't be satisfied](https://bugs.swift.org/browse/SR-4237)
The text was updated successfully, but these errors were encountered: