Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
We are on a specific commit for behat/mink-goutte-driver
in composer.json and we were waiting on a release. The release is here. Let's update! We can also update behat/*
while we are at it.
Beta phase evaluation
Issue category | Task because it is an external library upgrade |
---|---|
Issue priority | Critical because we need to move away from a specific commit as discussed in #2400407: [meta] Ensure vendor (PHP) libraries are on latest stable release |
Disruption | Shouldn't be disruptive |
Comment | File | Size | Author |
---|---|---|---|
#2 | upgrade_behat_mink_and-2578815-2.patch | 190.89 KB | hussainweb |
Comments
Comment #2
hussainwebHere is the patch.
Comment #3
hussainwebIn case anyone wants to review the changes. I ran the command after updating the composer file manually. The constraint for behat/mink-goutte-driver is
~1.2
.Comment #4
jibranGreen
Comment #5
dawehnerWe should change the rules of critical version updates to non dev dependencies IMHO :) Updating those packages though is for sure never a bad idea.
Comment #6
hussainwebIt's not just that this is a minor version upgrade (which should be critical), but also the fact that we are locked on a specific commit. We discussed earlier that we should not release the RC or final (can't remember which) in this state.
Comment #7
catchSince this is/should be require-dev downgrading to major. We should update the docs for that.
I do think having to run dev releases of vendor libraries is a sign of a more serious issue (for a start that they haven't cut a tag for months).
Comment #8
dawehnerSure, I don't argue against that, but its just ridiculous as tests are not what you run on production.
I do think having to run dev releases of vendor libraries is a sign of a more serious issue
Well, it was our decision to update to guzzle 6, while guzzle 5 was still supported.
Comment #9
catchYes it was, after asking how long it would be supported for and being told "at least a year", on May 27th.
https://twitter.com/mtdowling/status/603603747856621568
Comment #10
hussainweb@catch: I am not sure if I understand you on #7. This update removes the dev version and moves to a stable. It was on a specific commit as we needed a particular fix but it is released now.
Comment #11
catch@hussainweb I mean we use these libraries only for testing, not at runtime. So there are no release blocking implications of being on a commit hash. I'll commit this later either way.
Comment #12
hussainwebThat's true, and it makes sense. There should be no release blocking implications but we should keep a sane version identifier available at all times. It would affect how Drupal would be used with other components in a composer workflow.
Comment #13
webchickCommitted and pushed to 8.0.x. Thanks!