Composer requirement is wrong for openai-php client

Created on 12 February 2024, 4 months ago
Updated 8 April 2024, 3 months ago

Problem/Motivation

Cannot install the module with composer, I get an error:

  Problem 1
    - Root composer.json requires drupal/openai_image_for_drupal ^1.0 -> satisfiable by drupal/openai_image_for_drupal[1.0.0, ..., 1.0.x-dev].
    - drupal/openai_image_for_drupal[1.0.0, ..., 1.0.x-dev] require openai-php/client ^0.2.1 -> found openai-php/client[v0.2.1] but the package is fixed to v0.8.4 (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

Steps to reproduce

Try to install the module with composer require 'drupal/openai_image_for_drupal:^1.0'

Proposed resolution

Fix the openai-php/client version from 0.2.1 to v0.2.1

๐Ÿ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

๐Ÿ‡ซ๐Ÿ‡ฎFinland mErilainen

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024