Version 3.x info.yml file does not support D10 but composer.json does

Created on 2 June 2024, 6 months ago
Updated 23 July 2024, 4 months ago

Problem/Motivation

3.0.x branches info file only specifies drupal 8 and 9
openapi.info.yml
core_version_requirement: '^8 || ^9'

While composer.json supports 8, 9 and 10
core_version_requirement: ^8 || ^9 || ^10

This means one can use composer to download it, but then can not enable it on drupal 10.

Steps to reproduce

composer require 'drupal/openapi:3.0.x-dev@dev'
drush en openapi -y

In ModuleInstaller.php line 123:

Unable to install modules: module 'openapi' is incompatible with this version of Drupal core.

Proposed resolution

just update the composer.json, easy.

Remaining tasks

update composer.json

User interface changes

none

API changes

none

Data model changes

none

🐛 Bug report
Status

Closed: outdated

Version

3.0

Component

Code

Created by

🇦🇺Australia thursday_bw

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024