Does not update to 2.0.2

Created on 8 September 2023, over 1 year ago
Updated 6 December 2023, about 1 year ago

Problem/Motivation

Still on 2.0.1.

Steps to reproduce

Run composer require 'drupal/recaptcha_v3:^2.0'

- drupal/recaptcha_v3 2.0.2 requires google/recaptcha ^1.3 -> found google/recaptcha[1.3.0] but the package is fixed to 1.2.4 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.

Proposed resolution

Please check again the file, git, tag or MD5 version.

🐛 Bug report
Status

Closed: works as designed

Version

2.0

Component

Code

Created by

🇲🇽Mexico djkozz Puebla

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @djkozz
  • 🇺🇦Ukraine dench0

    You need to run the require command with dependencies update.
    Try:
    composer require 'drupal/recaptcha_v3:^2.0' -w or composer require 'drupal/recaptcha_v3:^2.0' -W

  • 🇲🇽Mexico djkozz Puebla

    Normally I do not add -w. But because the normal command does not works, I will try. Thank you Denis!

  • 🇲🇽Mexico djkozz Puebla

    Does not work with -W, stays in 2.0.1, terminal says: " - drupal/recaptcha_v3 2.0.2 requires google/recaptcha ^1.3 -> found google/recaptcha[1.3.0] but the package is fixed to 1.2.4 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command."

  • 🇺🇦Ukraine dench0

    Please show your composer.json file.

  • 🇮🇳India shubham_jain

    Hi, in the fresh installation it works fine. Attaching screenshot for refrence.

  • 🇺🇸United States bcobin

    Same problem. Following.

  • 🇺🇦Ukraine dench0

    @bcobin
    1. show your composer.json file
    2. which PHP version do you have?
    3. show the output of the command: composer why-not drupal/recaptcha_v3 2.0.2

  • 🇺🇸United States bcobin

    I'm on PHP 8.1.24 and you probably don't need to see my composer.json file - the output of the command says it all:

    drupal/recaptcha_v3 2.0.2 requires drupal/captcha (^2.0)

    (I was running captcha 1.14.)

    composer require 'drupal/captcha:^2.0' does the trick, followed by composer update drupal/recaptcha_v3

    Thanks!

  • Status changed to Closed: works as designed about 1 year ago
  • 🇺🇸United States stephenplatz

    I'm using php7.4.33, I'm currently on 2.0.1 and neither composer update drupal/recaptcha_v3 nor composer require 'drupal/recaptcha_v3:^2.0' works to update to 2.0.2, for what it's worth.

    In both case just Nothing to install, update or remove

  • 🇺🇦Ukraine dench0

    @stephenplatz
    you need to update the php to the 8 version: google/recaptcha 1.3.0 requires it

Production build 0.71.5 2024