Closed (fixed)
Project:
Term Merge
Version:
2.0.0-beta4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Apr 2022 at 02:00 UTC
Updated:
25 Oct 2022 at 05:14 UTC
Jump to comment: Most recent
Composer reports that "drupal/term_merge 2.0.0-beta2 requires php ^7.4 -> your php version (8.1.3) does not satisfy that requirement."
I had the drupal/term_merge ^2.0.0-beta1 installed before upgrading the server php from 7.4 to 8.1.
Run:
composer update drupal/term_merge:2.0.0-beta2 -W
Result:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires drupal/term_merge ^2.0@beta, 2.0.0-beta2 -> satisfiable by drupal/term_merge[2.0.0-beta2].
- drupal/term_merge 2.0.0-beta2 requires php ^7.4 -> your php version (8.1.3) does not satisfy that requirement.Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
grahamshepherd commentedComment #3
grahamshepherd commentedI have tried the installation on another site on which term_merge was not previously installed.
PHP version 8.1.4
composer require 'drupal/term_merge:^2.0.0-beta2'Results in:
I have changed the title accordingly, to reflect that it is the beta2 version which introduces the php 8.1 incompatibility.
Comment #4
grahamshepherd commentedI suspect that the problem is caused by the addition of a composer.json file in the beta2 version which includes:
This should be changed to:
Comment #5
idiaz.ronceroI can confirm this issue, and is troublesome even if you apply a patch because Composer will complain (and fail) before trying to apply the fix. This needs to be commited to the repo directly.
Comment #7
idiaz.ronceroSubmitted MR to quick fix this.
Comment #8
idiaz.ronceroComment #9
mauhg commentedTested the patch as a forked dependency and is working with PHP 8
Comment #10
mauhg commentedComment #11
renrhaf+1 RTBC
Comment #13
daniel_j commentedFixed in beta4.
Comment #14
grahamshepherd commentedMany thanks. Works fine.