DRD Fails to install on Drupal 11.1

Created on 5 February 2025, 18 days ago

Problem/Motivation

I just tried a clean D11.1 installation to test the module and is not installing via composer.

> composer require 'drupal/drd:^4.1' -W
./composer.json has been updated
Running composer update drupal/drd --with-all-dependencies
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/drd ^4.1 -> satisfiable by drupal/drd[4.1.0, ..., 4.1.6].
- drupal/drd[4.1.0, ..., 4.1.4] require symfony/filesystem ^2.8|^3|^4|^5|^6 -> found symfony/filesystem[v2.8.0, ..., v2.8.52, v3.0.0, ..., v3.4.47, v4.0.0, ..., v4.4.42, v5.0.0, ..., v5.4.45, v6.0.0, ..., v6.4.13] but these were not loaded, likely because it conflicts with another require.
- drupal/drd[4.1.5, ..., 4.1.6] require drupal/key_value_field ^1.3 || dev-3431515-automated-drupal-11 -> satisfiable by drupal/key_value_field[1.3.0].
- drupal/key_value_field 1.3.0 requires drupal/core >=8.9 <11.0.0-stable -> found drupal/core[8.9.0, ..., 8.9.20, 9.0.0, ..., 9.5.11, 10.0.0, ..., 10.4.1] but these were not loaded, likely because it conflicts with another require.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

Steps to reproduce

- Create a new project with Drupal 11.1
- Install the drupal/drd:^4.1 module via composer.

Proposed resolution

The problem is the key_value_field module.

There seems to be a workaround in the composer.json for the module but it does not work yet

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

4.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States camoa

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

Comments & Activities

  • Issue created by @camoa
  • πŸ‡©πŸ‡ͺGermany jurgenhaas Gottmadingen

    This is not an issue in DRD, the issue is that the key_value_field module still doesn't have a D11 release. Please help chasing their maintainers to get this done, this is not an issue with DRD.

    As a workaround, you can use the MR's repository that you found in DRD's composer.json and define that in your project's root composer.json. Then composer will use the patched version from πŸ“Œ Automated Drupal 11 compatibility fixes for key_value_field Needs review , but you need to remember to remove that again when the release will then be there.

  • πŸ‡ΊπŸ‡ΈUnited States camoa

    Thanks!!

    I will check it out

Production build 0.71.5 2024