- Issue created by @guymandude
- Status changed to Needs review
over 1 year ago 1:14am 27 June 2023 - π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
What happens if you try with the -W flag per the output?
- πΊπΈUnited States rtvenge
I think the root cause might be that you are already on dbal:2.0. I am trying to upgrade dbal to v 2.0 and am getting an error because entity_hiearchy only supports dbal ~1.0.
lando composer require 'drupal/dbal:^2.0' -W ./composer.json has been updated Running composer update drupal/dbal --with-all-dependencies Gathering patches for root package. Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires drupal/dbal ^2.0, found drupal/dbal[dev-2.x, 2.0.0, 2.x-dev] but these were not loaded, likely because it conflicts with ano ther require. Problem 2 - drupal/entity_hierarchy is locked to version 3.3.6 and an update of this package was not requested. - drupal/entity_hierarchy 3.3.6 requires drupal/dbal ~1.0 -> found drupal/dbal[dev-1.x, 1.0.0-rc1, ..., 1.x-dev (alias of dev-1.x)] but it conflicts with your root composer.json require (^2.0).
This is running on Drupal 9.5.10.
Are there any plans to support dbal 2.0?
- π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
Yep. try the 4.x branch
It doesn't have a stable release because I intend to add argument and return type hints everywhere so it will have BC breaking changes.
But if you're not extending any classes from the module, you should be fine.