Dependency Conflict between address 2.0 and contacts 3.0.

Created on 5 March 2024, 4 months ago
Updated 11 March 2024, 4 months ago

Problem/Motivation

Dependency Conflict between 10.2.3 and contacts 3.0.

When attempting to install, composer complains of mismatch:

Running composer update drupal/contacts
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Root composer.json requires drupal/contacts ^3.0 -> satisfiable by drupal/contacts[3.0.0].
- drupal/contacts 3.0.0 requires drupal/address ~1.6 -> found drupal/address[dev-1.x, 1.6.0, ..., 1.x-dev (alias of dev-1.x)] but it conflicts with your root composer.json require (^2.0).

Steps to reproduce

Existing install of Drupal core 10.2.3.

composer require 'drupal/contacts:^3.0'

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Needs review

Version

3.0

Component

Code

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

Comments & Activities

  • Issue created by @thecrystalcross
  • πŸ‡ΊπŸ‡ΈUnited States mortona2k Seattle

    The conflict is not with Drupal core, it's with Address ^2.0. I updated the issue.

    drupal/contacts 3.0.0 requires drupal/address ~1.6 -> found drupal/address[dev-1.x, 1.6.0, ..., 1.x-dev (alias of dev-1.x)] but it conflicts with your root composer.json require (^2.0)

  • Pipeline finished with Failed
    4 months ago
    #116786
  • Status changed to Needs review 4 months ago
  • πŸ‡ΊπŸ‡ΈUnited States mortona2k Seattle

    To test the composer change, you would have to clone the issue fork outside your modules dir, and set up a custom path repository for it in your composer.json. Require the custom package, and it will use the new composer file to download.

    What really needs to be checked is compatibility with Address 2.0. You could just clone this module to your modules dir with Address 2.0 installed and see if it works. That would be a big help.

Production build 0.69.0 2024