Creating a Drupal 10 compatible version - Early stages

Created on 19 March 2023, almost 2 years ago
Updated 22 March 2023, almost 2 years ago

I came across this module via a mention in the Webform module. I noticed it doesn't have a Drupal 10 version, but the Drupal 10 version of Webform references it. So here's the "background" I've done so far, toward a Drupal 10 compatible version...

I pulled down the latest version via composer, into a local Drupal 9 Dev/Test install I've got, then I copied the folder into a local D10 Dev/Test, and then I updated the .INFO.YML file to include the Drupal 10 in the core version requirement, then went in and activated it from the "Extend" screen. Doing so, I got an error message saying something about the module had to be installed via composer, because of the dependencies; so I attempted to run a composer update,hoping this would pull down the aforementioned dependencies, and I got the result shown below. Checking further, I found the composer.json file in the module's home directory, and made the core requirement update there also, and ran it again, getting the same results. Didn't dig into it beyond that to try to get it to work. It appears to have several core level requirements that are all newer versions than the requirements are calling for. So I'll share this to help get this ball rolling.

% ddev composer update
Loading composer repositories with package information
Info from https://repo.packagist.org: #StandWithUkraine
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - zendframework/zend-feed[2.11.0, ..., 2.12.0] require php ^5.6 || ^7.0 -> your php version (8.1.11) does not satisfy that requirement.
    - laminas/laminas-feed[2.12.0, ..., 2.12.3] require php ^5.6 || ^7.0 -> your php version (8.1.11) does not satisfy that requirement.
    - symfony-cmf/routing[1.4.0, ..., 1.4.1] require php ^5.3.9|^7.0 -> your php version (8.1.11) does not satisfy that requirement.
    - drupal/core[8.9.11, ..., 8.9.20] require php ^7.0.8 -> your php version (8.1.11) does not satisfy that requirement.
    - drupal/core[9.0.10, ..., 9.0.14] require php ^7.3 -> your php version (8.1.11) does not satisfy that requirement.
    - laminas/laminas-feed[2.13.0, ..., 2.14.1] require php ^7.3 || ~8.0.0 -> your php version (8.1.11) does not satisfy that requirement.
    - Root composer.json requires drupal/vani ^10.0 -> satisfiable by drupal/vani[10.0.0].
    - Root composer.json requires drupal/telephone_validation ^2.3 -> satisfiable by drupal/telephone_validation[2.3.0].
    - Conclusion: don't install drupal/core 10.0.2 (conflict analysis result)
    - Conclusion: don't install drupal/core 10.0.3 (conflict analysis result)
    - Conclusion: don't install drupal/core 10.0.4 (conflict analysis result)
    - Conclusion: don't install drupal/core 10.0.5 (conflict analysis result)
    - drush/drush[11.4.0, ..., 11.5.1] conflict with drupal/core 9.1.15.
    - drush/drush[11.4.0, ..., 11.5.1] conflict with drupal/core 9.1.14.
    - drush/drush[11.4.0, ..., 11.5.1] conflict with drupal/core 9.1.13.
    - drush/drush[11.4.0, ..., 11.5.1] conflict with drupal/core 9.1.12.
    - drush/drush[11.4.0, ..., 11.5.1] conflict with drupal/core 9.1.11.
    - drush/drush[11.4.0, ..., 11.5.1] conflict with drupal/core 9.1.10.
    - drush/drush[11.4.0, ..., 11.5.1] conflict with drupal/core 9.1.9.
    - drush/drush[11.4.0, ..., 11.5.1] conflict with drupal/core 9.1.8.
    - drush/drush[11.4.0, ..., 11.5.1] conflict with drupal/core 9.1.7.
    - drush/drush[11.4.0, ..., 11.5.1] conflict with drupal/core 9.1.6.
    - drush/drush[11.4.0, ..., 11.5.1] conflict with drupal/core 9.1.5.
    - drush/drush[11.4.0, ..., 11.5.1] conflict with drupal/core 9.1.4.
    - drush/drush[11.4.0, ..., 11.5.1] conflict with drupal/core 9.1.3.
    - drush/drush[11.4.0, ..., 11.5.1] conflict with drupal/core 9.1.2.
    - drush/drush[11.4.0, ..., 11.5.1] conflict with drupal/core 9.1.1.
    - drush/drush[11.4.0, ..., 11.5.1] conflict with drupal/core 9.1.0.
    - drush/drush[11.4.0, ..., 11.5.1] conflict with drupal/core 9.0.9.
    - drush/drush[11.4.0, ..., 11.5.1] conflict with drupal/core 9.0.8.
    - drush/drush[11.4.0, ..., 11.5.1] conflict with drupal/core 9.0.7.
    - drush/drush[11.4.0, ..., 11.5.1] conflict with drupal/core 9.0.6.
    - drush/drush[11.4.0, ..., 11.5.1] conflict with drupal/core 9.0.5.
    - drush/drush[11.4.0, ..., 11.5.1] conflict with drupal/core 9.0.4.
    - drush/drush[11.4.0, ..., 11.5.1] conflict with drupal/core 9.0.3.
    - drush/drush[11.4.0, ..., 11.5.1] conflict with drupal/core 9.0.2.
    - drush/drush[11.4.0, ..., 11.5.1] conflict with drupal/core 9.0.1.
    - drush/drush[11.4.0, ..., 11.5.1] conflict with drupal/core 9.0.0.
    - drush/drush[11.4.0, ..., 11.5.1] conflict with drupal/core 8.1.10.
    - drush/drush[11.4.0, ..., 11.5.1] conflict with drupal/core 8.1.9.
    - drush/drush[11.4.0, ..., 11.5.1] conflict with drupal/core 8.1.8.
    - drush/drush[11.4.0, ..., 11.5.1] conflict with drupal/core 8.1.7.
    - drush/drush[11.4.0, ..., 11.5.1] conflict with drupal/core 8.1.6.
    - drush/drush[11.4.0, ..., 11.5.1] conflict with drupal/core 8.1.5.
    - drush/drush[11.4.0, ..., 11.5.1] conflict with drupal/core 8.1.4.
    - drush/drush[11.4.0, ..., 11.5.1] conflict with drupal/core 8.1.3.
    - drush/drush[11.4.0, ..., 11.5.1] conflict with drupal/core 8.1.2.
    - drush/drush[11.4.0, ..., 11.5.1] conflict with drupal/core 8.1.1.
    - drush/drush[11.4.0, ..., 11.5.1] conflict with drupal/core 8.1.0.
    - drush/drush[11.4.0, ..., 11.5.1] conflict with drupal/core 8.0.6.
    - drush/drush[11.4.0, ..., 11.5.1] conflict with drupal/core 8.0.5.
    - drush/drush[11.4.0, ..., 11.5.1] conflict with drupal/core 8.0.4.
    - drush/drush[11.4.0, ..., 11.5.1] conflict with drupal/core 8.0.3.
    - drush/drush[11.4.0, ..., 11.5.1] conflict with drupal/core 8.0.2.
    - drush/drush[11.4.0, ..., 11.5.1] conflict with drupal/core 8.0.1.
    - drush/drush[11.4.0, ..., 11.5.1] conflict with drupal/core 8.0.0.
    - drupal/core[8.4.0, ..., 8.9.10] require symfony-cmf/routing ^1.4 -> satisfiable by symfony-cmf/routing[1.4.0, 1.4.1].
    - drupal/core[8.2.0, ..., 8.3.9] require symfony-cmf/routing ~1.4 -> satisfiable by symfony-cmf/routing[1.4.0, 1.4.1].
    - drupal/core[8.8.0, ..., 8.8.12] require zendframework/zend-feed ^2.12 -> satisfiable by laminas/laminas-feed[2.12.0, ..., 2.19.0], zendframework/zend-feed[2.12.0].
    - Root composer.json requires drush/drush ^11.4 -> satisfiable by drush/drush[11.4.0, 11.5.0, 11.5.1].
    - drupal/telephone_validation 2.3.0 requires drupal/core ^8 || ^9 -> satisfiable by drupal/core[8.0.0, ..., 8.9.20, 9.0.0, ..., 9.5.5].
    - You can only install one version of a package, so only one of these can be installed: drupal/core[8.0.0, ..., 8.9.20, 9.0.0, ..., 9.5.5, 10.0.0, ..., 10.0.5].
    - You can only install one version of a package, so only one of these can be installed: drupal/core[8.7.0, ..., 8.9.20, 9.0.0, ..., 9.5.5, 10.0.0, ..., 10.0.5].
    - drupal/vani 10.0.0 requires drupal/core ^10 -> satisfiable by drupal/core[10.0.0, ..., 10.0.5].
    - Conclusion: don't install drupal/core 10.0.1 (conflict analysis result)

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
composer [update] failed, composer command failed: exit status 2. stderr=
🌱 Plan
Status

Closed: duplicate

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States BEGRAFX Laconia, New Hampshire

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

Comments & Activities

Production build 0.71.5 2024