-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Description
Preconditions and environment
magento/extension-b2b cannot be installed with magento/product-enterprise-edition:2.4.7-p1
This is due to the following composer error:
╰─$ composer update
Gathering patches for root package.
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- magento/extension-b2b[1.4.0, ..., 1.4.2] require magento/framework >=103.0.6 <=103.0.7 -> satisfiable by magento/framework[103.0.6-beta1, ..., 103.0.7].
- You can only install one version of a package, so only one of these can be installed: magento/framework[100.0.2, ..., 100.2.0-rc20, 101.0.0-rc21, ..., 101.0.12, 102.0.0, ..., 102.0.7-p3, 103.0.0-beta1, ..., 103.0.7-p1].
- magento/product-community-edition 2.4.7-p1 requires magento/framework 103.0.7-p1 -> satisfiable by magento/framework[103.0.7-p1].
- magento/product-enterprise-edition 2.4.7-p1 requires magento/product-community-edition 2.4.7-p1 -> satisfiable by magento/product-community-edition[2.4.7-p1].
- Root composer.json requires magento/product-enterprise-edition 2.4.7-p1 -> satisfiable by magento/product-enterprise-edition[2.4.7-p1].
- Root composer.json requires magento/extension-b2b ^1.4 -> satisfiable by magento/extension-b2b[1.4.0, 1.4.1, 1.4.2].
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions
So in essence Enterprise needs community which needs magento/framework 103.0.7-p1. magento/extension-b2b needs magento/framework: <= 103.0.7 So we cannot install. I suspect that its just a version constraint issue and there is no incompatibility but ofcourse I am not sure of that.
AS a workaround we can do: "magento/framework": "103.0.7-p1 as 103.0.7" in composer json but I personally am not a fan of this kind of manipulation. I posted this as well in the community forums but no response yet https://community.magento.com/t5/Magento-2-x-Technical-Issues/Commerce-2-4-7-p1-incompatible-with-magento-b2b-extension/m-p/557149#M21933.
Steps to reproduce
Stock 2.4.7-p1 commerce installation
composer require magento/extension-b2b should produce the error mentioned below and above.
Expected result
Install magento/extension-b2b without errors
Actual result
Gathering patches for root package.
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- magento/extension-b2b[1.4.0, ..., 1.4.2] require magento/framework >=103.0.6 <=103.0.7 -> satisfiable by magento/framework[103.0.6-beta1, ..., 103.0.7].
- You can only install one version of a package, so only one of these can be installed: magento/framework[100.0.2, ..., 100.2.0-rc20, 101.0.0-rc21, ..., 101.0.12, 102.0.0, ..., 102.0.7-p3, 103.0.0-beta1, ..., 103.0.7-p1].
- magento/product-community-edition 2.4.7-p1 requires magento/framework 103.0.7-p1 -> satisfiable by magento/framework[103.0.7-p1].
- magento/product-enterprise-edition 2.4.7-p1 requires magento/product-community-edition 2.4.7-p1 -> satisfiable by magento/product-community-edition[2.4.7-p1].
- Root composer.json requires magento/product-enterprise-edition 2.4.7-p1 -> satisfiable by magento/product-enterprise-edition[2.4.7-p1].
- Root composer.json requires magento/extension-b2b ^1.4 -> satisfiable by magento/extension-b2b[1.4.0, 1.4.1, 1.4.2].
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
Additional information
No response
Release note
No response
Triage and priority
- Severity: S0 - Affects critical data or functionality and leaves users without workaround.
- Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
- Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
- Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
- Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.