Skip to content
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

Pub upgrade fails with some dependencies #1159

Closed
DartBot opened this issue Jun 5, 2015 · 4 comments
Closed

Pub upgrade fails with some dependencies #1159

DartBot opened this issue Jun 5, 2015 · 4 comments
Labels
closed-duplicate Closed in favor of an existing report type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)

Comments

@DartBot
Copy link

DartBot commented Jun 5, 2015

Originally opened as dart-lang/sdk#21259

This issue was originally filed by defave...@gmail.com


What steps will reproduce the problem?

  1. Create a simple project
  2. Add those dependencies (I've cleaned the list in order to find the minimum set):
      paper_elements: any
      di: ">=3.1.0 <4.0.0"
      collection: any
  3. do a pub upgrade

What is the expected output? What do you see instead?
I expect a resolved dependency message but I get this error:
Pub upgrade failed, [69] Resolving dependencies...
Connection closed before full header was received

What version of the product are you using?
1.6.0

On what operating system?
Linux Mint 0.17

What browser (if applicable)?
n/a

Please provide any additional information below.
Adding this override solves the issue:
dependency_overrides:
  args: any

@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

<img src="https://avatars.githubusercontent.com/u/2156198?v=3" align="left" width="48" height="48"hspace="10"> Comment by kasperl


Added Area-Pub, Triaged labels.

@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

<img src="https://avatars.githubusercontent.com/u/188?v=3" align="left" width="48" height="48"hspace="10"> Comment by nex3


Please include the output when you run "pub upgrade --verbose".


Added NeedsInfo label.

@DartBot DartBot added type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) closed-duplicate Closed in favor of an existing report labels Jun 5, 2015
@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

This comment was originally written by defav...@gmail.com


Looks like the Solver is looping, I had to stop it after a while.
In attachment the output.


Attachment:
pub-output.txt.zip (262.16 KB)

@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

<img src="https://avatars.githubusercontent.com/u/188?v=3" align="left" width="48" height="48"hspace="10"> Comment by nex3


It looks like these are incompatible constraints; in particular, it seems like the collection package has disjoint constraints, although I'm not sure where they're coming from.

I'm merging this into 17429, which is tracking better reporting for solver failures.


Added Duplicate label.
Marked as being merged into #912.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-duplicate Closed in favor of an existing report type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)
Projects
None yet
Development

No branches or pull requests

1 participant