Composer install: Conflicts with kint-php/kint 4.1

Created on 23 January 2024, 11 months ago
Updated 24 January 2024, 11 months ago

Problem/Motivation

Unable to install search api pantheon 8.1 module via composer.

Steps to reproduce

exec:
composer require 'drupal/search_api_pantheon:^8.1' -W

result:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - drupal/search_api_pantheon[8.1.0, ..., 8.x-dev] require kint-php/kint ^4.1 -> found kint-php/kint[4.1, ..., 4.x-dev] but it conflicts with your root composer.json require (^5.0).
    - Root composer.json requires drupal/search_api_pantheon ^8.1 -> satisfiable by drupal/search_api_pantheon[8.1.0, ..., 8.x-dev].
Installation failed, reverting ./composer.json and ./composer.lock to their original content.

Proposed resolution

Fix composer dependencies.

Remaining tasks

Todo

πŸ› Bug report
Status

Closed: works as designed

Version

8.1

Component

Code

Created by

πŸ‡΅πŸ‡±Poland azovsky

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

Comments & Activities

  • Issue created by @azovsky
  • πŸ‡ΊπŸ‡ΈUnited States Ec1ipsis

    I just tested this on a fresh Drupal 10 install from the Pantheon upstream and composer require drupal/search_api_pantheon:^8 completed as expected. Can you provide some additional context around Drupal version, specific version attempted to install, and whether or not there are other modules which require kint?

    Thank you!

  • Status changed to Closed: works as designed 11 months ago
  • πŸ‡΅πŸ‡±Poland azovsky

    Thanks Ec1ipsis! Yes, all looking good.

    I reviewed my project in detail and deleted the entry "kint-php/kint": "^5.0" from composer.json file. After that I installed the search_api_pantheon module normally.

    Sorry for disturbing.

Production build 0.71.5 2024