Indicate Drupal 8/9 compatibility via core_version_requirement

Created on 24 October 2022, about 2 years ago
Updated 6 May 2023, over 1 year ago

Problem/Motivation

Trying to install latest tagged version using composer throws an error.

- Root composer.json requires drupal/lb_ux 1.0.0-beta2 -> satisfiable by drupal/lb_ux[1.0.0-beta2].
- drupal/lb_ux 1.0.0-beta2 requires drupal/core ^8 -> found drupal/core[8.0.0-beta6, ..., 8.9.x-dev] but it conflicts with your root composer.json require (9.4.8).

Steps to reproduce

Install the module via composer in a D9 project.

Proposed resolution

Create a new tag and a release with the supported version for D9.

API changes

Support for D9,

🐛 Bug report
Status

Closed: duplicate

Component

Code

Created by

🇩🇪Germany eugen zerr

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 Kingdom ChandeepKhosa

    I also experienced this issue on a site running Drupal 9.5.1 when running `composer require drupal/lb_ux`

    Using version ^1.0@beta for drupal/lb_ux
    ./composer.json has been updated
    Running composer update drupal/lb_ux
    Gathering patches for root package.
    Loading composer repositories with package information
    Updating dependencies
    Info from https://repo.packagist.org: #StandWithUkraine
    Your requirements could not be resolved to an installable set of packages.
    
      Problem 1
        - Root composer.json requires drupal/lb_ux ^1.0@beta -> satisfiable by drupal/lb_ux[1.0.0-beta1, 1.0.0-beta2].
        - drupal/lb_ux[1.0.0-beta1, ..., 1.0.0-beta2] require drupal/core ^8 -> found drupal/core[8.0.0-beta6, ..., 8.9.x-dev] but the package is fixed to 9.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.
    

    My workaround was to run composer require 'drupal/lb_ux:^1.0@beta' listed on the latest release page https://www.drupal.org/project/lb_ux/releases/8.x-1.0-beta2

  • Status changed to Closed: duplicate over 1 year ago
  • 🇫🇷France andypost

    Compatibility with 9.2-10.1 in MR, closing as duplicate of 📌 Drupal 10.1 compatibility fixes Fixed

Production build 0.71.5 2024