From 9d6355d5e6cf387ece9f60e2f96c04b6e55e188a Mon Sep 17 00:00:00 2001 From: Vinai Kopp Date: Tue, 29 Nov 2022 15:02:51 +0100 Subject: [PATCH] chore: fix composer version dependency for nightly (#97) Nightly builds initialize the required php infra with composer create-project composer/satis:dev-main. This pulls in composer 2.4.2 as a dependency at the time of writing. However, the result is a broken upstream nightly and mageos nightly build. When composer install is run while determining the base package dependencies. The error is: - laminas/laminas-dependency-plugin 2.5.0 requires composer-plugin-api >=1.1.0 <2.3.0 -> found composer-plugin-api[2.3.0] but it does not match the constraint. Reference * [failed job](https://github.com/mage-os/generate-mirror-repo-js/actions/runs/3508445982/jobs/5876852570) * [checkout magento action](https://github.com/mage-os/generate-mirror-repo-js/blob/main/.github/actions/checkout-magento/action.yml#L41) * [shivammathur/setup-php tools input](https://github.com/shivammathur/setup-php#wrench-tools-support) --- supported-version/src/versions/composite.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/supported-version/src/versions/composite.json b/supported-version/src/versions/composite.json index c3b893f..09f39a9 100644 --- a/supported-version/src/versions/composite.json +++ b/supported-version/src/versions/composite.json @@ -98,7 +98,7 @@ "magento/project-community-edition:next": { "magento": "magento/project-community-edition:next", "php": 8.1, - "composer": 2, + "composer": 2.2, "mysql": "mysql:8.0", "elasticsearch": "elasticsearch:7.17.5", "rabbitmq": "rabbitmq:3.9", @@ -107,4 +107,4 @@ "nginx": "nginx:1.18", "os": "ubuntu-latest" } -} \ No newline at end of file +}