Unmet dependency on newer drupal versions

Created on 6 February 2025, 2 months ago

Problem/Motivation

$ composer require drupal/cl_generator
Running composer update drupal/cl_generator
Gathering patches for root package.
> DrupalProject\composer\ScriptHandler::checkComposerVersion
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/cl_generator * -> satisfiable by drupal/cl_generator[dev-1.x, dev-2.x, dev-3.x, 1.0.0-rc1, 1.0.0-rc2, 1.0.0-rc3, 1.x-dev, 2.0.0-alpha1, 2.0.0-alpha2, 2.0.0-beta1, 2.x-dev, 3.x-dev].
    - drupal/cl_generator[dev-1.x, dev-2.x, dev-3.x, 1.0.0-rc1, ..., 1.x-dev, 2.0.0-alpha1, ..., 2.x-dev, 3.x-dev] require chi-teck/drupal-code-generator ^2.5 -> found chi-teck/drupal-code-generator[2.5.0, ..., 2.x-dev] but the package is fixed to 3.6.1 (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.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require drupal/cl_generator:*" to figure out if any version is installable, or "composer require drupal/cl_generator:^2.1" if you know which you need.

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

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Active

Version

3.0

Component

Code

Created by

🇩🇪Germany anruether Bonn

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

Comments & Activities

  • Issue created by @anruether
  • 🇭🇺Hungary pasqualle 🇭🇺 Budapest

    The latest module release is not compatible with latest drush. This makes the cl generator unusable.

    drupal/cl_generator 2.0.0-beta1 requires chi-teck/drupal-code-generator ^2.5
    
    composer why chi-teck/drupal-code-generator
    drush/drush 13.3.3 requires chi-teck/drupal-code-generator (^3.6 || ^4@alpha) 
    
Production build 0.71.5 2024