Drupal 11 compatibility into composer.json

Created on 30 June 2025, about 1 month ago

Problem/Motivation

Despite the module is compatible with Drupal 11 as per core_version_requirement: ^8.8 || ^9 || ^10 || ^11 into menu_markup.info.yml file, when I try to install the module on a fresh Drupal 11 installation using the composer command composer require 'drupal/menu_markup:^1.3', the following error is thrown:

Problem 1
    - Root composer.json requires drupal/menu_markup ^1.3 -> satisfiable by drupal/menu_markup[1.3.0].
    - drupal/menu_markup 1.3.0 requires drupal/core ^8.8 || ^9 || ^10 -> found drupal/core[8.8.0, ..., 8.9.20, 9.0.0, ..., 9.5.11, 10.0.0, ..., 10.5.1] but the package is fixed to 11.1.7 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Steps to reproduce

  1. Try to install the module using composer command: composer require 'drupal/menu_markup:^1.3'

Proposed resolution

Add Drupal 11 core requirement into the composer.json file.

Remaining tasks

  1. Review and Test by them community.

User interface changes

No

API changes

No

Data model changes

No

🐛 Bug report
Status

Active

Version

10.0

Component

Code

Created by

🇨🇴Colombia carma03

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024