Support Guzzle 7

Created on 8 November 2022, over 1 year ago
Updated 2 March 2023, over 1 year ago

Currently Commerce Authorize.net requires guzzlehttp/guzzle ~6.2

For compatibility with newer versions of php, drupal core, and other modules it would be necessary to support guzzle ^7 as well.

I have no idea what's involved in that, just that commerceguys/authnet is the only module I'm using which is preventing the guzzle upgrade I need for other functionality.

Feature request
Status

Closed: duplicate

Version

1.0

Component

Code

Created by

🇺🇸United States derekw

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇮🇳India sirdhilip

    Hi @jsacksick,

    I have installed Drupal 10.0.2 and Commerce 8.x-2.33 module.
    When I try to install Commerce Authorize.net module. It is not installed. Since the commerceguys/authnet v1.1.2 requires guzzlehttp/guzzle ~6.2 But the package is fixed to 7.5.0.

    Kindly provide the solution.

    Please find the message.
    root@6f8c47df5856:/var/www/html/drupal/salesforce-gg# composer require 'drupal/commerce_authnet:1.x-dev@dev'
    Info from https://repo.packagist.org: #StandWithUkraine
    ./composer.json has been updated
    Running composer update drupal/commerce_authnet
    Loading composer repositories with package information
    Updating dependencies
    Your requirements could not be resolved to an installable set of packages.

    Problem 1
    - commerceguys/authnet v1.1.2 requires guzzlehttp/guzzle ~6.2 -> found guzzlehttp/guzzle[6.2.0, ..., 6.5.8] but the package is fixed to 7.5.0 (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.
    - drupal/commerce_authnet 1.x-dev is an alias of drupal/commerce_authnet dev-1.x and thus requires it to be installed too.
    - drupal/commerce_authnet dev-1.x requires commerceguys/authnet ^1.1.2 -> satisfiable by commerceguys/authnet[v1.1.2].
    - Root composer.json requires drupal/commerce_authnet 1.x-dev@dev -> satisfiable by drupal/commerce_authnet[1.x-dev (alias of dev-1.x)].

    Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

    Regards,
    Dhilipkumar Swaminathan

  • Status changed to Closed: duplicate over 1 year ago
  • 🇮🇱Israel jsacksick

    This is now fixed, please try installing the latest version.

    Duplicate of 🐛 8.x-.1.x-dev is not installed in Drupal 10.0.2 Fixed .

Production build 0.69.0 2024