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
Can't install prerelease with >=
contraint
#2514
Comments
can you try newer paket version? |
with Paket version 5.6.10, almost the same issue: can't install it Tried 9.7-PRimageresizeal-r329 and 9.7.0-PRimageresizeal-r329
|
Ok I think I need a repro. |
I will try an older paket first. It worked and I spent already to much time in installing a package. |
mmm even with Paket 4 it won't work. Tried also constrains like ~> 9, >= 9, <10, > 9.6, < 9.7, all of them won't match the version requirement with "9.7-PRimageresizeal-r329". Tried also "9.7-PRimageresizeal" as package name, the same. What's the official way to denote a prelease version? |
does the following line in the deps file work:
? |
works, but then it got stuck somewhere else als the requirement in a dependency is >= 8 |
that's why I asked for |
same as without Tried now 9.7-beta1 (renamed the package), got then:
|
What about |
yes that works! |
it works for the latest Paket 5.6.10, not Paket 5.2.5 |
OK that are 2 issues now. Give me a sec - I will try something. But I guess at least you have a workaround for now, right? |
just for confirmation:
? |
I think it's one issue, updated mu post.
Yes, thanks! |
Indeed To be complete: this works: (in paket.dependencies)
this won't (in paket.dependencies)
While doing:
|
"nuget PackageB 1.0.11204-custom" could work depending of PackageA. I'm my repo PackageA has dependency PackageB >= 1.0 |
|
maybe it was the issue that the .lock file was in the old format. I see a lot has been changed. Will try to test that |
does
? |
no you need to specify in the deps file that you want a prerelease.
or
|
|
|
OK, will test that today. Thanks! |
Is there any way around this without updating the paket.dependencies file? Just hit this today too. |
@jamescrowley you hit what exactly? |
We have a paket.dependencies file that said:
and sometimes as part of our build process, we do
to test against a beta version, which now fails with
Checking with the team, looks like we bumped the version of paket a while back which has probably broken this. Still broken on the latest version of paket. Is this expected behaviour now, or a bug? |
We bumped from version 3.6.0, which probably isn't that helpful.... (!) |
mmm I guess it's expected because it conflicts the deps file. |
Description
I can't update my package to a prerelease version.
Repro steps
1.run
paket update nuget Core version 9.7-PRimageresizeal-r329
(this is a private feed)Expected behavior
I could update a package to a prerelease version larger than 8.0
Actual behavior
I get the error:
I don't get it. 9.7-PRimageresizeal-r327
>=
8.0?Also tried creating a package with 9.7.0-PRimageresizeal-r327, same result
notes: Updating to 9.6 (non-prerelease) works.
Paket version 5.2.5
Known workarounds
None. Tried also updating the paket.dependencies with the fixed prerelease version, same error
Thanks in advance!
The text was updated successfully, but these errors were encountered: