We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Ran composer require consolidation/robo --dev in a project that has symfony/yaml required at ^5.0.0.
composer require consolidation/robo --dev
symfony/yaml
^5.0.0
Robo should install
Robo fails installation:
Problem 1 - Conclusion: don't install symfony/yaml 4.4.x-dev - Conclusion: don't install consolidation/robo 2.1.0 - Conclusion: remove symfony/translation v5.1.0 - Installation request for symfony/yaml (locked at v5.1.0, required as ^5.1.0) -> satisfiable by symfony/yaml[v5.1.0]. - Installation request for consolidation/robo ^2.1 -> satisfiable by consolidation/robo[2.1.0, 2.x-dev]. - Conclusion: don't install symfony/translation v5.1.0 - consolidation/robo 2.x-dev requires grasmash/yaml-expander ^1.4 -> satisfiable by grasmash/yaml-expander[1.4.0, 1.x-dev]. - grasmash/yaml-expander 1.4.0 requires symfony/yaml ^2.8.11|^3|^4 -> satisfiable by symfony/yaml[2.8.x-dev, 3.0.x-dev, 3.1.x-dev, 3.2.x-dev, 3.3.x-dev, 3.4.x-dev, 4.0.x-dev, 4.1.x-dev, 4.2.x-dev, 4.3.x-dev, 4.4.x-dev]. - grasmash/yaml-expander 1.x-dev requires symfony/yaml ^2.8.11|^3|^4 -> satisfiable by symfony/yaml[2.8.x-dev, 3.0.x-dev, 3.1.x-dev, 3.2.x-dev, 3.3.x-dev, 3.4.x-dev, 4.0.x-dev, 4.1.x-dev, 4.2.x-dev, 4.3.x-dev, 4.4.x-dev].
This appears to be because of the grasmash/yaml-expander dependency: https://github.com/consolidation/Robo/blob/master/composer.json#L30
grasmash/yaml-expander
The 1.x line of grasmash/yaml-expander requires symfony/yaml ^2.8.11|^3|^4: https://github.com/grasmash/yaml-expander/blob/1.4.0/composer.json#L7
^2.8.11|^3|^4
The 2.x line still doesn't bump to symfony/yaml 5.0 though: https://github.com/grasmash/yaml-expander/blob/2.0.0/composer.json#L9
Have to allow 3.0.0 so that symfony/yaml 5.0 will be allowed: https://github.com/grasmash/yaml-expander/blob/3.0.0/composer.json#L8
3.0.0
5.0
Related to #917
PHP 7.3.18
The text was updated successfully, but these errors were encountered:
fixes consolidation#951
8266bdd
91b9343
No branches or pull requests
Steps to reproduce
Ran
composer require consolidation/robo --dev
in a project that hassymfony/yaml
required at^5.0.0
.Expected behavior
Robo should install
Actual behavior
Robo fails installation:
This appears to be because of the
grasmash/yaml-expander
dependency: https://github.com/consolidation/Robo/blob/master/composer.json#L30The 1.x line of
grasmash/yaml-expander
requiressymfony/yaml
^2.8.11|^3|^4
: https://github.com/grasmash/yaml-expander/blob/1.4.0/composer.json#L7The 2.x line still doesn't bump to
symfony/yaml
5.0 though: https://github.com/grasmash/yaml-expander/blob/2.0.0/composer.json#L9Have to allow
3.0.0
so thatsymfony/yaml
5.0
will be allowed: https://github.com/grasmash/yaml-expander/blob/3.0.0/composer.json#L8Related to #917
System Configuration
PHP 7.3.18
The text was updated successfully, but these errors were encountered: