Closed jhchnc closed 5 years ago
The symfony/symfony
package already includes the BrowserKit component. You cannot require it in a different version in require-dev
.
Thank you. I now see that in the symfony 3.4 branch composer.json. However, when removing just the browser-kit requirement, I now get:
Problem 1
- Installation request for symfony/symfony ^3.4.22 -> satisfiable by symfony/symfony[v3.4.22].
- symfony/panther v0.2.0 requires symfony/browser-kit ^4.0 -> satisfiable by symfony/browser-kit[v4.0.0, v4.0.1, v4.0.10, v4.0.11, v4.0.12, v4.0.13, v4.0.14, v4.0.15, v4.0.2, v4.0.3, v4.0.4, v4.0.5, v4.0.6, v4.0.7, v4.0.8, v4.0.9, v4.1.0, v4.1.1, v4.1.10, v4.1.11, v4.1.2, v4.1.3, v4.1.4, v4.1.5, v4.1.6, v4.1.7, v4.1.8, v4.1.9, v4.2.0, v4.2.1, v4.2.2, v4.2.3].
- don't install symfony/browser-kit v4.0.0|don't install symfony/symfony v3.4.22
- don't install symfony/browser-kit v4.0.1|don't install symfony/symfony v3.4.22
- don't install symfony/browser-kit v4.0.10|don't install symfony/symfony v3.4.22
- don't install symfony/browser-kit v4.0.11|don't install symfony/symfony v3.4.22
- don't install symfony/browser-kit v4.0.12|don't install symfony/symfony v3.4.22
- don't install symfony/browser-kit v4.0.13|don't install symfony/symfony v3.4.22
- don't install symfony/browser-kit v4.0.14|don't install symfony/symfony v3.4.22
- don't install symfony/browser-kit v4.0.15|don't install symfony/symfony v3.4.22
- don't install symfony/browser-kit v4.0.2|don't install symfony/symfony v3.4.22
- don't install symfony/browser-kit v4.0.3|don't install symfony/symfony v3.4.22
- don't install symfony/browser-kit v4.0.4|don't install symfony/symfony v3.4.22
- don't install symfony/browser-kit v4.0.5|don't install symfony/symfony v3.4.22
- don't install symfony/browser-kit v4.0.6|don't install symfony/symfony v3.4.22
- don't install symfony/browser-kit v4.0.7|don't install symfony/symfony v3.4.22
- don't install symfony/browser-kit v4.0.8|don't install symfony/symfony v3.4.22
- don't install symfony/browser-kit v4.0.9|don't install symfony/symfony v3.4.22
- don't install symfony/browser-kit v4.1.0|don't install symfony/symfony v3.4.22
- don't install symfony/browser-kit v4.1.1|don't install symfony/symfony v3.4.22
- don't install symfony/browser-kit v4.1.10|don't install symfony/symfony v3.4.22
- don't install symfony/browser-kit v4.1.11|don't install symfony/symfony v3.4.22
- don't install symfony/browser-kit v4.1.2|don't install symfony/symfony v3.4.22
- don't install symfony/browser-kit v4.1.3|don't install symfony/symfony v3.4.22
- don't install symfony/browser-kit v4.1.4|don't install symfony/symfony v3.4.22
- don't install symfony/browser-kit v4.1.5|don't install symfony/symfony v3.4.22
- don't install symfony/browser-kit v4.1.6|don't install symfony/symfony v3.4.22
- don't install symfony/browser-kit v4.1.7|don't install symfony/symfony v3.4.22
- don't install symfony/browser-kit v4.1.8|don't install symfony/symfony v3.4.22
- don't install symfony/browser-kit v4.1.9|don't install symfony/symfony v3.4.22
- don't install symfony/browser-kit v4.2.0|don't install symfony/symfony v3.4.22
- don't install symfony/browser-kit v4.2.1|don't install symfony/symfony v3.4.22
- don't install symfony/browser-kit v4.2.2|don't install symfony/symfony v3.4.22
- don't install symfony/browser-kit v4.2.3|don't install symfony/symfony v3.4.22
- Installation request for symfony/panther ^0.2.0 -> satisfiable by symfony/panther[v0.2.0].
I get a similar error whether specifying panther v3 or v2.
I think this initial error is why I added the browser-kit to require-dev initially...
If I move
"symfony/panther": "^0.2.0",
"symfony/browser-kit": "^4.0"
To require
instead of require-dev
, then I get original issue -- joy on desktop, no joy on Virtualbox or remote environments.
If I remove references to browser-kit
entirely, and simply leave symfony\panther' in
require`, then the process will not run in any environment, including my local desktop.
I should mention I'm using symfony/framework-standard-edition
Thanks very much for any assistance. When I've got it working, panther has been an amazing asset for us (I'm at a large private Univ. in the US).
Looking at the dependencies I am afraid that you won't be able to use Panther with Symfony 3.4 but need to update to Symfony 4 first.
I have a composer configuration which I have been able to use locally with require-dev if I run composer through the desktop CLI of a shared folder that my virtual machine uses as well. With a passing composer install, I have zero issues running panther tests, and have found it incredibly useful.
On production I can use the same composer file run with --no-dev, and my application works great.
I can get past all of this in non-ideal ways, but was looking for an ideal way.
Thanks for your help in understanding that I'm not going crazy :) We are pinned to 3.4 because it's a LTS release.
I have a fork that supports Symfony v3.4.
https://github.com/estimateone/panther
I need to spend some time to get the latest changes into it, but we’ve found it functional for a few months.
On 3 Mar 2019, at 3:10 am, jhchnc notifications@github.com wrote:
I have a composer configuration which I have been able to use locally with require-dev if I run composer through the desktop CLI of a shared folder that my virtual machine uses as well. With a passing composer install, I have zero issues running panther tests, and have found it incredibly useful.
On production I can use the same composer file run with --no-dev, and my application works great.
I can get past all of this in non-ideal ways, but was looking for an ideal way.
Thanks for your help in understanding that I'm not going crazy :) We are pinned to 3.4 because it's a LTS release.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
@navitronic I will give that a look! Thank you for posting.
@navitronic thank you VERY much!
@navitronic Would you suggest use of your three-point-four branch, or your master branch?
I have three basic environments, 2 of which are interrelated.
Local Ubuntu desktop, php 7.2.15 -- WORKS Local Virtualbox running on Ubuntu local Ubuntu desktop, php 7.2.15 -- FAILS Remote Staging server, php 7.2.10 -- FAILS
Trying to do
SYMFONY_ENV=dev composer install
Composer.json
HOWEVER, if I remove the following lines from "require-dev" of composer.json
THEN, it works within ALL three environments!
Naturally, I am removing my ./vendor folder and composer.lock file before I run each test.
Any help is greatly appreciated!