-
Notifications
You must be signed in to change notification settings - Fork 526
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
Paket does not respect pre-release constraints #1714
Comments
there is no paket 3 rc!? |
I know, but then I would expect it to fail, and it doesn't. |
there is some addtional stuff happening around prereleases. This is in place because most nuget and myget package combinations are have big issues when it comes to prereleases. But I agree in this specific case we should probably don't enable this magic. I will take a look |
This is now fixed. |
The problem with testcase 2 still remains: It still install pre-release version. The behavour I would expect is that Paket would only install pre-releases when asked too, and otherwise fail. |
That one is actually much harder to decide. But I assume we can do the following: if a version restriction is given in deps file then we should not use prereleases. If no version restriction is given then we need to keep everything as we had. |
can you please retest? |
just to confuse your tests: I released a Paket 3.0 RC1 ;-) |
Nice! This is much better. I would still consider 3.0.0-rc001 a pre-release, but I understand the backward compatibility argument. |
It is a prerelease. What do you mean?
|
Sorry! My mistake, I accidentally tested with an old version. Works like a charm. |
Description
The pre-release constraints does not work as described by the documentation
Repro steps
Use the following
paket.dependencies
file to reproduce the problem.The text was updated successfully, but these errors were encountered: