schmittjoh / JMSJobQueueBundle

Run and Schedule Symfony Console Commands as Background Jobs
http://jmsyst.com/bundles/JMSJobQueueBundle
334 stars 254 forks source link

Is it possible to require "symfony/framework-bundle": "^3.0"? #223

Closed trompette closed 5 years ago

trompette commented 5 years ago

Dear maintainer,

While trying to migrate an application from Symfony 2.8 to 3.0 (as a first step towards 3.4), Composer fails to upgrade dependencies:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for jms/job-queue-bundle ^1.4
      -> satisfiable by jms/job-queue-bundle[1.4.0, 1.4.1, 1.4.2].
    - jms/job-queue-bundle 1.4.2 requires symfony/framework-bundle ^2.1 || ^3.1
    - jms/job-queue-bundle 1.4.1 requires symfony/framework-bundle ^2.1 || ^3.1
    - jms/job-queue-bundle 1.4.0 requires symfony/framework-bundle ^2.1 || ^3.1
    - Conclusion: don't install symfony/symfony v3.0.9
    - Conclusion: don't install symfony/symfony v3.0.8
    - Conclusion: don't install symfony/symfony v3.0.7
    - Conclusion: don't install symfony/symfony v3.0.6
    - Conclusion: don't install symfony/symfony v3.0.5
    - Conclusion: don't install symfony/symfony v3.0.4
    - Conclusion: don't install symfony/symfony v3.0.3
    - Conclusion: don't install symfony/symfony v3.0.2
    - Conclusion: don't install symfony/symfony v3.0.1
    - Conclusion: don't install symfony/symfony v3.0.0

This is because composer.json requires "symfony/framework-bundle": "^2.1 || ^3.1".

Maybe there is a good reason, but if there is none, it would help a lot if you could change the requirement to "symfony/framework-bundle": "^2.1 || ^3.0" and tag a new 1.4.3 release.

What do you think?

Cheers!

trompette commented 5 years ago

Nevermind, we ended up migrating directly to Symfony 3.4.