behat-rest-testing
behat-rest-testing copied to clipboard
Cannot install this package on symfony v4.3
When I run:
composer require --dev deminy/behat-rest-testing
I got the error:
Using version ^3.0 for deminy/behat-rest-testing
./composer.json has been updated
Loading composer repositories with package information
Warning: Accessing satis.dealtrak.co.uk over http which is an insecure protocol.
Updating dependencies (including require-dev)
Restricting packages listed in "symfony/symfony" to "4.3.*"
Your requirements could not be resolved to an installable set of packages.
Problem 1
- deminy/behat-rest-testing 3.0.0 requires behat/behat ~3.0.6 -> satisfiable by behat/behat[v3.0.10, v3.0.11, v3.0.12, v3.0.13, v3.0.14, v3.0.15, v3.0.6, v3.0.7, v3.0.8, v3.0.9].
- deminy/behat-rest-testing 3.0.1 requires behat/behat ~3.0.6|~3.1.0|~3.2.0|~3.3.0 -> satisfiable by behat/behat[v3.0.10, v3.0.11, v3.0.12, v3.0.13, v3.0.14, v3.0.15, v3.0.6, v3.0.7, v3.0.8, v3.0.9, v3.1.0, v3.1.0rc1, v3.1.0rc2, v3.2.0, v3.2.0rc1, v3.2.0rc2, v3.2.1, v3.2.2, v3.2.3, v3.3.0, v3.3.1].
- deminy/behat-rest-testing 3.0.2 requires behat/behat >=3.0.6 <=3.4.0 -> satisfiable by behat/behat[v3.0.10, v3.0.11, v3.0.12, v3.0.13, v3.0.14, v3.0.15, v3.0.6, v3.0.7, v3.0.8, v3.0.9, v3.1.0, v3.1.0rc1, v3.1.0rc2, v3.2.0, v3.2.0rc1, v3.2.0rc2, v3.2.1, v3.2.2, v3.2.3, v3.3.0, v3.3.1, v3.4.0].
- deminy/behat-rest-testing 3.0.x-dev requires behat/behat >=3.0.6 <=3.4.0 -> satisfiable by behat/behat[v3.0.10, v3.0.11, v3.0.12, v3.0.13, v3.0.14, v3.0.15, v3.0.6, v3.0.7, v3.0.8, v3.0.9, v3.1.0, v3.1.0rc1, v3.1.0rc2, v3.2.0, v3.2.0rc1, v3.2.0rc2, v3.2.1, v3.2.2, v3.2.3, v3.3.0, v3.3.1, v3.4.0].
- behat/behat v3.4.0 requires symfony/console ~2.5||~3.0 -> no matching package found.
- behat/behat v3.3.1 requires symfony/console ~2.5||~3.0 -> no matching package found.
- behat/behat v3.3.0 requires symfony/console ~2.5||~3.0 -> no matching package found.
- behat/behat v3.2.3 requires symfony/console ~2.5||~3.0 -> no matching package found.
- behat/behat v3.2.2 requires symfony/console ~2.5||~3.0 -> no matching package found.
- behat/behat v3.2.1 requires symfony/console ~2.5||~3.0 -> no matching package found.
- behat/behat v3.2.0rc2 requires symfony/console ~2.5||~3.0 -> no matching package found.
- behat/behat v3.2.0rc1 requires symfony/console ~2.5||~3.0 -> no matching package found.
- behat/behat v3.2.0 requires symfony/console ~2.5||~3.0 -> no matching package found.
- behat/behat v3.1.0rc2 requires symfony/console ~2.1|~3.0 -> no matching package found.
- behat/behat v3.1.0rc1 requires symfony/console ~2.1|~3.0 -> no matching package found.
- behat/behat v3.1.0 requires symfony/console ~2.1|~3.0 -> no matching package found.
- behat/behat v3.0.9 requires symfony/console ~2.1 -> no matching package found.
- behat/behat v3.0.8 requires symfony/console ~2.1 -> no matching package found.
- behat/behat v3.0.7 requires symfony/console ~2.1 -> no matching package found.
- behat/behat v3.0.6 requires symfony/console ~2.1 -> no matching package found.
- behat/behat v3.0.15 requires symfony/console ~2.1 -> no matching package found.
- behat/behat v3.0.14 requires symfony/console ~2.1 -> no matching package found.
- behat/behat v3.0.13 requires symfony/console ~2.1 -> no matching package found.
- behat/behat v3.0.12 requires symfony/console ~2.1 -> no matching package found.
- behat/behat v3.0.11 requires symfony/console ~2.1 -> no matching package found.
- behat/behat v3.0.10 requires symfony/console ~2.1 -> no matching package found.
- Installation request for deminy/behat-rest-testing ^3.0 -> satisfiable by deminy/behat-rest-testing[3.0.0, 3.0.1, 3.0.2, 3.0.x-dev].
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
- It's a private package and you forgot to add a custom repository to find it
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
Is it going to be fixed?
I tested locally, and everything looked good. I reran the tests through Travis CI with different versions of PHP and Behat; all tests passed.
The error log said that "behat/behat v3.x.x requires symfony/console ~2.1 -> no matching package found." but package symfony/console
2.x does exist, as you can see from https://github.com/symfony/console .
I'd suggest you try it again. If it still fails, try it in a clean directory.
Sorry I didn't see that you were trying to use it with Symfony 4.3.
This repository uses an old version of Behat (3.3
) which is not compatible with latest versions of Symfony, as you can see there are dependency conflicts. Unfortunately I don't have time refactoring the repository for latest version of Behat (3.5
). You will have to figure it out by yourself. Sorry about that.
@deminy thanks. Will try again tomorrow. Please, hold the issue for a while.
Sorry I didn't see that you were trying to use it with Symfony 4.3.
This repository uses an old version of Behat (
3.3
) which is not compatible with latest versions of Symfony, as you can see there are dependency conflicts. Unfortunately I don't have time refactoring the repository for latest version of Behat (3.5
). You will have to figure it out by yourself. Sorry about that.
Oh, OK. Then this issue might be a starting point for the symfony 4.3 integration. =)