microsoft / microsoft/Oryx

Composer version is too low to get the 'symfony/flex' lib working

Open
#1,833 1 comment 0 reactions 1 assignee View on GitHub

@waliMSFT is already working on this.

Since Jan 24, 2023.

enhancement
Dominant language
C#
Stars
881
Forks
195
Avg merge
20h 13m
Merged PRs (30d)
13

Description

Bug Report
  • At what date and time did you most recently experience the problem?
    20/01/2023

  • Where did you experience the problem? E.g. Azure Web Apps, Azure Functions, Azure Container Registry, or offline use.
    Azure Web Apps

  • If your repo is publicly available please share its URL:
    No

  • What happened?
    When running composer install --ignore-platform-reqs --no-interaction, if you set "symfony/flex" lib to version 2+, it will failed with error message The "symfony/flex" plugin was skipped because it requires a Plugin API version ("^2.1") that does not match your Composer installation ("2.0.0"). You may need to run composer update with the "--no-plugins" option.

However, if you set "symfony/flex" lib to version 1+, it is success.

  • What did you expect or want to happen?
    Make the deployment success when using the latest version of "symfony/flex"

  • How can we reproduce it?
    In composer.json file, change "symfony/flex": "^1" to "symfony/flex": "^2"

  • Do you have log output? Please include between the backticks:

The "symfony/flex" plugin was skipped because it requires a Plugin API version ("^2.1") that does not match your Composer installation ("2.0.0"). You may need to run composer update with the "--no-plugins" option.
 

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.