Incompatibility when upgrading to drupal/bat ^11.0 with drupal/bat_api ^3.1 and drupal/bat_event ^10.1.0-rc1

Created on 2 December 2024, about 2 months ago

Problem/Motivation

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.

Current Setup

  • Drupal Core Version: 10.3.10
  • Dependencies:
"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"
}

Steps to reproduce

Update composer.json to require drupal/bat:^11.0:

lando composer require 'drupal/bat:^11.0' -W

Expected Result

All dependencies are updated to compatible versions without conflict.

Actual Result

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.
🐛 Bug report
Status

Active

Version

11.0

Component

Code

Created by

🇲🇦Morocco meryem dibe

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024