Remove schemata:schemata_json_schema from info.yml

Created on 5 September 2023, over 1 year ago

Problem/Motivation

schemata_json_schema module is submodule of schemata module. But it requires like another contributed module.
Problem 1
- drupal/openapi_rest[2.0.0-rc1, ..., 2.0.0-rc3] require drupal/schemata_json_schema * -> found drupal/schemata_json_schema[dev-1.x, 1.0.0-alpha1, ..., 1.x-dev (alias of dev-1.x)] but it does not match your minimum-stability.
- Root composer.json requires drupal/openapi_rest ^2.0@RC -> satisfiable by drupal/openapi_rest[2.0.0-rc1, 2.0.0-rc2, 2.0.0-rc3].

Steps to reproduce

Install module using composer composer require 'drupal/openapi_rest:^2.0@RC' -W

Proposed resolution

Remove schemata:schemata_json_schema from info.yml

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇮🇳India Jeya sundhar Coimbatore

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

Comments & Activities

  • Issue created by @Jeya sundhar
  • Open in Jenkins → Open on Drupal.org →
    Core: 9.5.5 + Environment: PHP 7.4 & MySQL 5.7
    last update over 1 year ago
    10 pass
  • @jeya-sundhar opened merge request.
  • Status changed to Needs review over 1 year ago
  • Status changed to RTBC over 1 year ago
  • 🇧🇷Brazil elber Brazil

    Hi I reviewed it.

    I agree with the solution in MR, this dependency isn't necessary.

    Installation is working good now.

    Moving to RTBC.

  • 🇺🇸United States phenaproxima Massachusetts

    Problem 1
    - drupal/openapi_rest[2.0.0-rc1, ..., 2.0.0-rc3] require drupal/schemata_json_schema * -> found drupal/schemata_json_schema[dev-1.x, 1.0.0-alpha1, ..., 1.x-dev (alias of dev-1.x)] but it does not match your minimum-stability.
    - Root composer.json requires drupal/openapi_rest ^2.0@RC -> satisfiable by drupal/openapi_rest[2.0.0-rc1, 2.0.0-rc2, 2.0.0-rc3].

    The solution to this is not to change the info file; the problem here is that you probably have minimum-stability: stable in your project's composer.json, but Schemata has no stable release. (You could likely get around this by running composer require drupal/schemata_json_schema:@alpha.)

    I didn't write this module and don't know much about how it works, so I'm not really comfortable removing dependencies without knowing why they're there.

  • 🇬🇧United Kingdom marcelovani London

    Agreed. This issue was created few years ago and should no longer be an issue.

    BTW schemata_json_schema is indeed required, for example if you have the User module enabled.

Production build 0.71.5 2024