googlecloudstorage icon indicating copy to clipboard operation
googlecloudstorage copied to clipboard

composer dependencies

Open admin-snowfoot opened this issue 2 years ago • 7 comments

Hello, I'm trying to install the module via composer: composer require auroraextensions/googlecloudstorage:* -W However I get the following list of unsatisfied dependencies exceptions:

./composer.json has been updated
Running composer update auroraextensions/googlecloudstorage --with-all-dependencies
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - auroraextensions/googlecloudstorage 1.2.1 requires google/cloud-core ~1.33.0 -> satisfiable by google/cloud-core[v1.33.0, v1.33.1].
    - auroraextensions/googlecloudstorage[1.0.0, ..., 1.0.1] require magento/framework 102.*.* -> found magento/framework[102.0.0, ..., 102.0.7-p3] but these were not loaded, likely because it conflicts with another require.
    - auroraextensions/googlecloudstorage[1.1.0, ..., 1.2.0] require php ~7.2.0||~7.3.0||~7.4.0 -> your php version (8.2.9) does not satisfy that requirement.
    - google/cloud-core[v1.33.0, ..., v1.37.1] require guzzlehttp/guzzle ^5.3|^6.0 -> found guzzlehttp/guzzle[5.3.0, ..., 5.3.4, 6.0.0, ..., 6.5.8] but these were not loaded, likely because it conflicts with another require.
    - Root composer.json requires auroraextensions/googlecloudstorage * -> satisfiable by auroraextensions/googlecloudstorage[1.0.0, ..., 1.2.1].

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

I'm using magento 2.4.6 on debian 12 with php 8.2.9 Please help

admin-snowfoot avatar Sep 21 '23 20:09 admin-snowfoot

Hello @admin-snowfoot, please try the following instead and let me know if you still encounter issues:

composer require -W auroraextensions/googlecloudstorage:^1.2

nickolasburr avatar Sep 22 '23 14:09 nickolasburr

Hello Nicholas and thank you for your prompt answer. Unfortunately I'm still getting similar errors:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - auroraextensions/googlecloudstorage 1.2.1 requires google/cloud-core ~1.33.0 -> satisfiable by google/cloud-core[v1.33.0, v1.33.1].
    - auroraextensions/googlecloudstorage 1.2.0 requires php ~7.2.0||~7.3.0||~7.4.0 -> your php version (8.2.9) does not satisfy that requirement.
    - google/cloud-core[v1.33.0, ..., v1.37.1] require guzzlehttp/guzzle ^5.3|^6.0 -> found guzzlehttp/guzzle[5.3.0, ..., 5.3.4, 6.0.0, ..., 6.5.8] but these were not loaded, likely because it conflicts with another require.
    - Root composer.json requires auroraextensions/googlecloudstorage ^1.2 -> satisfiable by auroraextensions/googlecloudstorage[1.2.0, 1.2.1].

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

admin-snowfoot avatar Sep 23 '23 10:09 admin-snowfoot

@admin-snowfoot Okay, I will need more diagnostic information. Can you run the following and share the output?

composer prohibits auroraextensions/googlecloudstorage ^1.2

nickolasburr avatar Sep 28 '23 17:09 nickolasburr

I run again the two commands in sequence to provide more info, hope it helps KR, Nicola

@.**:/var/www/magento$ composer require -W auroraextensions/googlecloudstorage:^1.2

./composer.json has been updated

Running composer update auroraextensions/googlecloudstorage --with-all-dependencies

Loading composer repositories with package information

Info from https://repo.packagist.org: #StandWithUkraine

Updating dependencies

Your requirements could not be resolved to an installable set of packages.

Problem 1

- auroraextensions/googlecloudstorage 1.2.1 requires google/cloud-core

~1.33.0 -> satisfiable by google/cloud-core[v1.33.0, v1.33.1].

- auroraextensions/googlecloudstorage 1.2.0 requires php

