acquia / blt-behat

Acquia BLT plugin providing integration with Behat
GNU General Public License v2.0
0 stars 16 forks source link

Upstream PHP 8.1.x and Drupal 10.x. Issues #24

Open mikemadison13 opened 2 years ago

mikemadison13 commented 2 years ago

While working to test BLT 13.x with Drupal 10 and PHP 8.1.x I'm running into issues with the various Behat plugins.

jhedstrom/drupalextension appears to be compatible if we go to dev-master. HOWEVER that plugin requires jhedstrom/DrupalDriver which is not yet ready. I've opened an issue there (https://github.com/jhedstrom/DrupalDriver/issues/247) and am actively working to update the various packages to be PHP 8.1.x and Drupal 10.x compatible.

mikemadison13 commented 2 years ago

With the Drupal Driver updated, it looks like Behat itself has a blockage on PSR versions that will cause problems: https://github.com/Behat/Behat/pull/1380

Until this is remediated (and the drupal extension updates to use the new Drupal Driver) we are going to blocked for a while here.

mikemadison13 commented 2 years ago

We are currently blocked by https://github.com/jhedstrom/drupalextension/issues/614

mikemadison13 commented 2 years ago

trying this out here: https://github.com/Drupal4Gov/Drupal-GovCon-2017/pull/1014 (which is failing due to apparent behat issues).

mikemadison13 commented 1 year ago

the dev-master version of the drupalextension is now compatible. however, bex/behat-screenshot and at least one of its dependencies is still locked into symfony below 6.x.

thegbomb commented 1 year ago

  Problem 1
    - bex/behat-screenshot 2.0.0 requires symfony/filesystem ^2.7|^3.0|^4.0 -> found symfony/filesystem[v2.7.0-BETA1, ..., 2.8.x-dev, v3.0.0-BETA1, ..., 3.4.x-dev, v4.0.0-BETA1, ..., 4.4.x-dev] but these were not loaded, likely because it conflicts with another require.
    - bex/behat-screenshot 2.1.0 requires symfony/filesystem ^2.7|^3.0|^4.0|^5.0 -> found symfony/filesystem[v2.7.0-BETA1, ..., 2.8.x-dev, v3.0.0-BETA1, ..., 3.4.x-dev, v4.0.0-BETA1, ..., 4.4.x-dev, v5.0.0-BETA1, ..., 5.4.x-dev] but these were not loaded, likely because it conflicts with another require.
    - acquia/blt-behat v1.3.0 requires bex/behat-screenshot ^2 -> satisfiable by bex/behat-screenshot[2.0.0, 2.1.0].
    - Root composer.json requires acquia/blt-behat ^1.3 -> satisfiable by acquia/blt-behat[v1.3.0].
pavlosdan commented 1 year ago

Updated drupal extension constraint https://github.com/acquia/blt-behat/pull/34 Removes bex/behat-screenshot https://github.com/acquia/blt-behat/pull/33