Allow Varbase Media Demo Assets ~10.0 to be installed with Drupal ~9.0 or Drupal ~10 sites

Created on 16 October 2023, 9 months ago
Updated 12 December 2023, 7 months ago

Problem/Motivation

Facing the following issue with automated testing bash scripts and processes

Problem 1
    - drupal/varbase_media_demo[dev-9.0.x, 9.0.0, ..., 9.0.x-dev] require drupal/core ~9.0 -> found drupal/core[9.0.0-alpha1, ..., 9.5.x-dev] but it conflicts with your root composer.json require (~10.1.0).
    - drupal/varbase_media_demo[dev-10.0.x, 10.0.0, ..., 10.0.x-dev] require drupal/varbase_media ~10.0 || 10.0.x-dev -> found drupal/varbase_media[dev-10.0.x, 10.0.0-alpha1, ..., 10.0.x-dev (alias of dev-10.0.x)] but the package is fixed to 9.0.x-dev (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.
    - Root composer.json requires drupal/varbase_media_demo * -> satisfiable by drupal/varbase_media_demo[dev-9.0.x, dev-10.0.x, 9.0.0, 9.0.x-dev, 10.0.0, 10.0.x-dev].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require drupal/varbase_media_demo:*" to figure out if any version is installable, or "composer require drupal/varbase_media_demo:^2.1" if you know which you need.

Proposed resolution

Have the following in the composer.json file.

  "require": {
    "drupal/core": "~9.5.0 || ~10.1.0",
    "drupal/varbase_media": "~9.0 || 9.0.x-dev || ~10.0 || 10.0.x-dev"
  }

Remaining tasks

  • βœ… File an issue about this project
  • βœ… Addition/Change/Update/Fix to this project
  • βœ… Testing to ensure no regression
  • βž– Automated unit/functional testing coverage
  • βž– Developer Documentation support on feature change/addition
  • βž– User Guide Documentation support on feature change/addition
  • βž– Accessibility and Readability
  • βœ… Code review from 1 Varbase core team member
  • βœ… Full testing and approval
  • βœ… Credit contributors
  • βœ… Review with the product owner
  • βœ… Update Release Notes and Update Helper on new feature change/addition
  • βœ… Release varbase-9.0.17 β†’ , varbase-10.0.0-rc1 β†’ , varbase_media_demo-10.0.1 β†’

Varbase update type

  • βœ… No Update
  • βž– Optional Update
  • βž– Forced Update
  • βž– Forced Update if Unchanged

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • Issue #3394303 β†’ : Allowed Varbase Media Demo Assets ~10.0 to be installed with Drupal ~9.0 or Drupal ~10 sites
πŸ“Œ Task
Status

Fixed

Version

10.0

Component

Code

Created by

πŸ‡―πŸ‡΄Jordan Rajab Natshah Jordan

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

Comments & Activities

Production build 0.69.0 2024