-
Notifications
You must be signed in to change notification settings - Fork 229
pub upgrade hanging #14
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
Comments
<img src="https://avatars.githubusercontent.com/u/3227777?v=3" align="left" width="48" height="48"hspace="10"> Comment by rbishop-bah Actually, pinning unittest: "^0.11.0" gets things working again so it appears pub upgrade is getting confused by having unittest 0.12.0 as an option. |
<img src="https://avatars.githubusercontent.com/u/8631949?v=3" align="left" width="48" height="48"hspace="10"> Comment by floitschG |
<img src="https://avatars.githubusercontent.com/u/188?v=3" align="left" width="48" height="48"hspace="10"> Comment by nex3 This is a duplicate of issue #874. Pub's version solving algorithm can run into cases where it goes exponential, and it looks like you've found one of those cases. If you can provide the pubspec that caused this issue, it may help us add more heuristics to avoid it in the future. |
<img src="https://avatars.githubusercontent.com/u/3227777?v=3" align="left" width="48" height="48"hspace="10"> Comment by rbishop-bah name: xxx_webapp ... + some locally hosted packages that i don't want to share publicly....
|
<img src="https://avatars.githubusercontent.com/u/188?v=3" align="left" width="48" height="48"hspace="10"> Comment by nex3 Your locally-hosted packages may be relevant here. Without them (and changing the "unittest" dependency to "any"), I get the following error quickly: Incompatible version constraints on matcher:
...although I'm not sure why adding a looser constraint produces the error. |
<img src="https://avatars.githubusercontent.com/u/3227777?v=3" align="left" width="48" height="48"hspace="10"> Comment by rbishop-bah I believe the additional transitive dependencies from the local packages would be: browser_detect: "^1.0.3" |
<img src="https://avatars.githubusercontent.com/u/188?v=3" align="left" width="48" height="48"hspace="10"> Comment by nex3 It still fails quickly for me. Don't worry about it too much, we've got other pathological pubspecs we can look at. |
<img src="https://avatars.githubusercontent.com/u/3227777?v=3" align="left" width="96" height="96"hspace="10"> Issue by rbishop-bah
Originally opened as dart-lang/sdk#23347
Build that was working until this morning now hanging on pub upgrade, presumably due to just-released polymer, web_components, smoke, observe, etc. packages.
pub upgrade --verbose shows the pub solver churning endlessly.
What version of the product are you using?
1.10.0
On what operating system?
Win 7 x64
The text was updated successfully, but these errors were encountered: