The dependencies list seems to incorrectly define the ctools and token dependencies for 7.x. When attempting to enable the module via drush, I receive the following (these modules are installed and enabled on our site):

$ drush en amp
No release history was found for the requested project (ctools:ctools).           [error]
No release history was found for the requested project (token:token).             [error]
Module amp cannot be enabled because it depends on the following modules which    [error]
could not be found: ctools:ctools,token:token

Comments

mattwith created an issue. See original summary.

mattwith’s picture

StatusFileSize
new338 bytes

Please see the attached patch which fixes the problem for me.

dave reid’s picture

Status: Active » Reviewed & tested by the community
dave reid’s picture

The documentation page is totally missing that the new format is only supported as of Drupal 7.40: https://www.drupal.org/node/2299747

  • mdrummond committed 4171cb1 on 7.x-1.x authored by mattwith
    Issue #2753203 by mattwith, Dave Reid: Incorrect dependencies format in...
rainbowarray’s picture

Status: Reviewed & tested by the community » Fixed

Thanks for the find and the fix!

mattwith’s picture

Thanks Dave and Marc!

dave reid’s picture

I revised the handbook page to indicate that in most cases, the project dependency information isn't necessary in D7, only in cases where module name != project name on Drupal.org (which was well explained in the "Project dependency" section already).

mtift’s picture

/me waves to @mattwith :)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.