drupal/bibcite_entity does not match your minimum-stability

Created on 5 January 2022, almost 3 years ago
Updated 3 June 2024, 6 months ago

Problem/Motivation

After succesfull runnning composer require 'drupal/bibcite:2.0.x-dev@dev' I ran composer require 'drupal/bibcite_migrate:^2.0@beta'.
I got this message in D9.3.2
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Root composer.json requires drupal/bibcite_migrate ^2.0@beta -> satisfiable by drupal/bibcite_migrate[2.0.0-beta1].
- drupal/bibcite_migrate 2.0.0-beta1 requires drupal/bibcite_entity * -> found drupal/bibcite_entity[dev-1.x, dev-2.0.x, 1.0.0-alpha1, ..., 1.x-dev (alias of dev-1.x), 2.0.0-beta1, 2.0.x-dev (alias of dev-2.0.x)] but it does not match your minimum-stability.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

πŸ› Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands promes

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States DamienMcKenna NH, USA

    The problem is that the module doesn't list its dependencies in the composer.json file, so the drupal.org packaging system adds the "dependencies" lines from the primary info file, which specifies "bibcite_entity" instead of just "bibcite". While there isn't a separate "bibcite_entity" project on d.o, it fakes one based upon each of the modules included in the project, thus the existence of "bibcite_entity" in Composer.

    The proper fix to the problem is to update bibcite_migrate's dependencies in composer.json, per the patch I've included here, and have this committed.

    Until this is committed, you should use https://github.com/mglaman/composer-drupal-lenient to tell composer to ignore the requirements for bibcite_migrate by making these changes:

    $ composer require mglaman/composer-drupal-lenient
    $ composer config --merge --json extra.drupal-lenient.allowed-list '["drupal/bibcite_migrate", "drupal/bibcite_entity]'
    $ composer require drupal/bibcite_migrate:^2.0@beta
    
Production build 0.71.5 2024