magento / magento-cloud

Magento Cloud
Open Software License 3.0
207 stars 237 forks source link

Incompatibility on installing magento 2.4.0, magento cloud and MFTF #483

Closed julien-sudraud-smile closed 4 years ago

julien-sudraud-smile commented 4 years ago

Hi team,

Issue Description:

I try to install magento 2.4.0 with magneto-cloud package to handle a docker stack and MFTF to handle functionnal testing. It results to a composer incompatibility issue.

Steps to reproduce:

Case 1:

Install the 2.4.0 EE with MFTF included by composer

composer create-project --repository-url=https://repo.magento.com/ magento/project-enterprise-edition . --ignore-platform-reqs

Then add the cloud metapackage

composer req magento/magento-cloud-metapackage

Case 2:

Clone magento cloud project : include magento 2.4.0 EE

git clone https://github.com/magento/magento-cloud.git

Add MFTF :

composer req magento/magento2-functional-testing-framework

Actual Results:

Case 1:

Using version ^2.4 for magento/magento-cloud-metapackage
./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
    - Conclusion: remove symfony/console v4.4.11
    - Conclusion: don't install symfony/console v4.4.11
    - symfony/dependency-injection v3.3.0 conflicts with symfony/console[v4.4.11].
    - symfony/dependency-injection v3.3.1 conflicts with symfony/console[v4.4.11].
    - symfony/dependency-injection v3.3.10 conflicts with symfony/console[v4.4.11].
    - symfony/dependency-injection v3.3.11 conflicts with symfony/console[v4.4.11].
    - symfony/dependency-injection v3.3.12 conflicts with symfony/console[v4.4.11].
    - symfony/dependency-injection v3.3.13 conflicts with symfony/console[v4.4.11].
    - symfony/dependency-injection v3.3.14 conflicts with symfony/console[v4.4.11].
    - symfony/dependency-injection v3.3.15 conflicts with symfony/console[v4.4.11].
    - symfony/dependency-injection v3.3.16 conflicts with symfony/console[v4.4.11].
    - symfony/dependency-injection v3.3.17 conflicts with symfony/console[v4.4.11].
    - symfony/dependency-injection v3.3.18 conflicts with symfony/console[v4.4.11].
    - symfony/dependency-injection v3.3.2 conflicts with symfony/console[v4.4.11].
    - symfony/dependency-injection v3.3.3 conflicts with symfony/console[v4.4.11].
    - symfony/dependency-injection v3.3.4 conflicts with symfony/console[v4.4.11].
    - symfony/dependency-injection v3.3.5 conflicts with symfony/console[v4.4.11].
    - symfony/dependency-injection v3.3.6 conflicts with symfony/console[v4.4.11].
    - symfony/dependency-injection v3.3.7 conflicts with symfony/console[v4.4.11].
    - symfony/dependency-injection v3.3.8 conflicts with symfony/console[v4.4.11].
    - symfony/dependency-injection v3.3.9 conflicts with symfony/console[v4.4.11].
    - Installation request for symfony/console (locked at v4.4.11) -> satisfiable by symfony/console[v4.4.11].
    - Conclusion: don't install symfony/property-info v5.1.3|install symfony/dependency-injection v3.3.0|install symfony/dependency-injection v3.3.1|install symfony/dependency-injection v3.3.10|install symfony/dependency-injection v3.3.11|install symfony/dependency-injection v3.3.12|install symfony/dependency-injection v3.3.13|install symfony/dependency-injection v3.3.14|install symfony/dependency-injection v3.3.15|install symfony/dependency-injection v3.3.16|install symfony/dependency-injection v3.3.17|install symfony/dependency-injection v3.3.18|install symfony/dependency-injection v3.3.2|install symfony/dependency-injection v3.3.3|install symfony/dependency-injection v3.3.4|install symfony/dependency-injection v3.3.5|install symfony/dependency-injection v3.3.6|install symfony/dependency-injection v3.3.7|install symfony/dependency-injection v3.3.8|install symfony/dependency-injection v3.3.9
    - Conclusion: remove symfony/property-info v5.1.3|install symfony/dependency-injection v3.3.0|install symfony/dependency-injection v3.3.1|install symfony/dependency-injection v3.3.10|install symfony/dependency-injection v3.3.11|install symfony/dependency-injection v3.3.12|install symfony/dependency-injection v3.3.13|install symfony/dependency-injection v3.3.14|install symfony/dependency-injection v3.3.15|install symfony/dependency-injection v3.3.16|install symfony/dependency-injection v3.3.17|install symfony/dependency-injection v3.3.18|install symfony/dependency-injection v3.3.2|install symfony/dependency-injection v3.3.3|install symfony/dependency-injection v3.3.4|install symfony/dependency-injection v3.3.5|install symfony/dependency-injection v3.3.6|install symfony/dependency-injection v3.3.7|install symfony/dependency-injection v3.3.8|install symfony/dependency-injection v3.3.9
    - symfony/dependency-injection v3.4.0 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v3.4.1 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v3.4.10 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v3.4.11 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v3.4.12 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v3.4.13 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v3.4.14 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v3.4.15 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v3.4.16 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v3.4.17 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v3.4.18 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v3.4.19 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v3.4.2 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v3.4.20 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v3.4.21 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v3.4.22 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v3.4.23 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v3.4.24 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v3.4.25 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v3.4.26 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v3.4.27 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v3.4.28 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v3.4.29 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v3.4.3 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v3.4.30 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v3.4.31 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v3.4.32 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v3.4.33 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v3.4.34 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v3.4.35 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v3.4.36 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v3.4.37 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v3.4.38 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v3.4.39 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v3.4.4 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v3.4.40 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v3.4.41 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v3.4.42 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v3.4.43 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v3.4.5 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v3.4.6 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v3.4.7 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v3.4.8 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v3.4.9 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v4.3.0 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v4.3.1 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v4.3.10 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v4.3.11 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v4.3.2 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v4.3.3 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v4.3.4 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v4.3.5 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v4.3.6 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v4.3.7 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v4.3.8 conflicts with symfony/property-info[v5.1.3].
    - symfony/dependency-injection v4.3.9 conflicts with symfony/property-info[v5.1.3].
    - Installation request for symfony/property-info (locked at v5.1.3) -> satisfiable by symfony/property-info[v5.1.3].
    - Installation request for magento/magento-cloud-metapackage ^2.4 -> satisfiable by magento/magento-cloud-metapackage[2.4.0].
    - Conclusion: don't install symfony/config v5.1.3|install symfony/dependency-injection v3.3.0|install symfony/dependency-injection v3.3.1|install symfony/dependency-injection v3.3.10|install symfony/dependency-injection v3.3.11|install symfony/dependency-injection v3.3.12|install symfony/dependency-injection v3.3.13|install symfony/dependency-injection v3.3.14|install symfony/dependency-injection v3.3.15|install symfony/dependency-injection v3.3.16|install symfony/dependency-injection v3.3.17|install symfony/dependency-injection v3.3.18|install symfony/dependency-injection v3.3.2|install symfony/dependency-injection v3.3.3|install symfony/dependency-injection v3.3.4|install symfony/dependency-injection v3.3.5|install symfony/dependency-injection v3.3.6|install symfony/dependency-injection v3.3.7|install symfony/dependency-injection v3.3.8|install symfony/dependency-injection v3.3.9|install symfony/dependency-injection v3.4.0|install symfony/dependency-injection v3.4.1|install symfony/dependency-injection v3.4.10|install symfony/dependency-injection v3.4.11|install symfony/dependency-injection v3.4.12|install symfony/dependency-injection v3.4.13|install symfony/dependency-injection v3.4.14|install symfony/dependency-injection v3.4.15|install symfony/dependency-injection v3.4.16|install symfony/dependency-injection v3.4.17|install symfony/dependency-injection v3.4.18|install symfony/dependency-injection v3.4.19|install symfony/dependency-injection v3.4.2|install symfony/dependency-injection v3.4.20|install symfony/dependency-injection v3.4.21|install symfony/dependency-injection v3.4.22|install symfony/dependency-injection v3.4.23|install symfony/dependency-injection v3.4.24|install symfony/dependency-injection v3.4.25|install symfony/dependency-injection v3.4.26|install symfony/dependency-injection v3.4.27|install symfony/dependency-injection v3.4.28|install symfony/dependency-injection v3.4.29|install symfony/dependency-injection v3.4.3|install symfony/dependency-injection v3.4.30|install symfony/dependency-injection v3.4.31|install symfony/dependency-injection v3.4.32|install symfony/dependency-injection v3.4.33|install symfony/dependency-injection v3.4.34|install symfony/dependency-injection v3.4.35|install symfony/dependency-injection v3.4.36|install symfony/dependency-injection v3.4.37|install symfony/dependency-injection v3.4.38|install symfony/dependency-injection v3.4.39|install symfony/dependency-injection v3.4.4|install symfony/dependency-injection v3.4.40|install symfony/dependency-injection v3.4.41|install symfony/dependency-injection v3.4.42|install symfony/dependency-injection v3.4.43|install symfony/dependency-injection v3.4.5|install symfony/dependency-injection v3.4.6|install symfony/dependency-injection v3.4.7|install symfony/dependency-injection v3.4.8|install symfony/dependency-injection v3.4.9|install symfony/dependency-injection v4.3.0|install symfony/dependency-injection v4.3.1|install symfony/dependency-injection v4.3.10|install symfony/dependency-injection v4.3.11|install symfony/dependency-injection v4.3.2|install symfony/dependency-injection v4.3.3|install symfony/dependency-injection v4.3.4|install symfony/dependency-injection v4.3.5|install symfony/dependency-injection v4.3.6|install symfony/dependency-injection v4.3.7|install symfony/dependency-injection v4.3.8|install symfony/dependency-injection v4.3.9
    - Conclusion: remove symfony/config v5.1.3|install symfony/dependency-injection v3.3.0|install symfony/dependency-injection v3.3.1|install symfony/dependency-injection v3.3.10|install symfony/dependency-injection v3.3.11|install symfony/dependency-injection v3.3.12|install symfony/dependency-injection v3.3.13|install symfony/dependency-injection v3.3.14|install symfony/dependency-injection v3.3.15|install symfony/dependency-injection v3.3.16|install symfony/dependency-injection v3.3.17|install symfony/dependency-injection v3.3.18|install symfony/dependency-injection v3.3.2|install symfony/dependency-injection v3.3.3|install symfony/dependency-injection v3.3.4|install symfony/dependency-injection v3.3.5|install symfony/dependency-injection v3.3.6|install symfony/dependency-injection v3.3.7|install symfony/dependency-injection v3.3.8|install symfony/dependency-injection v3.3.9|install symfony/dependency-injection v3.4.0|install symfony/dependency-injection v3.4.1|install symfony/dependency-injection v3.4.10|install symfony/dependency-injection v3.4.11|install symfony/dependency-injection v3.4.12|install symfony/dependency-injection v3.4.13|install symfony/dependency-injection v3.4.14|install symfony/dependency-injection v3.4.15|install symfony/dependency-injection v3.4.16|install symfony/dependency-injection v3.4.17|install symfony/dependency-injection v3.4.18|install symfony/dependency-injection v3.4.19|install symfony/dependency-injection v3.4.2|install symfony/dependency-injection v3.4.20|install symfony/dependency-injection v3.4.21|install symfony/dependency-injection v3.4.22|install symfony/dependency-injection v3.4.23|install symfony/dependency-injection v3.4.24|install symfony/dependency-injection v3.4.25|install symfony/dependency-injection v3.4.26|install symfony/dependency-injection v3.4.27|install symfony/dependency-injection v3.4.28|install symfony/dependency-injection v3.4.29|install symfony/dependency-injection v3.4.3|install symfony/dependency-injection v3.4.30|install symfony/dependency-injection v3.4.31|install symfony/dependency-injection v3.4.32|install symfony/dependency-injection v3.4.33|install symfony/dependency-injection v3.4.34|install symfony/dependency-injection v3.4.35|install symfony/dependency-injection v3.4.36|install symfony/dependency-injection v3.4.37|install symfony/dependency-injection v3.4.38|install symfony/dependency-injection v3.4.39|install symfony/dependency-injection v3.4.4|install symfony/dependency-injection v3.4.40|install symfony/dependency-injection v3.4.41|install symfony/dependency-injection v3.4.42|install symfony/dependency-injection v3.4.43|install symfony/dependency-injection v3.4.5|install symfony/dependency-injection v3.4.6|install symfony/dependency-injection v3.4.7|install symfony/dependency-injection v3.4.8|install symfony/dependency-injection v3.4.9|install symfony/dependency-injection v4.3.0|install symfony/dependency-injection v4.3.1|install symfony/dependency-injection v4.3.10|install symfony/dependency-injection v4.3.11|install symfony/dependency-injection v4.3.2|install symfony/dependency-injection v4.3.3|install symfony/dependency-injection v4.3.4|install symfony/dependency-injection v4.3.5|install symfony/dependency-injection v4.3.6|install symfony/dependency-injection v4.3.7|install symfony/dependency-injection v4.3.8|install symfony/dependency-injection v4.3.9
    - magento/magento-cloud-metapackage 2.4.0 requires magento/ece-tools ^2002.1.0 -> satisfiable by magento/ece-tools[2002.1.1, 2002.1.0].
    - magento/ece-tools 2002.1.1 requires symfony/dependency-injection ^3.3||^4.3 -> satisfiable by symfony/dependency-injection[v3.3.0, v3.3.1, v3.3.10, v3.3.11, v3.3.12, v3.3.13, v3.3.14, v3.3.15, v3.3.16, v3.3.17, v3.3.18, v3.3.2, v3.3.3, v3.3.4, v3.3.5, v3.3.6, v3.3.7, v3.3.8, v3.3.9, v3.4.0, v3.4.1, v3.4.10, v3.4.11, v3.4.12, v3.4.13, v3.4.14, v3.4.15, v3.4.16, v3.4.17, v3.4.18, v3.4.19, v3.4.2, v3.4.20, v3.4.21, v3.4.22, v3.4.23, v3.4.24, v3.4.25, v3.4.26, v3.4.27, v3.4.28, v3.4.29, v3.4.3, v3.4.30, v3.4.31, v3.4.32, v3.4.33, v3.4.34, v3.4.35, v3.4.36, v3.4.37, v3.4.38, v3.4.39, v3.4.4, v3.4.40, v3.4.41, v3.4.42, v3.4.43, v3.4.5, v3.4.6, v3.4.7, v3.4.8, v3.4.9, v4.3.0, v4.3.1, v4.3.10, v4.3.11, v4.3.2, v4.3.3, v4.3.4, v4.3.5, v4.3.6, v4.3.7, v4.3.8, v4.3.9, v4.4.0, v4.4.1, v4.4.10, v4.4.11, v4.4.2, v4.4.3, v4.4.4, v4.4.5, v4.4.6, v4.4.7, v4.4.8, v4.4.9].
    - magento/ece-tools 2002.1.0 requires symfony/dependency-injection ^3.3||^4.3 -> satisfiable by symfony/dependency-injection[v3.3.0, v3.3.1, v3.3.10, v3.3.11, v3.3.12, v3.3.13, v3.3.14, v3.3.15, v3.3.16, v3.3.17, v3.3.18, v3.3.2, v3.3.3, v3.3.4, v3.3.5, v3.3.6, v3.3.7, v3.3.8, v3.3.9, v3.4.0, v3.4.1, v3.4.10, v3.4.11, v3.4.12, v3.4.13, v3.4.14, v3.4.15, v3.4.16, v3.4.17, v3.4.18, v3.4.19, v3.4.2, v3.4.20, v3.4.21, v3.4.22, v3.4.23, v3.4.24, v3.4.25, v3.4.26, v3.4.27, v3.4.28, v3.4.29, v3.4.3, v3.4.30, v3.4.31, v3.4.32, v3.4.33, v3.4.34, v3.4.35, v3.4.36, v3.4.37, v3.4.38, v3.4.39, v3.4.4, v3.4.40, v3.4.41, v3.4.42, v3.4.43, v3.4.5, v3.4.6, v3.4.7, v3.4.8, v3.4.9, v4.3.0, v4.3.1, v4.3.10, v4.3.11, v4.3.2, v4.3.3, v4.3.4, v4.3.5, v4.3.6, v4.3.7, v4.3.8, v4.3.9, v4.4.0, v4.4.1, v4.4.10, v4.4.11, v4.4.2, v4.4.3, v4.4.4, v4.4.5, v4.4.6, v4.4.7, v4.4.8, v4.4.9].
    - symfony/dependency-injection v4.4.0 conflicts with symfony/config[v5.1.3].
    - symfony/dependency-injection v4.4.1 conflicts with symfony/config[v5.1.3].
    - symfony/dependency-injection v4.4.10 conflicts with symfony/config[v5.1.3].
    - symfony/dependency-injection v4.4.11 conflicts with symfony/config[v5.1.3].
    - symfony/dependency-injection v4.4.2 conflicts with symfony/config[v5.1.3].
    - symfony/dependency-injection v4.4.3 conflicts with symfony/config[v5.1.3].
    - symfony/dependency-injection v4.4.4 conflicts with symfony/config[v5.1.3].
    - symfony/dependency-injection v4.4.5 conflicts with symfony/config[v5.1.3].
    - symfony/dependency-injection v4.4.6 conflicts with symfony/config[v5.1.3].
    - symfony/dependency-injection v4.4.7 conflicts with symfony/config[v5.1.3].
    - symfony/dependency-injection v4.4.8 conflicts with symfony/config[v5.1.3].
    - symfony/dependency-injection v4.4.9 conflicts with symfony/config[v5.1.3].
    - Installation request for symfony/config (locked at v5.1.3) -> satisfiable by symfony/config[v5.1.3].

Installation failed, reverting ./composer.json to its original content.

Case 2:

Using version ^3.0 for magento/magento2-functional-testing-framework
./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
    - Installation request for doctrine/inflector (locked at 1.4.3) -> satisfiable by doctrine/inflector[1.4.3].
    - magento/magento2-functional-testing-framework 3.0.0 requires csharpru/vault-php ~3.5.3 -> satisfiable by csharpru/vault-php[3.5.3].
    - magento/magento2-functional-testing-framework 3.0.0-RC3 requires csharpru/vault-php ~3.5.3 -> satisfiable by csharpru/vault-php[3.5.3].
    - magento/magento2-functional-testing-framework 3.0.0-RC4 requires csharpru/vault-php ~3.5.3 -> satisfiable by csharpru/vault-php[3.5.3].
    - magento/magento2-functional-testing-framework 3.0.0-RC5 requires csharpru/vault-php ~3.5.3 -> satisfiable by csharpru/vault-php[3.5.3].
    - csharpru/vault-php 3.5.3 requires doctrine/inflector ~1.1.0 -> satisfiable by doctrine/inflector[v1.1.0].
    - Conclusion: don't install doctrine/inflector v1.1.0
    - Installation request for magento/magento2-functional-testing-framework ^3.0 -> satisfiable by magento/magento2-functional-testing-framework[3.0.0, 3.0.0-RC3, 3.0.0-RC4, 3.0.0-RC5].

Installation failed, reverting ./composer.json to its original content.

Expected Results:

No error on second part of the install with composer require

Best regards, Julien.

julien-sudraud-smile commented 4 years ago

Hello team,

do you have an update on this topic ?

Regards, Julien.

shiftedreality commented 4 years ago

Hello, this is probably some Composer issue. Please try the next steps:

composer req --no-update magento/magento2-functional-testing-framework
composer update
julien-sudraud-smile commented 4 years ago

Indeed it works for both case :

composer create-project --repository-url=https://repo.magento.com/ magento/project-enterprise-edition . --ignore-platform-reqs
composer req --no-update magento/magento-cloud-metapackage
composer update
git clone https://github.com/magento/magento-cloud.git
composer req --no-update magento/magento2-functional-testing-framework
composer update

So it resolved the issue, Thanks a lot :)