Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
as of #1180672-6: Add minimal version for media dependency (which i hereby confirm):
$ drush pm-enable -y media_gallery
Module media_gallery cannot be enabled because it depends on media (1.0-beta5) but 7.x-1.0-beta5 is available
$ cat .../media/media.info | grep version
version = "7.x-1.0-beta5"
$ cat media_gallery/media_gallery.info |grep "media ("
dependencies[] = media (<1.99)
installing through the ui works fine though.
looks like the ui is right and drush is wrong.
Comment | File | Size | Author |
---|---|---|---|
#1 | 0001-fixed-1322532-drush-pm-enable-dependency-resolution-.patch | 1.05 KB | geek-merlin |
Comments
Comment #1
geek-merlingot it!
attached patch handles version string passed to drupal_check_incompatibility() the way system_modules() does.
see: http://api.drupal.org/api/drupal/modules--system--system.admin.inc/funct...
Comment #2
moshe weitzman CreditAttribution: moshe weitzman commentedLooks right. Perhaps jonhattan can verify.
Comment #3
moshe weitzman CreditAttribution: moshe weitzman commentedcommitted to master and 4.x