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.
Libraries 2.x had a stable release just a few weeks ago so colorbox no longer needs to specify the dev version as mandatory.
Comment | File | Size | Author |
---|---|---|---|
#9 | libraries_version_dependacy_fix-1953316-9.patch | 350 bytes | griz |
#1 | 1953316-1-colorbox_libraries_stable.patch | 342 bytes | dalin |
Comments
Comment #1
dalinComment #2
frjo CreditAttribution: frjo commentedMy understanding is that the line "dependencies[] = libraries (2.x)" sets the dependency för Libraries API module version 2.x, i.e. 2.0 2.1 2.2 etc are ok but 1.0 or 1.1 etc are not.
This will then force people that use Colorbox 2.x to install or upgrade to Libraries 2.x.
Comment #3
dalinThat didn't appear to be the case for me. I have Libraries 7.x-2.1 and it wouldn't let me install colorbox.
But according to the documentation here, it _should_ work just fine:
http://drupal.org/node/542202
If the bug is not reproducible it must be something particular to just this site.
Comment #4
frjo CreditAttribution: frjo commentedDo you have this information in the libraries.info file?
If you use git e.g. to install modules I believe this information is missing.
Comment #5
dalinThat is exactly what I have:
Putting this on hold unless someone else can reproduce.
Comment #6
griz CreditAttribution: griz commentedIt needs to read :
dependencies[] = libraries (>=2.0)
https://drupal.org/node/1971694
Comment #7
dooug CreditAttribution: dooug commentedMarked #1859806: Enabling with drush causes "Module colorbox cannot be enabled because it depends on libraries (2.x) but 7.x-2.0 is available" as duplicate.
Comment #8
griz CreditAttribution: griz commentedNudge :)
Comment #9
griz CreditAttribution: griz commentedComment #10
frjo CreditAttribution: frjo commentedComment #12
frjo CreditAttribution: frjo commentedUnable to reproduce this but the "libraries (>=2.x)" format works equally well for me so committing.