Problem/Motivation
The updated deps job fails on build tests: https://git.drupalcode.org/project/drupal/-/jobs/2290402
our requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires drupal/core-recommended ^11 ->
satisfiable by drupal/core-recommended[11.0].
- drupal/core-recommended 11.0 requires guzzlehttp/guzzle ~7.8.1 ->
found guzzlehttp/guzzle[7.9.2] but it does not match the constraint.
Failed asserting that 2 matches expected 0.
/builds/project/drupal/core/tests/Drupal/BuildTests/Framework/BuildTestBase.php:305
/builds/project/drupal/core/tests/Drupal/BuildTests/Framework/B
I think this might be because core/composer.json allows guzzle to be updated to 7.9, but core-recommended is pinned to 7.8
If we update core to guzzle 7.9 it might pass again, not sure how much effort we want to put into debugging the test in its own right.
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
Introduced terminology
API changes
Data model changes
Release notes snippet
Issue fork drupal-3464995
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3464995-updated-deps-job
changes, plain diff MR !8998
Comments
Comment #3
catchJust trying the guzzle update to see if the job passes with that.
Comment #4
spokjeSo this seems to pass (let's pretend the JS error didn't happen, seems like a random
stale element-yadayada).What the deal is with the config validation having a (far too low) DB version, I don't know.
Is this job outdated? Does it still work on a "normal" MR?
Comment #5
spokjeCome to think of it, before the recent changes in the build-phase, we did a
composer installin the main build, and in the specific updated deps run, we did something along the lines of acomposer update -Won top of that.I can't find that last bit in the current output, but I'm very unfamiliar with how the current setup works by now.
Could somebody point me in the right direction, there must be output of what's been updated somewhere in there?
Comment #6
spokjeAaand even more thoughts: Should we do a (full) composer dependency update?
Currently we're missing out on the 7.1.3 release of Symfony.
Comment #7
catch@Spokje
It's still in there, just slightly hidden. We use the composer/yarn artifacts from the phpcs and spell checking jobs, instead of having dedicated composer and yarn building jobs now. But the actual test runs pull those artifacts in the same way, just from differently named jobs.
Those jobs still run composer update when needed, like:
https://git.drupalcode.org/project/drupal/-/jobs/2295372
So theoretically there shouldn't be a big change, but the mismatch with the guzzle update does seem newish.
Should we do a (full) composer dependency update?Currently we're missing out on the 7.1.3 release of Symfony.
Yes I think that's a good idea.
Comment #8
smustgrave commentedAssuming that will address the test failure.
Comment #10
quietone commentedThe updated dependencies tests are passing on 10.6.x, 11.3.x, 11.4.x, 11.x, and main. I am closing this as outdated.
Comment #11
godotislateFixed status per #10.