Page MenuHomePhabricator

composer-coverage-patch-docker fails on Parsoid
Closed, ResolvedPublic

Description

Seen on: https://gerrit.wikimedia.org/r/c/mediawiki/services/parsoid/+/1007028 https://integration.wikimedia.org/ci/job/composer-coverage-patch-docker/1359/console

16:46:12 [11.5MiB/0.06s] ./composer.json has been updated
16:46:12 [13.5MiB/0.09s] Running composer update mediawiki/phpunit-patch-coverage
16:46:12 [12.7MiB/0.10s] Loading composer repositories with package information
16:46:12 [14.1MiB/0.24s] Updating dependencies
16:46:12 [15.3MiB/0.27s] Your requirements could not be resolved to an installable set of packages.
16:46:12 [15.3MiB/0.27s] 
16:46:12   Problem 1
16:46:12     - Root composer.json requires mediawiki/phpunit-patch-coverage 0.0.12 -> satisfiable by mediawiki/phpunit-patch-coverage[0.0.12].
16:46:12     - mediawiki/phpunit-patch-coverage 0.0.12 requires nikic/php-parser ^4.15.1 -> found nikic/php-parser[v4.15.1, ..., v4.18.0] but the package is fixed to v5.0.1 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
16:46:12 
16:46:12 Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
16:46:12 [14.3MiB/0.27s] 
16:46:12 Installation failed, reverting ./composer.json and ./composer.lock to their original content.
16:46:12 [14.2MiB/0.27s] Memory usage: 14.24MiB (peak: 16.7MiB), time: 0.27s

Event Timeline

Change 1007381 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/services/parsoid@master] composer.json: Explicitly pin nikic/php-parser

https://gerrit.wikimedia.org/r/1007381

Change 1007381 merged by jenkins-bot:

[mediawiki/services/parsoid@master] composer.json: Explicitly pin nikic/php-parser

https://gerrit.wikimedia.org/r/1007381

Change 1008400 had a related patch set uploaded (by Isabelle Hurbain-Palatin; author: Isabelle Hurbain-Palatin):

[mediawiki/vendor@master] Bump wikimedia/parsoid to 0.19.0-a20

https://gerrit.wikimedia.org/r/1008400

Change 1008400 merged by jenkins-bot:

[mediawiki/vendor@master] Bump wikimedia/parsoid to 0.19.0-a20

https://gerrit.wikimedia.org/r/1008400