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
- Take any Varbase 10.0.x project (
vardot/varbase:~10.0.9,drupal/varbase_core:~10.0.58). - Require the Drupal 11.3 core patch set so core is pulled to 11.3:
composer require vardot/drupal-core-patches:~11.3.0. - Run
composer update -W. - 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.
Issue fork varbase_core-3614868
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:
- 3614868
changes, plain diff MR !78
- 3614868-change-automatic-updates
compare
Comments
Comment #2
josebc commentedComment #3
josebc commentedComment #9
rajab natshah✅ Released varbase_core-10.0.59
Comment #12
rajab natshah