Skip to content
This repository was archived by the owner on Jan 26, 2021. It is now read-only.

Travis is faliing on stable #185

Closed
kevmoo opened this issue Mar 2, 2018 · 4 comments
Closed

Travis is faliing on stable #185

kevmoo opened this issue Mar 2, 2018 · 4 comments

Comments

@kevmoo
Copy link
Contributor

kevmoo commented Mar 2, 2018

https://travis-ci.org/dart-lang/discoveryapis_generator/jobs/344956860

Seems that pub get isn't working 😢

@kevmoo
Copy link
Contributor Author

kevmoo commented Mar 14, 2018

@jakobr-google @mkustermann – thoughts?

@jakobr-google
Copy link
Contributor

Repros for me using latest stable SDK (1.24.3). It looks like the pub client goes into a loop trying to solve the version constraints.

@jakobr-google
Copy link
Contributor

Yeah, pub's spinning forever due to the latest dart_style version, which requires analyzer 0.31.2-alpha.0, which only supports SDK 2.0.0-dev and up...

jakobr-google added a commit to jakobr-google/discoveryapis_generator that referenced this issue Mar 14, 2018
The latest version of dart_style (1.0.10) depends on analyzer
0.31.2-alpha.0 which only supports SDK >=2.0.0-dev. Since we want to be
able to run on stable, we have to limit dart_style to 1.0.9+1.

In a perfect world, pub would automatically do this for us, but
unfortunately it doesn't (at least not in SDK 1.24.3). Instead, it spins
forever trying to solve the constraint puzzle.

Fixes dart-archive#185
@mkustermann
Copy link
Contributor

@nex3 FYI

jakobr-google added a commit that referenced this issue Mar 14, 2018
The latest version of dart_style (1.0.10) depends on analyzer
0.31.2-alpha.0 which only supports SDK >=2.0.0-dev. Since we want to be
able to run on stable, we have to limit dart_style to 1.0.9+1.

In a perfect world, pub would automatically do this for us, but
unfortunately it doesn't (at least not in SDK 1.24.3). Instead, it spins
forever trying to solve the constraint puzzle.

Fixes #185
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

3 participants