Update grnhse/greenhouse-tools-php dependency

Created on 12 May 2023, over 1 year ago

Steps to reproduce

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].

Proposed resolution

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.

Remaining tasks

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.

User interface changes

No user interface changes.

API changes

No API changes.

Data model changes

No data model changes.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

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

Comments & Activities

Production build 0.71.5 2024