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

Resolving dependencies fails for symfony/psr-http-message-bridge after change of recipe #998

Open
codedmonkey opened this issue Oct 23, 2023 · 0 comments

Comments

@codedmonkey
Copy link
Contributor

Hi there,

The version number of the psr-http-message-bridge package has been separate from the main Symfony releases up until now, but looking at some changes in the recipe and the repository it looks like it's going to be included from version 6.4 on.

When I set extra.symfony.require in my composer.json to ^6.0 and there's a package that requires something like "symfony/psr-http-message-bridge": "^1.2||^2.0" Flex is unable to resolve the dependencies because it thinks it should resolve to psr-http-message-bridge version 6.4 (which isn't released yet at the time of writing) with the message: found symfony/psr-http-message-bridge[v1.2.0, v1.3.0, v2.0.0, ..., v2.3.1] but these were not loaded, likely because it conflicts with another require

Updating the constraint in composer.json to 6.3.* does fix the problem, but I imagine others will encounter this when 6.4 releases and are using external packages that haven't updated their dependencies.

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