php-enqueue / enqueue-dev

Message Queue, Job Queue, Broadcasting, WebSockets packages for PHP, Symfony, Laravel, Magento. DEVELOPMENT REPOSITORY - provided by Forma-Pro
https://enqueue.forma-pro.com/
MIT License
2.17k stars 429 forks source link

Update the Magento2 module #1321

Open bfontaine opened 9 months ago

bfontaine commented 9 months ago

Hello, The Magento module hasn’t been updated in five years, and can’t be installed because it still depends on Enqueue 0.8 https://github.com/php-enqueue/enqueue-dev/issues/1057:

$ composer require "enqueue/magento2-enqueue:*@dev"
./composer.json has been updated
Running composer update enqueue/magento2-enqueue
Gathering patches for root package.
No patches supplied.
Loading composer repositories with package information
In Laminas\DependencyPlugin\DependencyRewriterV2::onPrePoolCreate
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - enqueue/magento2-enqueue[dev-master, 0.8.0] require enqueue/enqueue ^0.8 -> satisfiable by enqueue/enqueue[0.8.0, ..., 0.8.42].
    - enqueue/enqueue[0.8.21, ..., 0.8.42] require ramsey/uuid ^2|^3.5 -> found ramsey/uuid[2.0.0, ..., 2.9.0, 3.5.0, ..., 3.9.7] but the package is fixed to 4.2.3 (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 enqueue/magento2-enqueue *@dev -> satisfiable by enqueue/magento2-enqueue[dev-master, 0.8.0].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

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

It would be nice if it could be upgraded to use the latest Enqueue module.

makasim commented 9 months ago

PR is welcome