Problem/Motivation

From https://www.drupal.org/docs/develop/using-composer/add-a-composerjson-fi...

If your project does have a composer.json file, having a drupal/core version requirement is also not required for Drupal 9 compatibility. It is better not to provide a drupal/core version requirement in composer.json because Drupal's composer facade will generate the appropriate metadata based on the info.yml file.

And speaking as a site maintainer, modules that include core as a dependency can be a little troublesome if you have to do something weird while updating dependencies.

Proposed resolution

Delete the requirement.

Remaining tasks

Delete the requirement.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

dcam created an issue. See original summary.

dcam’s picture

Status: Active » Needs review

I'll leave this open for a few days in case anyone wants to comment on it.

  • dcam committed 21773976 on 2.x
    Issue #3456373 by dcam: Remove drupal/core requirement from composer....
dcam’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.