Ensure All Dependencies Are Compatible With Drupal 10

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

Problem/Motivation

In order for this module to truly support Drupal 10, all of its dependencies need to as well. Currently build_hooks does not have an official D10 compatible release.

Steps to reproduce

Install this module using composer on a Drupal 10 site. Note that the Alpha 11 release is installed rather than the latest Alpha 13 release. I believe that this is because we added build_hooks as a dependency in Alpha 12. Composer knows to fall back to the most recent version of the module that is compatible with D10, including dependencies.

Proposed resolution

As a short term fix we should update our build_hook dependency to the current dev release of build_hooks since that release has Drupal 10 compatibility. To ensure that unexpected development functionality isn't introduced, we should pin this dependency to a known working commit in composer.json.

As a follow up task, we should work with the build_hooks maintainers to create an official Drupal 10 release, and then update our dependency to use that.

Remaining tasks

* Confirm that the current dev release can be installed on Drupal 10.
* Update pantheon_decoupled's build hooks dependency to use this release.
* Confirm that pantheon_decoupled can be installed on Drupal 10.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇺🇸United States brianperry

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

Comments & Activities

Production build 0.71.5 2024