Deployer: Dependency problems with wpcli

Created on 11 Nov 2016  路  2Comments  路  Source: deployphp/deployer

| Q | A
| ----------------- | ---
| Issue Type | Bug
| Deployer Version | master
| Local Machine OS | Mac OS 10.12.1
| Remote Machine OS | N/A

Description

On a WordPress project using composer to require wp-cli/wp-cli (latest) there is a dependency issue with deployer master

Steps to reproduce

{
    "name": "exmple/project",
    "description": "An example project.",
    "require": {
        "wp-cli/wp-cli" : "~0.25"
    },
    "require-dev": {
        "deployer/deployer": "dev-master"
    }
}

Output log

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

  Problem 1
    - Conclusion: don't install symfony/event-dispatcher v2.8.13
    - Conclusion: don't install symfony/event-dispatcher v3.1.6
    - Conclusion: don't install symfony/event-dispatcher v2.8.12
    - Conclusion: don't install symfony/event-dispatcher v3.1.5
    - Conclusion: don't install symfony/event-dispatcher v2.8.11
    - Conclusion: don't install symfony/event-dispatcher v3.1.4
    - Conclusion: don't install symfony/event-dispatcher v2.8.10
    - Conclusion: don't install symfony/event-dispatcher v3.1.3
    - Conclusion: don't install symfony/event-dispatcher v2.8.9
    - Conclusion: don't install symfony/event-dispatcher v3.1.2
    - Conclusion: don't install symfony/event-dispatcher v2.8.8
    - Installation request for wp-cli/wp-cli ~0.25 -> satisfiable by wp-cli/wp-cli[v0.25.0].
    - Installation request for deployer/deployer dev-master -> satisfiable by deployer/deployer[dev-master].
    - wp-cli/wp-cli v0.25.0 requires symfony/event-dispatcher ~2.7 -> satisfiable by symfony/event-dispatcher[v2.7.0, v2.7.1, v2.7.10, v2.7.11, v2.7.12, v2.7.13, v2.7.14, v2.7.15, v2.7.16, v2.7.17, v2.7.18, v2.7.19, v2.7.2, v2.7.20, v2.7.3, v2.7.4, v2.7.5, v2.7.6, v2.7.7, v2.7.8, v2.7.9, v2.8.0, v2.8.1, v2.8.10, v2.8.11, v2.8.12, v2.8.13, v2.8.2, v2.8.3, v2.8.4, v2.8.5, v2.8.6, v2.8.7, v2.8.8, v2.8.9].
    - Can only install one of: symfony/event-dispatcher[v3.1.0, v2.7.0].
    - Can only install one of: symfony/event-dispatcher[v3.1.0, v2.7.1].
    - Can only install one of: symfony/event-dispatcher[v3.1.0, v2.7.10].
    - Can only install one of: symfony/event-dispatcher[v3.1.0, v2.7.11].
    - Can only install one of: symfony/event-dispatcher[v3.1.0, v2.7.12].
    - Can only install one of: symfony/event-dispatcher[v3.1.0, v2.7.13].
    - Can only install one of: symfony/event-dispatcher[v3.1.0, v2.7.14].
    - Can only install one of: symfony/event-dispatcher[v3.1.0, v2.7.15].
    - Can only install one of: symfony/event-dispatcher[v3.1.0, v2.7.16].
    - Can only install one of: symfony/event-dispatcher[v3.1.0, v2.7.17].
    - Can only install one of: symfony/event-dispatcher[v3.1.0, v2.7.18].
    - Can only install one of: symfony/event-dispatcher[v3.1.0, v2.7.19].
    - Can only install one of: symfony/event-dispatcher[v3.1.0, v2.7.2].
    - Can only install one of: symfony/event-dispatcher[v3.1.0, v2.7.20].
    - Can only install one of: symfony/event-dispatcher[v3.1.0, v2.7.3].
    - Can only install one of: symfony/event-dispatcher[v3.1.0, v2.7.4].
    - Can only install one of: symfony/event-dispatcher[v3.1.0, v2.7.5].
    - Can only install one of: symfony/event-dispatcher[v3.1.0, v2.7.6].
    - Can only install one of: symfony/event-dispatcher[v3.1.0, v2.7.7].
    - Can only install one of: symfony/event-dispatcher[v3.1.0, v2.7.8].
    - Can only install one of: symfony/event-dispatcher[v3.1.0, v2.7.9].
    - Can only install one of: symfony/event-dispatcher[v3.1.0, v2.8.0].
    - Can only install one of: symfony/event-dispatcher[v3.1.0, v2.8.1].
    - Can only install one of: symfony/event-dispatcher[v3.1.0, v2.8.2].
    - Can only install one of: symfony/event-dispatcher[v3.1.0, v2.8.3].
    - Can only install one of: symfony/event-dispatcher[v3.1.0, v2.8.4].
    - Can only install one of: symfony/event-dispatcher[v3.1.0, v2.8.5].
    - Can only install one of: symfony/event-dispatcher[v3.1.0, v2.8.6].
    - Can only install one of: symfony/event-dispatcher[v3.1.0, v2.8.7].
    - deployer/deployer dev-master requires symfony/event-dispatcher ^3.1 -> satisfiable by symfony/event-dispatcher[v3.1.0, v3.1.1, v3.1.2, v3.1.3, v3.1.4, v3.1.5, v3.1.6].
    - Conclusion: don't install symfony/event-dispatcher v3.1.1
bug

All 2 comments

Need to lower deps for symfony/event-dispatcher. Will add ~2.7.

Fixed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

greatwitenorth picture greatwitenorth  路  4Comments

khoanguyen96 picture khoanguyen96  路  5Comments

chouex picture chouex  路  4Comments

lsv picture lsv  路  4Comments

dima-stefantsov picture dima-stefantsov  路  4Comments