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.
For sites updating to latest stable major release of drush 11 one will see the following debug output.
[debug] acquia_search commands loaded even though its constraint (^9 || ^10) is incompatible with Drush 11.x. Broaden the constraint in modules/contrib/acquia_search/composer.json (see 'extra\drush\services' section) to remove this message.
Update the constraint syntax within the composer.json file as indicated.
Issue fork acquia_search-3298196
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
hershey.k CreditAttribution: hershey.k as a volunteer commentedComment #4
hershey.k CreditAttribution: hershey.k as a volunteer commentedComment #5
hershey.k CreditAttribution: hershey.k as a volunteer commentedComment #6
Eduardo Morales AlbertiMaybe using the constraint ">=10" is to optimistic hershy.k, I propose use ^10||^11
Comment #8
Eduardo Morales AlbertiFixed on commit https://git.drupalcode.org/project/acquia_search/-/commit/37a09519f5e28e...
Comment #9
hershey.k CreditAttribution: hershey.k as a volunteer commented@Eduardo Morales Alberti I'm not seeing your committed fix on the
3.1.x-dev
branch see -https://git.drupalcode.org/project/acquia_search/-/blob/3.1.x/composer.j....
In response to your comment:
.
The constraint
>=10
indicates the version needs to be equal or greater than 10 so we can support future versions of drush without having to update the code again (and it supports both 10 and 11 the same as the proposed syntax). With the format^10 || ^11
while it will practically mean the same at this time, it will mean these lines will need to be updated again once drush 12.x is released in the future.Comment #10
Eduardo Morales AlbertiIt was fixed already on the module https://git.drupalcode.org/project/acquia_search/-/blame/3.x/composer.js... only on branch 3.x, but not 3.1.x
Comment #11
Eduardo Morales AlbertiComment #13
japerryThis is outdated and fixed in 3.1.x please don't re-open.
Comment #14
Eduardo Morales Alberti@japerry in the 3.1.X is not fixed https://git.drupalcode.org/project/acquia_search/-/blob/88c871c552aac414...
I will not reopen this but is not fixed.
Comment #15
hershey.k CreditAttribution: hershey.k as a volunteer commentedFor those wondering now this has been fixed on 3.1.x as well. Since 3.1.5 release.
See https://git.drupalcode.org/project/acquia_search/-/commit/2ec94249a21302...