andres-montanez/Magallanes

Cannot install in Symfony 5 project because of console dependency

jahrralf opened this issue · 9 comments

Hi, I am trying to include Magallanes in a symfony 5 project. This comes with symfony/console 5.0 which is higher than the 4.0 required by Magallanes. How can I solve this? Is there any way to build/get a phar? Would help here. Thanks!

        "symfony/console": "5.0.*",
$ php composer.phar require andres-montanez/magallanes
Using version ^4.0 for andres-montanez/magallanes
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Restricting packages listed in "symfony/symfony" to "5.0.*"
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for andres-montanez/magallanes ^4.0 -> satisfiable by andres-montanez/magallanes[4.0.0].
    - andres-montanez/magallanes 4.0.0 requires symfony/console ^4.0 -> no matching package found.

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
 - It's a private package and you forgot to add a custom repository to find it

Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

Installation failed, reverting ./composer.json to its original content.

Same issue here, did you find a solution by any chance?

No - lost my interest, no good solution so far.

I fixed that and created a PR.
The fix works here in our environment, but better should be tested by other developers.

I fixed that and created a PR.
The fix works here in our environment, but better should be tested by other developers.

Thats awesome, could you please add it to Packagist so it can be installed using composer require hauke68/magallanes?
Thank you

Nevermind could not wait, I did it myself. Feel free to use it too:

composer require el-gitto-junior/magallanes:4.0.1-alpha-2

Well, give me some time to prepare and deploy a release. I am currently busy at work.
Good you deployed the alpha release ;-)

I was able to deploy Symfony 5.1.5 with it. As far working like a charm. Thank you!
I did the alpha release because I was in a hurry, and I need to run composer. But it's your work and I would switch to your version.

@ElGittoJunior Released on Packagist ;-)

@hauke68 Thank you! I switched to your version. Works fine so far!

in 4.1.0 symfony5 is supported