- Issue created by @hossein.daliran
- @hosseindaliran opened merge request.
Install Drupal 10.
Attempt to install the Greenhouse Job Board API module using the command composer require 'drupal/gh_jobs:^1.1@alpha'.
Observe that the installation fails due to a dependency on grnhse/greenhouse-tools-php version 1, which is not compatible with Drupal 10 using php 8.1.
Problem 1
- grnhse/greenhouse-tools-php[1.0.0, ..., v1.2] require guzzlehttp/guzzle ~6.0 -> found guzzlehttp/guzzle[6.0.0, ..., 6.5.x-dev] but the package is fixed to 7.5.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.
- grnhse/greenhouse-tools-php[1.2.1, ..., v1.3.4] require guzzlehttp/guzzle ~6.2 -> found guzzlehttp/guzzle[6.2.0, ..., 6.5.x-dev] but the package is fixed to 7.5.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.
- drupal/gh_jobs[1.1.0-alpha1, ..., 1.1.0-alpha2] require grnhse/greenhouse-tools-php ~1.0 -> satisfiable by grnhse/greenhouse-tools-php[1.0.0, ..., v1.3.4].
- Root composer.json requires drupal/gh_jobs ^1.1@alpha -> satisfiable by drupal/gh_jobs[1.1.0-alpha1, 1.1.0-alpha2].
Update the composer.json file of the Greenhouse Job Board API module to require grnhse/greenhouse-tools-php version 2 instead of version 1. This change will allow the module to be installed on Drupal 10 using php 8.1.
Apply the proposed change to the composer.json file.
Test the module with the updated dependency on a Drupal 10 site.
Review and commit the change.
No user interface changes.
No API changes.
No data model changes.
Active
1.0
Code