Fix broken CI pipeline

Created on 30 August 2023, about 1 year ago
Updated 31 August 2023, about 1 year ago

Problem/Motivation

Automated QA is impossible on multiple tickets due to the following error:

11:13:09 sudo -u www-data /usr/local/bin/composer require 'drupal/jsonapi:*' --prefer-stable --no-progress --prefer-dist --no-suggest --no-interaction --working-dir /var/www/html
11:13:09 You are using the deprecated option "--no-suggest". It has no effect and will break in Composer 3.
11:13:09 ./composer.json has been updated
11:13:09 Running composer update drupal/jsonapi
11:13:09 > Drupal\Composer\Composer::ensureComposerVersion
11:13:09 Loading composer repositories with package information
11:13:09 Updating dependencies
11:13:10 Your requirements could not be resolved to an installable set of packages.
11:13:10 
11:13:10   Problem 1
11:13:10     - drupal/jsonapi[1.0.0-alpha1, ..., 1.4.0] require drupal/core ^8.2 -> satisfiable by drupal/core[8.2.0-beta1, ..., 8.9.x-dev] from composer repo (https://repo.packagist.org) but drupal/core[10.1.x-dev] from path repo (core) has higher repository priority. The packages from the higher priority repository do not match your constraint and are therefore not installable. That repository is canonical so the lower priority repo's packages are not installable. See https://getcomposer.org/repoprio for details and assistance.
11:13:10     - drupal/jsonapi[1.5.0, ..., 1.15.0] require drupal/core ^8.3 -> satisfiable by drupal/core[8.3.0-alpha1, ..., 8.9.x-dev] from composer repo (https://repo.packagist.org) but drupal/core[10.1.x-dev] from path repo (core) has higher repository priority. The packages from the higher priority repository do not match your constraint and are therefore not installable. That repository is canonical so the lower priority repo's packages are not installable. See https://getcomposer.org/repoprio for details and assistance.
11:13:10     - drupal/jsonapi[1.16.0, ..., 1.24.0] require drupal/core ^8.4.3 -> satisfiable by drupal/core[8.4.3, ..., 8.9.x-dev] from composer repo (https://repo.packagist.org) but drupal/core[10.1.x-dev] from path repo (core) has higher repository priority. The packages from the higher priority repository do not match your constraint and are therefore not installable. That repository is canonical so the lower priority repo's packages are not installable. See https://getcomposer.org/repoprio for details and assistance.
11:13:10     - drupal/jsonapi[2.0.0-beta1, ..., 2.2.0] require drupal/core ^8.5.4 -> satisfiable by drupal/core[8.5.4, ..., 8.9.x-dev] from composer repo (https://repo.packagist.org) but drupal/core[10.1.x-dev] from path repo (core) has higher repository priority. The packages from the higher priority repository do not match your constraint and are therefore not installable. That repository is canonical so the lower priority repo's packages are not installable. See https://getcomposer.org/repoprio for details and assistance.
11:13:10     - drupal/jsonapi[dev-1.x, dev-2.x, 1.25.0, ..., 1.x-dev, 2.3.0, ..., 2.x-dev] require drupal/core ^8.5.11 -> satisfiable by drupal/core[8.5.11, ..., 8.9.x-dev] from composer repo (https://repo.packagist.org) but drupal/core[10.1.x-dev] from path repo (core) has higher repository priority. The packages from the higher priority repository do not match your constraint and are therefore not installable. That repository is canonical so the lower priority repo's packages are not installable. See https://getcomposer.org/repoprio for details and assistance.

composer require 'drupal/jsonapi:* should be the problem...

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

3.0

Component

Miscellaneous

Created by

🇭🇺Hungary mxr576 Hungary

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024