Inconsistent core_version_requirement: update for Drupal 11 or remove

Created on 11 May 2025, 29 days ago

Problem/Motivation

The module is not installable true composer with Drupal 11.1.7

Steps to reproduce

composer require 'drupal/video_embed_jwplayer:^1.4'
or
composer require 'drupal/video_embed_jwplayer:^1.4' --with-all-dependencies

Output:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires drupal/video_embed_jwplayer ^1.4 -> satisfiable by drupal/video_embed_jwplayer[1.4.0].
    - drupal/video_embed_field[1.0.0, ..., 1.6.0, 2.0.0, ..., 2.1.0] require drupal/core ^8 -> found drupal/core[8.0.0, ..., 8.9.20] but these were not loaded, likely because it conflicts with another require.
    - drupal/video_embed_field 2.2.0 requires drupal/core ^8.7.0 -> found drupal/core[8.7.0, ..., 8.9.20] but these were not loaded, likely because it conflicts with another require.
    - drupal/video_embed_field[2.3.0, ..., 2.4.0] require drupal/core ^8.8 || ^9 -> found drupal/core[8.8.0, ..., 8.9.20, 9.0.0, ..., 9.5.11] but these were not loaded, likely because it conflicts with another require.
    - drupal/video_embed_field 2.5.0 requires drupal/core ^9.2 || ^10 -> found drupal/core[9.2.0, ..., 9.5.11, 10.0.0, ..., 10.4.7] but these were not loaded, likely because it conflicts with another require.
    - drupal/video_embed_jwplayer 1.4.0 requires drupal/video_embed_field * -> satisfiable by drupal/video_embed_field[1.0.0, ..., 1.6.0, 2.0.0, ..., 2.5.0].


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

Composer [require drupal/video_embed_jwplayer:^1.4 --with-all-dependencies] failed, composer command failed: exit status 2. stderr=

Proposed resolution

Ensure Drupal 11.x compatibility by updating the module, or remove the core version declaration from the .info.yml file.

  • Audit the module codebase for Drupal 11 compatibility.
  • Update deprecated APIs or incompatible code if found.
  • If no updates are made, remove ^11 from core_version_requirement in the .info.yml file to avoid misleading users.

Remaining tasks

Update the module

  • [ ] Review module code for compatibility with Drupal 11.
  • [ ] Create or update tests if needed.
  • [ ] Provide patch or merge request.

User interface changes

N/A

API changes

N/A

Data model changes

N/A

🐛 Bug report
Status

Active

Version

1.4

Component

Code

Created by

🇮🇹Italy bigbabert Milano, Italy

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

Comments & Activities

Production build 0.71.5 2024