- Issue created by @meryem dibe
I'm encountering an issue when attempting to upgrade drupal/bat to version ^11.0. The upgrade fails due to conflicts with the dependencies drupal/bat_api and drupal/bat_event. The error suggests that drupal/bat_event version 10.1.0-rc1 is incompatible with drupal/bat ^11.0.
Description:
I'm encountering an issue when attempting to upgrade drupal/bat to version ^11.0. The upgrade fails due to conflicts with the dependencies drupal/bat_api and drupal/bat_event. The error suggests that drupal/bat_event version 10.1.0-rc1 is incompatible with drupal/bat ^11.0.
"require": {
"drupal/core-composer-scaffold": "10.3.10",
"drupal/core-project-message": "10.3.10",
"drupal/core-recommended": "10.3.10",
"drupal/bat": "^10.2",
"drupal/bat_api": "^3.1",
"drupal/bat_event": "^10.1"
}
Update composer.json to require drupal/bat:^11.0:
lando composer require 'drupal/bat:^11.0' -W
All dependencies are updated to compatible versions without conflict.
The following error is shown:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires drupal/bat ^11.0, found drupal/bat[dev-11.0.x, 11.0.0, 11.0.x-dev] but these were not loaded, likely because it conflicts with another require.
Problem 2
- drupal/bat_api is locked to version 3.1.0 and an update of this package was not requested.
- drupal/bat_api 3.1.0 requires drupal/bat_event * -> satisfiable by drupal/bat_event[10.1.0-rc1].
- drupal/bat_event 10.1.0-rc1 requires drupal/bat ^10 -> found drupal/bat[dev-10.x, 10.1.0-alpha1, ..., 10.x-dev (alias of dev-10.x)] but it conflicts with your root composer.json require (^11.0).
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
Active
11.0
Code