Contrib module menu_attach_block injects incorrect dependency

Migrated issue

Reported by: cameron tod

I maintain Menu Attach Block, which is a 7.x project. Someone posted an issue in my queue that complains that when trying to install MAB via composer, it fails with a requirement for a non-existent dependency.

 Problem 1
    - Installation request for drupal/menu_attach_block ^1.20 -> satisfiable by drupal/menu_attach_block[1.20.0].
    - drupal/menu_attach_block 1.20.0 requires drupal/rebuild-block * -> no matching package found.

I'm not sure where this requirement is being introduced. It's certainly not something I've added in the .info file.

Related issue: Issue #2810005

Edited by drupalbot