-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Simplify version constraint for the php-amqplib/php-amqplib package, … #28585
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
Conversation
…now that the php extension sockets is considered required for Magento.
Hi @hostep. Thank you for your contribution
❗ Automated tests can be triggered manually with an appropriate comment:
You can find more information about the builds here ℹ️ Please run only needed test builds instead of all when developing. Please run all test builds before sending your PR for review. For more details, please, review the Magento Contributor Guide documentation. |
Not really needed to run any tests here I believe, since the |
@magento run all tests |
Hi @ihor-sviziev, thank you for the review. |
@hostep i think we don’t need to add dependency to sockets extension as magento actually not depends on it directly, only through library |
Commit was cherry-picked and merge to 2.4.0 is in progress. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, @hostep. Could you resolve merge conflicts?
Pull Request state was updated. Re-review required.
@engcom-Alfa: since @lenaorobei already merged this in the release branch for 2.4.0, there is no need anymore for this PR, right? We can probably close it? |
@hostep thanks for this contribution! Yes, it was delivered to 2.4.0. |
Hi @hostep, thank you for your contribution! |
…now that the php extension sockets is considered required for Magento.
Description (*)
As requested in #27200 by @melnikovi, here's a pull request which simplifies the version constraint on the
php-amqplib/php-amqplib
package now that the php extensionsockets
is considered required for Magento 2.Version 2.7 of
php-amqplib/php-amqplib
didn't require thesockets
extension, but since version 2.8.1 it became required.This prevents developers from accidentally updating the
composer.lock
file inside this github repo as well as inside projects where it changes the version ofphp-amqplib/php-amqplib
based on if they have thesockets
extension installed or not, which can be quite annoying to deal with.Related Pull Requests
Fixed Issues (if relevant)
Manual testing scenarios (*)
sockets
extension is not installedQuestions or comments
I'm not entirely sure, but should we also define
ext-sockets
in thecomposer.json
file of Magento 2? I'm a bit confused about the comment from @dobooth if the list of extensions in devdocs is solely generated from thecomposer.json
file, or from all composer dependencies?Contribution checklist (*)