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

Drush 11 cannot be composer required/updated after Drupal's bump to Symfony 6 #5077

Closed
mondrake opened this issue Feb 18, 2022 · 12 comments
Closed

Comments

@mondrake
Copy link
Contributor

 Problem 1
    - enlightn/security-checker[v1.0, ..., v1.1] require symfony/finder ^4.0|^5.0 -> found symfony/finder[v4.0.0-BETA1, ..., 4.4.x-dev, v5.0.0-BETA1, ..., 5.4.x-dev] but it conflicts with your root composer.json require (^6.0).
    - enlightn/security-checker[v1.2, ..., v1.9.0] require symfony/finder ^3|^4|^5 -> found symfony/finder[v3.0.0-BETA1, ..., 3.4.x-dev, v4.0.0-BETA1, ..., 4.4.x-dev, v5.0.0-BETA1, ..., 5.4.x-dev] but it conflicts with your root composer.json require (^6.0).
    - drush/drush 11.x-dev requires enlightn/security-checker ^1 -> satisfiable by enlightn/security-checker[v1.0, ..., v1.9.0].
    - Root composer.json requires drush/drush 11.x-dev -> satisfiable by drush/drush[11.x-dev].

@weitzman
Copy link
Member

Thanks. Please open an issue with enlightn/security-checker.

@mondrake
Copy link
Contributor Author

It’s known already.

enlightn/security-checker#26

@weitzman
Copy link
Member

Thanks. I guess we will boot this package from composer.json if we really have to. Would be a shame.

@greg-1-anderson
Copy link
Member

Maybe as an interim measure we could move it to suggests, and add in checks to fail / reduce gracefully if it's not present.

@greg-1-anderson
Copy link
Member

Did a little work on this in #5078

@heddn
Copy link
Contributor

heddn commented Feb 21, 2022

Still seeing
$ composer require drush/drush:11.x-dev

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

  Problem 1
    - consolidation/site-alias[3.1.0, ..., 3.x-dev] require symfony/finder ~2.3|^3|^4.4|^5 -> found symfony/finder[v2.3.0, ..., 2.8.x-dev, v3.0.0-BETA1, ..., 3.4.x-dev, v4.4.0-BETA1, ..., 4.4.x-dev, v5.0.0-BETA1, ..., 5.4.x-dev] but it conflicts with your root composer.json require (^6.0).
    - drush/drush 11.x-dev requires consolidation/site-alias ^3.1.3 -> satisfiable by consolidation/site-alias[3.1.3, 3.x-dev].
    - Root composer.json requires drush/drush 11.x-dev -> satisfiable by drush/drush[11.x-dev].

@greg-1-anderson
Copy link
Member

Not sure why I didn't hit this in the tests. See consolidation/site-alias#51. I'll make a release in a little bit.

@quietone1
Copy link

Still not working for me.

$ ddev composer require drush/drush:11.x-dev

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

  Problem 1
    - chi-teck/drupal-code-generator[2.4.0, ..., 2.x-dev] require symfony/filesystem ^4.4 || ^5.1 -> found symfony/filesystem[v4.4.0-BETA1, ..., 4.4.x-dev, v5.1.0-BETA1, ..., 5.4.x-dev] but it conflicts with your root composer.json require (^6.0).
    - drush/drush 11.x-dev requires chi-teck/drupal-code-generator ^2.4 -> satisfiable by chi-teck/drupal-code-generator[2.4.0, 2.4.1, 2.x-dev].
    - Root composer.json requires drush/drush 11.x-dev -> satisfiable by drush/drush[11.x-dev].

@paras-malhotra
Copy link

@weitzman @greg-1-anderson Symfony 6 is now supported via enlightn/security-checker#27

@greg-1-anderson
Copy link
Member

Thanks! Looks like ^1.10

@heddn
Copy link
Contributor

heddn commented Feb 22, 2022

I can now install drush:11.x-dev on drupal 10 again! Thank you everyone. Chi-teck/drupal-code-generator#82 landed earlier today as the last blocker.

@mondrake
Copy link
Contributor Author

I confirm. Thanks a lot for very fast turnaround!

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

6 participants