- Issue created by @taonac
- First commit to issue fork.
- Status changed to Needs review
about 1 year ago 12:07pm 18 December 2023 - 🇮🇳India viren18febS
I have update the json file & added patch, please review.
Hey, can I ask how did you fix this? I'm running into the same problem but I can't get it to work with your patch.
Thanks!@viren18febS It seems that updating with composer update → just works (save for issue 3400861 → so I opted for dev for now), but using
composer require goalgorilla/open_social 12.0.0 --with-all-dependencies
(or variants of this) gives the error mentioned.
When trying to fix all the dependencies manually (with why and why-not, which is always a deep dive tbh) I also can't find which one is conflicting.
Maybe just usingcomposer update
works for you as well.- 🇮🇹Italy apaderno Brescia, 🇮🇹
composer require
is not used to update.composer update
is used to update the used Composer packages to their latest versions. - Status changed to Fixed
12 months ago 3:11pm 3 January 2024 - 🇳🇱Netherlands kingdutch
Although
composer require
can be used for updating, the way Composer performs dependency resolution internally is slightly different than when you manually update your composer.json file and then runcomposer update
. In the case ofcomposer require
it can happen that Composer erroneously excludes valid packages for an update leading to the mentioned error message.The solution is to manually update your
composer.json
file and runcomposer update
which ensures Composer doesn't exclude valid versions of packages prematurely.We've updated our update documentation today which explains this flow: https://www.drupal.org/docs/drupal-distributions/open-social/updating →
Automatically closed - issue fixed for 2 weeks with no activity.