Problem/Motivation

This requirement is different from this one.

This means that when using Drupal 10.1, Composer will allow requiring masquerade 2.0.0 although it does not in fact work with Drupal 10.1.

Steps to reproduce

composer require drupal/core:^10.1
composer require drupal/masquerade # This will install 2.0.0 but this version is not compatible

Proposed resolution

You don't need to explicitly require drupal/core in your composer.json file, drupal.org will add automatically to the Composer package (based on core_version_requirement).

Issue fork masquerade-3470732

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

prudloff created an issue. See original summary.

prudloff’s picture

Status: Active » Needs review
anurag_nagar’s picture

StatusFileSize
new24.84 KB

@prudloff , I faced the same issue and attached the screenshot for more detail regarding issue.

I have verified the MR https://git.drupalcode.org/project/masquerade/-/merge_requests/15 and these small version change seems to be working fine.

anurag_nagar’s picture

Status: Needs review » Reviewed & tested by the community

Issue Status Updated.

  • andypost committed a97a8d16 on 8.x-2.x
    Issue #3470732 by prudloff: Wrong core dependency in composer.json
    
andypost’s picture

Status: Reviewed & tested by the community » Fixed

Thank you, merged

andypost’s picture

Status: Fixed » Closed (fixed)

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

voleger’s picture

Upgrade status is expected to fail as it expects next major version compatibility, which is not declared in the info file.