Problem/Motivation

  • I'm trying to upgrade from Drupal 10.3.10 to 10.3.11, but fails due to drupal/core-composer-scaffold missing version 10.3.11.

Steps to reproduce

  • Upgrading to Drupal 10.3.11 using the following commands:
    • composer require --no-update drupal/core-composer-scaffold:10.3.11
    • composer require --no-update drupal/core-recommended:10.3.11
    • composer require --dev --no-update drupal/core-dev:10.3.11
    • composer update -W drupal/core-composer-scaffold drupal/core-recommended drupal/core-dev
  • The update fails with the following error:
    Your requirements could not be resolved to an installable set of packages.
    
      Problem 1
        - Root composer.json requires drupal/core-composer-scaffold 10.3.11 (exact version match: 10.3.11 or 10.3.11.0), found drupal/core-composer-scaffold[8.8.0-alpha1, ..., 8.9.x-dev, 9.0.0-alpha1, ..., 9.5.x-dev, 10.0.0-alpha1, ..., 10.5.x-dev, 11.0.0-alpha1, ..., 11.x-dev] but it does not match the constraint.
  • Looking at https://packagist.org/packages/drupal/core-composer-scaffold, it appears that drupal/core-composer-scaffold does not have a 10.3.11 release

Proposed resolution

  • Create version 10.3.11 for drupal/core-composer-scaffold

Comments

andrew.wang created an issue. See original summary.

jerech’s picture

Pin an existing version of core-composer-scaffold, this is because the previous update does not work, you can manually pin the latest version of drupal/core-composer-scaffold compatible with 10.3.x

1)composer require drupal/core-composer-scaffold:^10.0 --no-update

2)composer update -W drupal/core-recommended drupal/core-dev drupal/core-composer-scaffold

catch’s picture

Project: Drupal core » Drupal.org Code Repository (Gitlab) & GitHub integration
Version: 10.3.x-dev »
Component: composer » Code

This was an issue with the packaging script. I think drumm fixed it but can't see 10.3.11 scaffold version yet. Could be something still needs to filter through or could be a remaining bug.

Moving to the d.o queue.

drumm’s picture

Project: Drupal.org Code Repository (Gitlab) & GitHub integration » Drupal.org infrastructure
Component: Code » Packaging
Assigned: Unassigned » drumm
Status: Active » Fixed

This is fixed now.

The webhook for this package was set up and sent a notification to update Packagist.org, but it failed to update. I manually triggered an update.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.