Skip to content

[#3423194] Drupal 10 compatibility

Owen McKenna requested to merge issue/yaml_sandbox-3423194:8.x-1.x into 8.x-1.x

Solves the issue that the module cannot be installed into a Drupal 10 instance.

Example error message:

` ddev composer require 'drupal/yaml_sandbox:1.x-dev@dev'

./composer.json has been updated Running composer update drupal/yaml_sandbox Loading composer repositories with package information Updating dependencies

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

Problem 1 - drupal/yaml_sandbox dev-1.x requires drupal/core ^8 || ^9 -> found drupal/core[8.0.0, ..., 8.9.20, 9.0.0, ..., 9.5.11] but the package is fixed to 10.2.3 (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. - drupal/yaml_sandbox 1.x-dev is an alias of drupal/yaml_sandbox dev-1.x and thus requires it to be installed too. - Root composer.json requires drupal/yaml_sandbox 1.x-dev@dev -> satisfiable by drupal/yaml_sandbox[1.x-dev (alias of dev-1.x)].

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

Merge request reports

Loading