Problem/Motivation
Admin Toolbar released a 3.0 branch with some new features. It would be nice to be able to use the new features with Only One.
Steps to reproduce
$ composer require drupal/admin_toolbar:^3.0
$ composer require drupal/onlyone:1.x-dev
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for drupal/onlyone 1.x-dev -> satisfiable by drupal/onlyone[1.x-dev].
- Conclusion: remove drupal/admin_toolbar 3.0.0
- Conclusion: don't install drupal/admin_toolbar 3.0.0
- drupal/onlyone 1.x-dev requires drupal/admin_toolbar ^2 -> satisfiable by drupal/admin_toolbar[2.x-dev, 2.0.0-beta1, 2.0.0-beta2, 2.0.0, 2.1.0, 2.2.0, 2.3.0, 2.4.0].
- Can only install one of: drupal/admin_toolbar[2.x-dev, 3.0.0].
- Can only install one of: drupal/admin_toolbar[2.0.0-beta1, 3.0.0].
- Can only install one of: drupal/admin_toolbar[2.0.0-beta2, 3.0.0].
- Can only install one of: drupal/admin_toolbar[2.0.0, 3.0.0].
- Can only install one of: drupal/admin_toolbar[2.1.0, 3.0.0].
- Can only install one of: drupal/admin_toolbar[2.2.0, 3.0.0].
- Can only install one of: drupal/admin_toolbar[2.3.0, 3.0.0].
- Can only install one of: drupal/admin_toolbar[2.4.0, 3.0.0].
- Installation request for drupal/admin_toolbar (locked at 3.0.0) -> satisfiable by drupal/admin_toolbar[3.0.0].
Installation failed, reverting ./composer.json to its original content.
Proposed resolution
Review the 3.0 branch to determine if there are any changes that would affect this module, if not, bump version requirements. If yes, figure out what a patch might look like.
Comments
Comment #3
damienmckennaI created a merge request with the necessary changes, which I've also uploaded in patch format. I have not tested the submodule to know if it still works, but this would at least solve the Composer problem.
Comment #5
adriancidThanks