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

Composer not installing drush on 10.1.x due to conflicts with your root composer.json require #5291

Closed
mherchel opened this issue Oct 24, 2022 · 5 comments

Comments

@mherchel
Copy link

Describe the bug
Unable to install Drush with Drupal 10.1.x branch

To Reproduce

  1. Install the latest Drupal 10.1.x branch
  2. git clone --branch '10.1.x' https://git.drupalcode.org/project/drupal.git
  3. Runcomposer install
  4. Attempt to install drush composer require drush/drush

Expected behavior
Drush gets installed 🤷

Actual behavior

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

  Problem 1
    - Root composer.json requires drush/drush ^11.3 -> satisfiable by drush/drush[11.3.0, 11.3.1, 11.x-dev].
    - drush/drush[11.3.0, ..., 11.x-dev] require symfony/filesystem ^4.4 || ^5.4 -> found symfony/filesystem[v4.4.0-BETA1, ..., 4.4.x-dev, v5.4.0-BETA1, ..., 5.4.x-dev] but it conflicts with your root composer.json require (^6.1).

Workaround
None that I can found

System Configuration

Q A
Drush version? 11.x
Drupal version? 10.1.x
PHP version 8.1
OS? mac

Additional information
Add any other context about the problem here.

@gitressa
Copy link
Contributor

I can confirm this, it also happens in Ubuntu 20.04 with PHP 8.1.

@weitzman
Copy link
Member

PR in progress at #5292.

@weitzman
Copy link
Member

Fixed and released

@mherchel
Copy link
Author

💥 Boom!

@gitressa
Copy link
Contributor

Thanks @weitzman 👍

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

3 participants