Allow installation of the WIP module on Drupal 11

Created on 17 May 2025, 3 months ago

Problem/Motivation

The WIP module's composer.json file restricts installation to drupal/core version ^10.1, which causes a conflict when trying to require the module on a Drupal 11 project via Composer.

Despite this, the module appears to function correctly on Drupal 11, and there are no known compatibility issues. Updating the version constraint would make the module installable and usable on both Drupal 10 and 11.

Steps to reproduce

  1. Install a fresh Drupal 11 project using drupal/recommended-project.
  2. Run composer require drupal/wip.
  3. Observe the Composer error about incompatible version constraints for drupal/core.

Proposed resolution

Update the version constraint in composer.json:

"require": {
    "drupal/core": "^10.1 || ^11",
    "drupal/paragraphs": "^1.19"
}

This allows the module to be installed on both Drupal 10 and Drupal 11.

Remaining tasks

  • Create a patch with the updated composer.json constraint.
  • Attach the patch to this issue.
  • Mark the issue as "Needs review".
🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇨🇴Colombia diegodz Bogota

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

Comments & Activities

Production build 0.71.5 2024