-
Notifications
You must be signed in to change notification settings - Fork 391
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
Using ~3.0 pulls 3.1 #272
Comments
Doesn't happen for me. Tried both an existing project and a new project. For the existing project I did clear the cache, remove the |
What is your minimum-stability value? |
For me, I have |
@davidyell Could you possibly post your complete |
"require-dev": {
"cakephp/cakephp-codesniffer": "~2.0",
"cakephp/bake": "~1.0"
}, So unless one of these has a dependancy of 3.1 |
|
I've kinda sidestepped the issue by using |
With "minimum-stability": "dev" isnt that expected behavior? Removing that should only pull stable versions. |
But |
Was looking at my |
So make of this what you will. https://github.com/cakephp/app/blob/master/composer.json#L38-L39 |
Can't really make anything of that, that just confirms everything I said. 👍 |
We can then probably close this as we now know how to prevent 3.1 to be pulled :) |
Reading compiser docs today, ~3.0 will get you ~3.x whereas ~3.0.0 wil get you 3.0.x - also ^3.0 should work getting you 3.0.x afair. For me those also get unstable versions btw. |
@jhli You will get unstable versions with |
What I did
Removed my vendor folder, cleared composer cache, and then updated. Using
cakephp/cakephp: ~3.0
in my json.What happened
What I expected to happen
I was expecting
3.0.10
to be installed.The text was updated successfully, but these errors were encountered: