-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot install Akeneo Connector on default Magento 2.4.7 & PHP 8.2 #688
Comments
I have the same problem in Magento 2.4.7 + PHP 8.3 setup. When I indicated that I require a specific version of connector 104.3.7, the message I get indicates a version mismatch for symfony/http-client dependency. Problem 1 Connector in its composer.json calls out "symfony/http-client: "^5", and the new Magento installation uses version 7. Requesting for hint to resolve this issue. |
It succeeded for me with the -W option but it downgraded a couple of packages of course, for example psr/http-message, symfony/http-client, symfony/http-kernel etc |
@akosglue sure but only install version 103.3.1 with error on setup:upgrade |
how do you mean 'only install version 103.3.1 '? |
Environment and configuration
Steps to reproduce
Expected result
Actual result
`./composer.json has been updated
Running composer update akeneo/module-magento2-connector-community
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- akeneo/module-magento2-connector-community[101.3.0, ..., 101.8.2, 102.1.0, ..., 102.6.0] require php-http/guzzle6-adapter ^2.0 -> satisfiable by php-http/guzzle6-adapter[v2.0.0, v2.0.1, v2.0.2].
- akeneo/module-magento2-connector-community[100.1.0, ..., 100.4.16, 101.0.0, ..., 101.2.0] require akeneo/api-php-client ^3.0 -> satisfiable by akeneo/api-php-client[v3.0.0].
- akeneo/module-magento2-connector-community[103.0.0, ..., 103.3.1, 104.3.1] require symfony/http-client ^5 -> found symfony/http-client[v5.0.0, ..., v5.4.38] but the package is fixed to v7.0.6 (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.
- php-http/guzzle6-adapter[v2.0.0, ..., v2.0.1] require php ^7.1 -> your php version (8.2.18) does not satisfy that requirement.
- php-http/guzzle6-adapter v2.0.2 requires guzzlehttp/guzzle ^6.0 -> found guzzlehttp/guzzle[6.0.0, ..., 6.5.8] but the package is fixed to 7.8.1 (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.
- akeneo/api-php-client v3.0.0 requires psr/http-message ^1.0 -> found psr/http-message[1.0, 1.0.1, 1.1] but the package is fixed to 2.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.
- Root composer.json requires akeneo/module-magento2-connector-community * -> satisfiable by akeneo/module-magento2-connector-community[100.1.0, ..., 100.4.16, 101.0.0, ..., 101.8.2, 102.1.0, ..., 102.6.0, 103.0.0, ..., 103.3.1, 104.3.1].
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require akeneo/module-magento2-connector-community:*" to figure out if any version is installable, or "composer require akeneo/module-magento2-connector-community:^2.1" if you know which you need.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.`
The text was updated successfully, but these errors were encountered: