If I ran the following commands:
composer require drupal/devel 3.x-dev
composer require drupal/search_kint 1.x-dev
Then if I try to install devel_debug_log (regular or dev version doesn't matter)
composer require drupal/devel_debug_log 1.x-dev
I wil get the following errors which doesn't allow me to install it:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- drupal/kint 1.0.0-alpha1 requires drupal/devel 1.0.0-alpha1 -> satisfiable by drupal/devel[1.0.0-alpha1] but these conflict with your requirements or minimum-stability.
- drupal/kint 1.0.0-beta1 requires drupal/devel 1.0.0-beta1 -> satisfiable by drupal/devel[1.0.0-beta1] but these conflict with your requirements or minimum-stability.
- drupal/kint 1.0.0-rc1 requires drupal/devel 1.0.0-rc1 -> satisfiable by drupal/devel[1.0.0-rc1] but these conflict with your requirements or minimum-stability.
- drupal/kint 1.0.0-rc2 requires drupal/devel 1.0.0-rc2 -> satisfiable by drupal/devel[1.0.0-rc2] but these conflict with your requirements or minimum-stability.
- drupal/kint 1.0.0 requires drupal/devel 1.0.0 -> satisfiable by drupal/devel[1.0.0] but these conflict with your requirements or minimum-stability.
- drupal/kint 1.1.0 requires drupal/devel 1.1.0 -> satisfiable by drupal/devel[1.1.0] but these conflict with your requirements or minimum-stability.
- drupal/kint 1.2.0 requires drupal/devel 1.2.0 -> satisfiable by drupal/devel[1.2.0] but these conflict with your requirements or minimum-stability.
- drupal/kint 2.0.0 requires drupal/devel 2.0.0 -> satisfiable by drupal/devel[2.0.0] but these conflict with your requirements or minimum-stability.
- drupal/kint 2.1.0 requires drupal/devel 2.1.0 -> satisfiable by drupal/devel[2.1.0] but these conflict with your requirements or minimum-stability.
- Installation request for drupal/devel_debug_log 1.x-dev -> satisfiable by drupal/devel_debug_log[1.x-dev].
- Conclusion: remove drupal/devel 3.x-dev
- Conclusion: don't install drupal/devel 3.x-dev
- drupal/devel_debug_log 1.x-dev requires drupal/kint * -> satisfiable by drupal/kint[2.1.0, dev-2.x, 2.x-dev, 2.0.0, 1.2.0, 1.1.0, 1.0.0, 1.0.0-rc2, 1.0.0-rc1, 1.0.0-beta1, 1.0.0-alpha1, dev-1.x, 1.x-dev].
- drupal/kint dev-1.x requires drupal/devel dev-1.x -> satisfiable by drupal/devel[dev-1.x].
- drupal/kint 1.x-dev requires drupal/devel == 1.9999999.9999999.9999999-dev -> satisfiable by drupal/devel[1.x-dev].
- drupal/kint dev-2.x requires drupal/devel dev-2.x -> satisfiable by drupal/devel[dev-2.x].
- drupal/kint 2.x-dev requires drupal/devel == 2.9999999.9999999.9999999-dev -> satisfiable by drupal/devel[2.x-dev].
- Can only install one of: drupal/devel[dev-1.x, 3.x-dev].
- Can only install one of: drupal/devel[1.x-dev, 3.x-dev].
- Can only install one of: drupal/devel[dev-2.x, 3.x-dev].
- Can only install one of: drupal/devel[2.x-dev, 3.x-dev].
- Installation request for drupal/devel 3.x-dev -> satisfiable by drupal/devel[3.x-dev].
Installation failed, reverting ./composer.json to its original content.
Comments
Comment #2
vuilThe issue is already tested with the latest stable versions of the mentioned above module:
and we get them without any kind of issue:
Please review that we got
"drupal/devel:2.1"by default.Comment #3
vuilI change the issue category to Support request.
Comment #4
vuilComment #5
dunebl@vuil: thank you for your help.
I confirm that
allow me to install all the 3 modules.
I assume that
drupal/devel 3.x-devis not compatible withdrupal/devel_debug_logComment #6
duneblUnfortunately, the webprofile module in the 2.1 version will not work on D8.9.0.
I have a lot of WSOD when using it.
Reverting to devel 3.1 solve all those WSOD!
Conclusion: devel_debug_log composer is not compatible with devel 3.1 which is needed for D8.9.0 (if using webprofiler): this is a bug
Comment #7
anybodyMight this part of the composer.json perhaps cause the problems?
I just ran into a similar problem when testing it out with Drupal 9:
So for me devel_debug_log is NOT usable under Drupal 9 currently.
Comment #8
anybodySetting Active as of #6 + #7
I'd suggest a new 3.x release for Devel 3.x and Drupal 9 compatibility.
Comment #9
mmjvb commentedOnly when it is in the composer.json of the project (site) as it is root-only.
Comment #10
mandclu commentedOn a Drupal 9 install I just tried
composer require drupal/devel_debug_logwhich should install the module and its dependencies, but instead I got the composer errors shown in the original post and #7.I agree with the comment in #7, the issue appears to be the version of devel that is stated as a requirement in this module's composer.json.
The bigger issue for Drupal 9 is that version 4.0.0 of devel no longer includes kint as a submodule, so it's impossible to use devel_debug_log with Drupal 9, as the 8.x-2.1 version of devel is not compatible with Drupal 9.
Comment #11
jeni_dc commentedWhile devel_kint has been removed from the devel module in 4.0.0, as long as the kint library is present devel debug log continues to work with devel 4 on D9. As long as you can install it, that is.
Attached is a patch that removes the devel_kint module dependency, adds a requirement for kint in the composer.json, and adds a minimum version of 4.0.0 for devel.
Comment #12
mvdve commentedDependency issues are resolved with patch #11. The Kint library will only be installed via composer, this is a devel module, so that should not be a problem.
Comment #13
stefan.kornI can also confirm that #11 is solving the problem. But unfortunately this does not seem to be fixable by using composer patches. I suppose because composer checks the requirements before patches are applied. So one need to manually download devel_debug_log and patch it there. Therefore it would be very nice if this patch does get incorporated with a new release.
Comment #14
mogio_hh commentedWe need a proper Drupal 9 version. Composer patches are NOT compatible.
Comment #16
vuil