Made a version compatible with Drupal 10.1.2 composer/installers ^1.11

Created on 17 January 2024, 10 months ago
Updated 19 January 2024, 10 months ago

Hello and thanks for the module

Problem/Motivation

I would like to install the Media Contextual Crop Reference module but I get incompatibilities problems.
First with drupal/media_library_media_modify": "^1.0@beta" that I solved adding in my composer.json requeriment "drupal/media_library_media_modify": "^1.0.0@beta".
But now your module requires composer/installers ^2.0 and Drupal requires ^1.11.
I don't want to have future problems if I update, so I request the possibility to keep with stable Drupal 10.1.2.

Steps to reproduce

  • Try to install the module
  • composer require 'drupal/media_contextual_crop_field_formatter:^2.0' -W

  • you will get this error.
    Your requirements could not be resolved to an installable set of packages.</li>
    
      Problem 1
        - Root composer.json requires drupal/media_contextual_crop_field_formatter ^2.0 -> satisfiable by drupal/media_contextual_crop_field_formatter[2.0.0].
        - drupal/media_contextual_crop_field_formatter 2.0.0 requires drupal/media_library_media_modify ^1.0@beta -> found drupal/media_library_media_modify[dev-1.0.x, 1.0.0-beta1, ..., 1.0.x-dev (alias of dev-1.0.x)] but it does not match your minimum-stability.
    
  • Change the composer.json on your project and in requeriments add
  • "drupal/media_library_media_modify": "^1.0.0@beta"

  • Try to install
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires drupal/media_contextual_crop_field_formatter ^2.0 -> satisfiable by drupal/media_contextual_crop_field_formatter[2.0.0].
    - drupal/media_contextual_crop_field_formatter 2.0.0 requires composer/installers ^2.0 -> found composer/installers[v2.0.0, ..., v2.2.0] but it conflicts with your root composer.json require (^1.11).

Proposed resolution

Have a version that is compatible with Drupal stable or explain what are the reasons for your change and the consequences.

Thanks for your generous work :)

Feature request
Status

Fixed

Version

2.0

Component

Code

Created by

🇪🇸Spain candelas

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

Comments & Activities

Production build 0.71.5 2024