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 →
- ✅ No Update
- ➖ Optional Update
- ➖ Forced Update
- ➖ Forced Update if Unchanged
User interface changes
API changes
Data model changes
Release notes snippet
- Issue
#3394303 →
: Allowed Varbase Media Demo Assets
~10.0
to be installed with Drupal ~9.0
or Drupal ~10
sites