Needs updating from external repo

Created on 24 June 2024, 5 months ago
Updated 28 June 2024, 5 months ago

Attempting to upgrade the project via composer fails at the moment. Does the Drupal module need to be updated from the external repo?

$ composer require drupal/emulsify_twig:^5
./composer.json has been updated
Running composer update drupal/emulsify_twig
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/emulsify_twig ^5, found drupal/emulsify_twig[5.0.0] but these were not loaded, likely because it conflicts with another require.
  Problem 2
    - drupal/emulsify_drupal is locked to version 4.9.0 and an update of this package was not requested.
    - drupal/emulsify_drupal 4.9.0 requires drupal/emulsify_twig ^4.0 -> found drupal/emulsify_twig[4.0.0] but it conflicts with your root composer.json require (^5).

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/emulsify_twig:^5 drupal/emulsify_drupal:^5
./composer.json has been updated
Running composer update drupal/emulsify_twig drupal/emulsify_drupal
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/emulsify_drupal ^5, found drupal/emulsify_drupal[1.0.0-beta1, 1.0.0-beta2, 1.0.0-beta3, 1.0.0-beta4, 2.0.0, 2.0.1, 2.1.0, 2.2.0, 4.1.0, ..., 4.9.0] but it does not match the constraint.

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.

πŸ› Bug report
Status

Fixed

Version

4.9

Component

Code

Created by

πŸ‡¦πŸ‡ΊAustralia Nigel Cunningham Geelong

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

Comments & Activities

  • Issue created by @Nigel Cunningham
  • Status changed to Fixed 5 months ago
  • πŸ‡ΊπŸ‡ΈUnited States callinmullaney

    Thank you @Nigel Cunningham for bringing this to my attention! We had this fixed in 4.9.1 release on our github but wasn't pushed to Drupal. I updated the release and composer should be working for you now.

  • πŸ‡¦πŸ‡ΊAustralia Nigel Cunningham Geelong

    Thanks for the reply.

    Confirmed that it works now:

    $ composer require drupal/emulsify_twig:^5 drupal/emulsify_drupal:^4.9 -W
    ./composer.json has been updated
    Running composer update drupal/emulsify_twig drupal/emulsify_drupal --with-all-dependencies
    Gathering patches for root package.
    Loading composer repositories with package information
    Updating dependencies
    Lock file operations: 0 installs, 2 updates, 0 removals
      - Upgrading drupal/emulsify_drupal (4.9.0 => 4.9.1)
      - Upgrading drupal/emulsify_twig (4.0.0 => 5.0.0)
    Writing lock file
    Installing dependencies from lock file (including require-dev)
    Package operations: 0 installs, 2 updates, 0 removals
      - Downloading drupal/emulsify_drupal (4.9.1)
    Gathering patches for root package.
    Gathering patches for dependencies. This might take a minute.
      - Upgrading drupal/emulsify_twig (4.0.0 => 5.0.0): Extracting archive
      - Upgrading drupal/emulsify_drupal (4.9.0 => 4.9.1): Extracting archive
    Generating autoload files
    58 packages you are using are looking for funding.
    Use the `composer fund` command to find out more!
    No security vulnerability advisories found.
    

    Thanks!

    Nij

  • Status changed to Fixed 5 months ago
  • πŸ‡ΊπŸ‡ΈUnited States callinmullaney
Production build 0.71.5 2024