Skip to content
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

Drupal Console isn't compatible with Symfony components ~3.2 #3293

Closed
anavarre opened this issue May 2, 2017 · 17 comments
Closed

Drupal Console isn't compatible with Symfony components ~3.2 #3293

anavarre opened this issue May 2, 2017 · 17 comments

Comments

@anavarre
Copy link

anavarre commented May 2, 2017

Update Symfony components to ~3.2 was committed and breaks installing Drupal Console (up to RC18) when chasing HEAD (8.4.x)

$ composer require drupal/console:~1.0 --prefer-dist --optimize-autoloader
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - drupal/console 1.0.0-rc18 requires drupal/console-core 1.0.0-rc18 -> satisfiable by drupal/console-core[1.0.0-rc18].
    - Conclusion: don't install drupal/console-core 1.0.0-rc18
    - drupal/console 1.0.0-rc17 requires drupal/console-core 1.0.0-rc17 -> satisfiable by drupal/console-core[1.0.0-rc17].
    - Conclusion: don't install drupal/console-core 1.0.0-rc17
    - drupal/console 1.0.0-rc16 requires drupal/console-core 1.0.0-rc16 -> satisfiable by drupal/console-core[1.0.0-rc16].
    - Conclusion: don't install drupal/console-core 1.0.0-rc16
    - drupal/console 1.0.0-rc15 requires drupal/console-core 1.0.0-rc15 -> satisfiable by drupal/console-core[1.0.0-rc15].
    - Conclusion: don't install drupal/console-core 1.0.0-rc15
    - drupal/console 1.0.0-rc14 requires drupal/console-core 1.0.0-rc14 -> satisfiable by drupal/console-core[1.0.0-rc14].
    - Conclusion: don't install drupal/console-core 1.0.0-rc14
    - drupal/console 1.0.0-rc13 requires drupal/console-core 1.0.0-rc13 -> satisfiable by drupal/console-core[1.0.0-rc13].
    - Conclusion: don't install drupal/console-core 1.0.0-rc13
    - drupal/console 1.0.0-rc12 requires drupal/console-core 1.0.0-rc12 -> satisfiable by drupal/console-core[1.0.0-rc12].
    - Conclusion: don't install drupal/console-core 1.0.0-rc12
    - Installation request for symfony/console 3.2.6 -> satisfiable by symfony/console[v3.2.6].
    - Installation request for symfony/http-foundation 3.2.6 -> satisfiable by symfony/http-foundation[v3.2.6].
    - Conclusion: don't install drupal/console 1.0.0-rc11
    - drupal/console 1.0.0-alpha1 requires symfony/http-foundation ~2.8 -> satisfiable by symfony/http-foundation[2.8.x-dev].
    - drupal/console 1.0.0-alpha2 requires symfony/http-foundation ~2.8 -> satisfiable by symfony/http-foundation[2.8.x-dev].
    - drupal/console 1.0.0-beta1 requires symfony/http-foundation ~2.8 -> satisfiable by symfony/http-foundation[2.8.x-dev].
    - drupal/console 1.0.0-beta2 requires symfony/http-foundation ~2.8 -> satisfiable by symfony/http-foundation[2.8.x-dev].
    - drupal/console 1.0.0-beta3 requires symfony/http-foundation ~2.8 -> satisfiable by symfony/http-foundation[2.8.x-dev].
    - drupal/console 1.0.0-beta4 requires symfony/http-foundation ~2.8 -> satisfiable by symfony/http-foundation[2.8.x-dev].
    - drupal/console 1.0.0-beta5 requires symfony/http-foundation ~2.8 -> satisfiable by symfony/http-foundation[2.8.x-dev].
    - drupal/console 1.0.0-rc1 requires symfony/http-foundation ~2.8 -> satisfiable by symfony/http-foundation[2.8.x-dev].
    - drupal/console 1.0.0-rc10 requires symfony/http-foundation ~2.8 -> satisfiable by symfony/http-foundation[2.8.x-dev].
    - drupal/console 1.0.0-rc2 requires symfony/http-foundation ~2.8 -> satisfiable by symfony/http-foundation[2.8.x-dev].
    - drupal/console 1.0.0-rc3 requires symfony/http-foundation ~2.8 -> satisfiable by symfony/http-foundation[2.8.x-dev].
    - drupal/console 1.0.0-rc4 requires symfony/http-foundation ~2.8 -> satisfiable by symfony/http-foundation[2.8.x-dev].
    - drupal/console 1.0.0-rc5 requires symfony/http-foundation ~2.8 -> satisfiable by symfony/http-foundation[2.8.x-dev].
    - drupal/console 1.0.0-rc6 requires symfony/http-foundation ~2.8 -> satisfiable by symfony/http-foundation[2.8.x-dev].
    - drupal/console 1.0.0-rc7 requires symfony/http-foundation ~2.8 -> satisfiable by symfony/http-foundation[2.8.x-dev].
    - drupal/console 1.0.0-rc8 requires symfony/http-foundation ~2.8 -> satisfiable by symfony/http-foundation[2.8.x-dev].
    - drupal/console 1.0.0-rc9 requires symfony/http-foundation ~2.8 -> satisfiable by symfony/http-foundation[2.8.x-dev].
    - Conclusion: don't install symfony/http-foundation 2.8.x-dev
    - Installation request for drupal/console ~1.0 -> satisfiable by drupal/console[1.0.0-alpha1, 1.0.0-alpha2, 1.0.0-beta1, 1.0.0-beta2, 1.0.0-beta3, 1.0.0-beta4, 1.0.0-beta5, 1.0.0-rc1, 1.0.0-rc10, 1.0.0-rc11, 1.0.0-rc12, 1.0.0-rc13, 1.0.0-rc14, 1.0.0-rc15, 1.0.0-rc16, 1.0.0-rc17, 1.0.0-rc18, 1.0.0-rc2, 1.0.0-rc3, 1.0.0-rc4, 1.0.0-rc5, 1.0.0-rc6, 1.0.0-rc7, 1.0.0-rc8, 1.0.0-rc9].

