- Issue created by @SirClickALot
- π©πͺGermany jurgenhaas Gottmadingen
What's the output of
composer why-not drupal/gin 4.0.2
? - π¬π§United Kingdom SirClickALot Somerset
composer why-not drupal/gin 4.0.2 drupal/gin 4.0.2 requires drupal/gin_toolbar (^2.0) drupal/recommended-project dev-main requires drupal/gin_toolbar (^1.0@RC)
I keep seeing this
drupal/recommended-project dev-main
and thedev-main
bothers me, could that be connected, should I be seeing that given that my comsposer.json clearly states"drupal/core-recommended": "^10",
?I do not pretend to understand all the finer points of composer dependencies but that
dev-main
doesn't seem right and I wondered if it could be connected.I raised a what I think might be a connected issues ( https://www.drupal.org/project/drupal/issues/3496908 π¬ Question RE drupal Composer and Drupal Recommended Active ) because I am at a bit of a loss in understanding quite what is going on here.
Thanks again for any gems.
- π©πͺGermany jurgenhaas Gottmadingen
I don't know where the requirement for
drupal/recommended-project dev-main
is coming from. But you can find out withcomposer why drupal/recommended-project
. That releasedev-main
doesn't seem to exist when you look at https://packagist.org/packages/drupal/recommended-project but when you find out where that is required from, you should also be able to fix it and therefore get rid of the old gin_toolbar version dependency.This is not really a Gin issue, though.
- π¬π§United Kingdom SirClickALot Somerset
It turned out to be a rogue
"drupal/gin_toolbar": "^1.0@RC1"
incomposer.json
.Thanks for the guidance.
- π§πͺBelgium bramvandenbulcke
I also had "drupal/gin_toolbar": "^1.0@RC1" in my composer.json file.
This worked for me:
composer require 'drupal/gin:^4.0' 'drupal/gin_toolbar:^2.0'
- π¨πSwitzerland saschaeggi Zurich
potentially
composer require 'drupal/gin:^4.0' --with-dependencies
would work, too