-
Notifications
You must be signed in to change notification settings - Fork 211
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
Extend analyzer range to 0.34 #1873
Conversation
I'm happy to update pubspecs/CHANGELOG/etc or other housekeeping tasks you'd need done to publish these packages as well. Please let me know if you'd like to do that and if +1 versions are OK for this sort of change for you. |
The primary issue with doing a constraint like this is we can't shield ourselves against any breakages that come up with the actual 0.33 release (and in fact I think our tests would still just run against the stable 0.32.x versions). If we need to publish with a version that supports 0.33.0-alpha.0 then I think setting the upper bound to exactly that ( |
yeah I don't think pub wants to resolve to A bug fix version bump is fine. That |
@jakemac53 Yes, you're right. If we publish a broken stable package, we'd have to publish a fixed stable package in the same range to correct the issue. @natebosch That was actually the intent -- to not automatically resolve an alpha version with pub unless a package that depends on build specifies that alpha version intentionally (which would be the case for dartdoc, which is why I am advocating for the change). Right now you can't do that without dependency overrides because of the limited ranges. |
@natebosch pointed out offline, there is a workaround (removing dev dependencies from dartdoc pre-publish) that would allow a version of dartdoc to be published without this, so this is not technically blocking us. |
Synced with Jake. We're fine publishing with In any case we can merge this once pubspecs and changelogs are updated and I can start publishing. |
@natebosch Analyzer team tries to avoid publishing non-alpha versions whenever they can, because the impact of non-alpha versions on the ecosystem has historically been very large (each existing version of analyzer directly impacting pub's performance). |
Once we publish any package with a constraint of |
Chatted with @bwilkerson and we'll try a stable release of analyzer once some bugfixes currently on deck land. In the meantime, we can hold off on this PR. Sound good? |
Sounds good. will put it on hold for now. |
@natebosch Can we take another look now that 0.33.0 is published for analyzer? I have restarted the Travis tests but I don't have access to rekick AppVeyor. |
Kicked off a new build @jcollins-g, with the new version of analyzer we should be good to go. |
We can't really wait on extending the range anymore to allow for a new analyzer publish to be used with dartdoc. Since we're only publishing alphas at this time this PR shouldn't accidentally add new versions to other users of build unless they specifically request them.
@bwilkerson