When reverting to Git commit hash 4d80891 (that is, just before the Symfony components ~3.2 commit) it installs just fine.

@jmolivas
Copy link
Member

jmolivas commented May 2, 2017

@anavarre do you know the ETA for 8.4?

@anavarre
Copy link
Author

anavarre commented May 2, 2017

ETA is ~6 months from the day 8.3.0 was released, so around October 2017. See core release cycle.

That being said, chasing HEAD means 8.4.x is being used already by developers.

@jmolivas
Copy link
Member

jmolivas commented May 2, 2017

I will make development branch compatible with latest drupal dev branch 8.4 in this case.

@anavarre
Copy link
Author

anavarre commented May 3, 2017

Sounds good. Let me know if you end up doing so, I will switch drucker to use the dev branch, then.

@socketwench
Copy link

Running into the same thing here for Dropwhale.

@jmolivas
Copy link
Member

jmolivas commented May 7, 2017

@socketwench are you also using Drupal 8.4.x?

@socketwench
Copy link

Well yeah, since typically you're developing against Drupal HEAD for modules.

@timmillwood
Copy link

Same issue here too.

@SOLUTIONS-AT
Copy link

Same problem here...

@lpeabody
Copy link

lpeabody commented May 15, 2017

Also running into this, but against a Drupal 8.3.2 codebase.

@SOLUTIONS-AT
Copy link

Is there an update on this?

@jmolivas
Copy link
Member

Yes development branch will updated the later next week early Aug.

@hejiann
Copy link

hejiann commented Jun 15, 2017

Is there any method for using drupal console on drupal 8.4.x?

@anavarre
Copy link
Author

FYI there's an issue about ugprading to 3.3 https://www.drupal.org/node/2874909

@RainbowArray
Copy link
Contributor

Any updates on this? I ran into this at sprints at Twin Cities Drupal Camp and spent several hours trying to get Drupal Console working with 8.4.x to no avail. From everything I can see it's this discrepancy in symfony/console versions that is causing this problem.

Would really like to see this resolved as there are multiple issues opened with this same issue, and it can cause severe setbacks trying to find a workaround, when as far as I can tell, there isn't one.

@anrizal
Copy link

anrizal commented Jun 30, 2017

+1
I can verify that 8.4.x results in similar issues, but 8.3.x works as expected.

To note:
This packaged is a requirement in https://github.com/drupal-composer/drupal-project
And to use drupal/core : ~8.4 you need to use drush/drush: "~9.0", maybe you can check with the drush package as well since Drush uses the latest version of dependencies from Symfony and Drupal console's dependencies (at the moment) are set to v2.8* max.

Similiar issue

https://github.com/hechoendrupal/drupal-console/issues/3353
https://github.com/hechoendrupal/drupal-console/issues/3317
https://github.com/hechoendrupal/drupal-console/issues/3293

@cburschka
Copy link
Contributor

As the first alpha of 8.4.0 is planned in about two weeks (https://groups.drupal.org/node/517148), the need for a compatible DC release will likely become more urgent for a lot of dev projects soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants