-
Notifications
You must be signed in to change notification settings - Fork 35
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
support for prereleases #80
Comments
It is definitely a problem, and one we have bean thinking about. ( cc #78 (comment) and pubgrub-rs/advanced_dependency_providers#3 and #49 and dtolnay/semver#223 ). If you want to "solve without using prereleases versions" then you can customize your |
Hello! I'm very interested in this as well For my use case I wish to be able to include prereleases for the same version only if the specified upper/lower bound includes a prerelease. For example Thank you |
This may be a dead end as it doesn't have enough flexibility when it comes to prereleases See this related issue: pubgrub-rs/pubgrub#80
This may be a dead end as it doesn't have enough flexibility when it comes to prereleases See this related issue: pubgrub-rs/pubgrub#80
I have a proof of concept implementation of support for the Semver crate, with one of the draft branches for 0.3. It should have the semantics @lpil needs. |
Wonderful, thank you @Eh2406. I look forward to the release of 0.3! |
Hey @jlgerber and @lpil , we just released a new section in the guide about pubgrub's limitations and how to circumvent some of these. I hope it explains clearly what are the different challenges (including for pre-releases) and how it can shape future APIs for pubgrub and people trying to use it. |
Thank you for the update and for the excellent documentation! |
Hi all, this is just to inform you that prereleases will be supported with the new API provided by v0.3 of pubgrub, currently already landed in the |
Is the plan for handling prereleases? The example version::SemanticVersion does not currently support pre-releases at all.
It seems that the major challenge with prereleases -- the one worth taking into account because it would affect the design in general -- is that an end user will want to be able to influence the solve to ignore pre-releases entirely via the solver method. There doesn't seem to be an affordance for that currently.
Or am I thinking about this incorrectly? Is this really the responsibility of the DependencyProvider?
The text was updated successfully, but these errors were encountered: