Problem/Motivation
Splitting from #3055180: [META] Symfony 5 compatibility.
MinkBrowserKitDriver does not yet support Symfony 5, and the PRs have been relatively inactive/unreviewed for over a year.
Issue: https://github.com/minkphp/MinkBrowserKitDriver/issues/139
PR 1: https://github.com/minkphp/MinkBrowserKitDriver/pull/151
PR 2: https://github.com/minkphp/MinkBrowserKitDriver/pull/142
We still have several months before we'll have the Drupal 10 branch opened, so this isn't an urgent issue yet, but it may become urgent as we approach the autumn.
There is a fork, published to packagist, which has PHP 8 compatibility and Symfony 5 support, it may be worth switching to that until the official branch is compatible, at least for patch testing, but possibly during Drupal 10's development if the PRs still haven't been merged.
https://packagist.org/packages/friends-of-behat/mink-browserkit-driver
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Drupal has replaced the behat/mink-browserkit-driver
dependency with friends-of-behat/mink-browserkit-driver
for PHP 8 and Symfony 5 compatibility.
Comment | File | Size | Author |
---|---|---|---|
#5 | 3209459-5.patch | 9.27 KB | longwave |
Comments
Comment #2
longwaveI think we should just switch to the fork if the original package is no longer being maintained, we likely need this to get a green run in #3161889: [META] Symfony 6 compatibility as one of the existing tests doesn't like dev releases.
Comment #4
andypostTests clean-up (vendor hardening) needs to be fixed
Comment #5
longwaveFixed #4.
Comment #6
andypostI'd like to rtbc but it screaming for Release note snippet in summary or change record
Comment #7
catchChanging the title to match the proposed solution.
When I opened this I wasn't originally thinking to actually switch to the fork, but friends of behat is relatively well established, and the worst that could happen is it also becomes unmaintained and/or we need to switch back again. So this looks like a good option that will simplify our lives for at least the next year.
Comment #8
longwave@andypost Good point, updated IS with snippet and added CR: https://www.drupal.org/node/3209701
Comment #9
catchI've tweaked the release note mention since the fork page says they'll only merge Symfony compatibility fixes and sync with upstream, it's not a full fork (at least not yet).
Adding the 9.2.0 release notes tag. Briefly discussed this change with @xjm and we're both comfortable making this change in a minor with the release notes mention.
Comment #10
andypostLet's get it in!
Comment #12
catchAny problems we can switch back, but this is pretty trivial and unblocks several things.