Problem/Motivation

Varbase Core 10.0.x declares drupal/core: ~10.6.0 || ~11.3.0 but pins drupal/automatic_updates: ~3. Drupal core 11.3 declares "drupal/automatic_updates": "<4" in its conflict block, so the two can never be installed together. The advertised Drupal 11.3 support is therefore not installable, and any Varbase 10.0.x site attempting to move to core 11.3 fails dependency resolution.

Composer reports:

Problem 1
  - drupal/core 11.3.x-dev conflicts with drupal/automatic_updates <4.
  - drupal/varbase_core[dev-10.0.x, 10.0.58, ..., 10.0.x-dev] require drupal/automatic_updates ~3 -> satisfiable by drupal/automatic_updates[3.0.0-alpha1, ..., 3.1.x-dev].
  - Conclusion: install drupal/core 11.3.x-dev (conflict analysis result)

The 10.1.x branch is already correct: it pairs drupal/core: ~11.4.0 with drupal/automatic_updates: ~4. Only the 10.0.x branch, which has to support both core 10.6 and core 11.3, was missed.

This is a follow-up to #3561815, which widened the core constraint to ~10.6.0 || ~11.3.0 without bumping this dependency alongside it.

Steps to reproduce

  1. Take any Varbase 10.0.x project (vardot/varbase:~10.0.9, drupal/varbase_core:~10.0.58).
  2. Require the Drupal 11.3 core patch set so core is pulled to 11.3: composer require vardot/drupal-core-patches:~11.3.0.
  3. Run composer update -W.
  4. Resolution fails with the conflict above. Core stays on 10.6 and never reaches 11.3.

Proposed resolution

Change drupal/automatic_updates from ~3 to ~3 || ~4 in composer.json on the 10.0.x branch.

~3 || ~4 rather than ~4, because Varbase Core 10.0.x must resolve on both core lines it advertises. Automatic Updates 4.x declares core_version_requirement: ^11.2 (Drupal 11 only) and 3.1.7 declares ^10.1 || ^11, so a plain ~4 would break the core 10.6 half. With the union constraint Composer selects 3.x on core 10.6 and 4.x on core 11.3.

Verified locally on a Varbase 10.0.9 project: with this one constraint changed, drupal/core resolves cleanly to 11.3.16 with no other conflicts, so this is the only change needed on this branch.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

josebc created an issue. See original summary.

josebc’s picture

Issue summary: View changes
josebc’s picture

Issue summary: View changes

josebc changed the visibility of the branch 3614868-change-automatic-updates to hidden.

  • rajab natshah committed 9eb060c9 on 3614868-fix-the-pipeline
    ci: #3614868 Pin core on the composer job and keep the dev stability...

  • rajab natshah committed 549cb377 on 3614868-fix-the-pipeline
    ci: #3614868 Make the lint configs self-contained and record the PHPStan...

  • rajab natshah committed 1864c743 on 10.0.x
    ci: #3614868 Build a Drupal codebase so every validate job runs and...
rajab natshah’s picture

Assigned: josebc » Unassigned
Status: Active » Fixed
Issue tags: +varbase_core-10.0.59

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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

rajab natshah’s picture

Issue tags: +varbase_core-10.0.60