Skip to content

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

@anavarre

Description

@anavarre

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions