Please update to use the module in Drupal 10

Created on 25 January 2023, over 1 year ago
Updated 13 February 2024, 5 months ago

Problem/Motivation

We are working on our Drupal 9 to Drupal 10 Migration and I would like to continue using Drupacle.
At the time a composer installation in Drupal 10 is not possible on the standard way and I was not successful with installation of the patched version → from local directory either.

Steps to reproduce

# composer require 'drupal/drupacle:^2.0'
Info from https://repo.packagist.org: #StandWithUkraine
./composer.json has been updated
Running composer update drupal/drupacle
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/drupacle ^2.0 -> satisfiable by drupal/drupacle[2.0.0, 2.0.1].
    - drupal/drupacle[2.0.0, ..., 2.0.1] require drupal/core ^8 || ^9 -> found drupal/core[8.0.0, ..., 8.9.20, 9.0.0, ..., 9.5.2] but the package is fixed to 10.0.2 (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.

Try to install from patched local package

# composer require 'drupal/drupacle:^2.0' my-modules/drupacle-2.0.1.tar.gz

In PackageDiscoveryTrait.php line 368:

  Could not find a matching version of package my-modules/drupacle-2.0.1.tar.gz. 
  Check the package spelling, your version constraint and that the package is available in a stability
  which matches your minimum-stability (stable).

Proposed resolution

Release of a drupacle module for Drupal 10

💬 Support request
Status

Fixed

Version

2.0

Component

Code

Created by

🇩🇪Germany dipohl

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

Comments & Activities

Production build 0.69.0 2024