Installing Taxonomy Place via Composer

Created on 10 March 2024, 9 months ago

Problem/Motivation

I have already gone ahead and added the 2 Patches for drupal 10 to my composer.json

 "patches": {
            "drupal/taxonomy_place": {
                "Drupal 10 upgrade": "https://www.drupal.org/files/issues/2024-01-26/3394749-d10-update-address-2.x.patch",
                "Upgrade to support Address ^1.0 || ^2.0": "https://www.drupal.org/files/issues/2024-01-26/3417195-support-address-2.x.patch"
            }
        },

Then when i try to install Taxonomy place on Drupal 10 by running composer require 'drupal/taxonomy_place:^1.3'

I get

╰─ ddev composer require 'drupal/taxonomy_place:^1.3'
./composer.json has been updated
Running composer update drupal/taxonomy_place
Gathering patches for root package.
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/taxonomy_place ^1.3 -> satisfiable by drupal/taxonomy_place[1.3.0].
    - drupal/taxonomy_place 1.3.0 requires drupal/core ^8.0 || ^9.0 -> found drupal/core[8.0.0, ..., 8.9.20, 9.0.0, ..., 9.5.11] but the package is fixed to 10.2.4 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.
Composer [require drupal/taxonomy_place:^1.3] failed, composer command failed: exit status 2. stderr=

Any idea how to install composer with the patches

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.3

Component

Code

Created by

🇺🇸United States docans

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

Comments & Activities

Production build 0.71.5 2024