-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
composer update for a single package may be silently stopped by a dependency conflict #7234
Comments
Is the other package a dependency that you are requiring yourself or is that installed as the dependency of another package? Does it make a difference if you run the command with the |
Appears not to make a difference.
This shows that a lot of locked
|
the fact that |
Composer 2 adds --with flag so you can run Maybe we should actually change why-not to run this internally if it can't figure out an obvious reason why something is blocked. |
My
composer.json
: https://github.com/giorgiosironi/drupal-core-composer-update (requires to be modified as explained in README after the first installation)Output of
composer diagnose
:Essentially, we are forced to run
composer update $package $anotherRandomDependency
becausecomposer update $package
does not pick up the new version due to some conflicts. Not sure if/how the behavior can be improved (or if there are other troubleshooting commands) for a more verbose diagnosis of the problem, but it required a few hours to find out which package$anotherRandomDependency
was.Commands to reproduce are listed in https://github.com/giorgiosironi/drupal-core-composer-update/blob/master/README.md
The text was updated successfully, but these errors were encountered: