Closed edwinljacobs closed 2 months ago
Hi @edwinljacobs. Thank you for your report. To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:
@magento give me 2.4-develop instance
- upcoming 2.4.x release@magento I am working on this
Join Magento Community Engineering Slack and ask your questions in #github channel. :warning: According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting. :clock10: You can find the schedule on the Magento Community Calendar page. :telephone_receiver: The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket.
In addition I just want to say that proposed workaround works for PHP 8.2 and doesn't work for PHP 8.3.
www-data@c829a04f430e:/var/www/html$ composer require magento/extension-b2b:"^1.4.2" "magento/framework": "103.0.7-p1 as 103.0.7"
./composer.json has been updated
Running composer update magento/extension-b2b magento/framework
Loading composer repositories with package information Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- magento/module-b2b[100.4.0, ..., 100.4.1] require php ~8.1.0||~8.2.0 -> your php version (8.3.7) does not satisfy that requirement.
- magento/extension-b2b 1.4.2 requires magento/module-b2b 100.4.1 -> satisfiable by magento/module-b2b[100.4.1].
- Root composer.json requires magento/extension-b2b ^1.4.2 -> satisfiable by magento/extension-b2b[1.4.2].
Yes but it's a known issue that B2B is not compatible with php8.3
Hi @engcom-Dash. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:
Area: XXXXX
label to the ticket, indicating the functional areas it may be related to.2.4-develop
branch@magento give me 2.4-develop instance
to deploy test instance on Magento infrastructure. 2.4-develop
branch, please, add the label Reproduced on 2.4.x
.Hi @edwinljacobs
Thanks for reporting and collaboration.
Verified the issue on Magento 2.4.7-p1 but the issue is not reproducible.
We can install 2.4.7-p1 with b2b extension.
Steps to reproduce Stock 2.4.7-p1 commerce installation composer require magento/extension-b2b should produce the error mentioned below and above.
Please take a look at the screenshots I've attached. Let us know if we missed anything.
hello @engcom-Dash
Yes it has been fixed with the latest b2b package release, so we can close this ticket. However any idea when b2b is going to be fully compatible with php8.3?
Regards,
Hi @edwinljacobs
We are closing the ticket as per the above comments.
Thanks
Hello,
I have this issue with PHP 8.3 on Magento 2.4.7-p1.
When the b2b will be compatible with php8.3 ? We are in migration to Magento 2.4.6-p6 to 2.4.7-p1 and this uncompatibility blocks our development.
Have a good day.
Update: Error :
Your requirements could not be resolved to an installable set of packages.
Problem 1
- magento/module-b2b[100.4.0, ..., 100.4.1-p1] require php ~8.1.0||~8.2.0 -> your php version (8.3.6) does not satisfy that requirement.
- magento/extension-b2b 1.4.2-p1 requires magento/module-b2b 100.4.1-p1 -> satisfiable by magento/module-b2b[100.4.1-p1].
- Root composer.json requires magento/extension-b2b 1.4.2-p1 -> satisfiable by magento/extension-b2b[1.4.2-p1].
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:
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
Additional information
No response
Release note
No response
Triage and priority