Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flex tries to install version that are not tagged #989

Open
icanhazstring opened this issue Aug 3, 2023 · 0 comments
Open

Flex tries to install version that are not tagged #989

icanhazstring opened this issue Aug 3, 2023 · 0 comments

Comments

@icanhazstring
Copy link

Hi seems like I have found an issue with symfony/flex regarding * version constraint.

Problem:
Having the following requirements:

{
    "require": {
        "php": ">=8.2",
        "symfony/flex": "^2.3.2",
        "symfony/framework-bundle": "~6.3.2",
    }
}

Running the following command will fail as symfony/flex takes the version from symfony/framework-bundle to replace any * version inside the pack.

composer req symfony/serializer-pack

Problem here symfony/property-info does not have a version 6.3.2 so the installation failes.
When I remove symfony/flex and simply require property-info with * everything works fine and version v6.3 is installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant