- Issue created by @kovalenkopavel
- Status changed to Closed: works as designed
almost 2 years ago 10:04am 27 February 2023 - π¦πΉAustria hudri Austria
This is incorrect, according to their module page drupal/captcha:^1.9 works with D9 and D10. This is not a bug. You are manually requesting an incompatible version of drupal/captcha. Remove the manually added dependency to drupal/captcha:^2 and let composer resolve the dependency.
- πΊπΈUnited States UnsettlingTrend
Oddly enough, it looks like Captcha 1.9 is listed as D10 compatible, but not 1.10.
https://www.drupal.org/project/captcha/releases/8.x-1.10 β
- π¬π§United Kingdom donaldp
That is an issue. Captcha 1.9 was marked as D10 compatible, but causes errors in D10. Rather than fix that issue they have released a new version 1.10 that is NOT makred as D10 compatible.
In otherwords the latest version of Captch 1.x is no longer compatible with D10.
See: https://www.drupal.org/project/captcha/releases/8.x-1.10 β
Also the isssue that caused this: https://www.drupal.org/project/captcha/issues/3351472 π Image not shown, PHP error Closed: duplicate
Currently composer can not resolve this.
This can be resolved by this: https://www.drupal.org/project/recaptcha/issues/3346050 β¨ Change CAPTCHA from ^1.4 to ^1.4 || ^2 in composer.json file Fixed - πΊπΈUnited States loopy1492
Yeah. Apparently removing the drupal/captcha line entirely does install whichever version recaptcha actually works with. In my case it was 1.9.0. Hopefully it doesn't introduce whatever errors @donaldp is talking about.
- heddn Nicaragua
I figured it out after a few minutes of staring at things.
drupal/captcha:2
is still beta tagged. Since I prefer stable and 1.9 also technically supported Drupal 10, it still fell back to 1.9. I have to manually add a requirement fordrupal/captcha:^2@beta
to get the correct version of captcha. Perhaps we can encourage a non alpha tag of captcha?