~7.2.0||~7.3.0||~7.4.0 -> your php version (8.2.9) does not satisfy that requirement.

- google/cloud-core[v1.33.0, ..., v1.37.1] require guzzlehttp/guzzle

^5.3|^6.0 -> found guzzlehttp/guzzle[5.3.0, ..., 5.3.4, 6.0.0, ..., 6.5.8] but these were not loaded, likely because it conflicts with another require.

- Root composer.json requires auroraextensions/googlecloudstorage ^1.2

-> satisfiable by auroraextensions/googlecloudstorage[1.2.0, 1.2.1].

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

@.**:/var/www/magento$ composer prohibits auroraextensions/googlecloudstorage ^1.2

[InvalidArgumentException]

Could not find package "auroraextensions/googlecloudstorage" in your project

prohibits [-r|--recursive] [-t|--tree] [--]

@.**:/var/www/magento$

Il giorno gio 28 set 2023 alle ore 19:07 Nickolas Burr < @.***> ha scritto:

@admin-snowfoot https://github.com/admin-snowfoot Okay, I will need more diagnostic information. Can you run the following and share the output?

composer prohibits auroraextensions/googlecloudstorage ^1.2

— Reply to this email directly, view it on GitHub https://github.com/auroraextensions/googlecloudstorage/issues/14#issuecomment-1739711086, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBBJAADGQMMDGYVTIXNJGYDX4WVD7ANCNFSM6AAAAAA5CCPLYA . You are receiving this because you were mentioned.Message ID: @.***>

-- Nicola Bertellini M +39 327 12 67 453 E @.*** | SK nbertell

admin-snowfoot avatar Sep 29 '23 14:09 admin-snowfoot

@admin-snowfoot Thank you for checking. After a bit of digging, it seems the issue is a version discrepancy introduced in Magento 2.4.4. This module depends on package google/cloud-core:~1.33.0, which in turn requires guzzlehttp/guzzle:^5.3|^6.0. Starting in Magento 2.4.4, they bumped the requirement for guzzlehttp/guzzle from 6.3.3 to 7.3.0, which conflicts with the google/cloud-core requirement.

I will need to upgrade google/cloud-core and google/cloud-storage packages to newer versions but this will require a fair amount of testing before I can release a new version. Once that's complete, I will provide an update here and close this issue.

nickolasburr avatar Oct 02 '23 17:10 nickolasburr

Thank you. Let me know if I can be of any help testing. Nicola

Il lun 2 ott 2023, 19:40 Nickolas Burr @.***> ha scritto:

@admin-snowfoot https://github.com/admin-snowfoot Thank you for checking. After a bit of digging, it seems the issue is a version discrepancy introduced in Magento 2.4.4. This module depends on package google/cloud-core:~1.33.0, which in turn requires guzzlehttp/guzzle:^5.3|^6.0. Starting in Magento 2.4.4, they bumped the requirement for guzzlehttp/guzzle from 6.3.3 https://github.com/magento/magento2/blob/2.4.3-p3/composer.json#L38 to 7.3.0 https://github.com/magento/magento2/blob/2.4.4/composer.json#L44, which conflicts with the google/cloud-core requirement.

I will need to upgrade google/cloud-core and google/cloud-storage packages to newer versions but this will require a fair amount of testing before I can release a new version. Once that's complete, I will provide an update here and close this issue.

— Reply to this email directly, view it on GitHub https://github.com/auroraextensions/googlecloudstorage/issues/14#issuecomment-1743465726, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBBJAACI6IUL76FM46YWGCTX5L4BBAVCNFSM6AAAAAA5CCPLYCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBTGQ3DKNZSGY . You are receiving this because you were mentioned.Message ID: @.***>

admin-snowfoot avatar Oct 02 '23 20:10 admin-snowfoot

Hey, any update on that?

jarzebowsky avatar Oct 30 '23 14:10 jarzebowsky