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

Your requirements could not be resolved to an installable set of packages. #749

Closed
asvechkar opened this issue Jul 31, 2023 · 6 comments · Fixed by #750
Closed

Your requirements could not be resolved to an installable set of packages. #749

asvechkar opened this issue Jul 31, 2023 · 6 comments · Fixed by #750
Assignees

Comments

@asvechkar
Copy link

How do you use Sentry?

Self-hosted / on-premises

SDK version

4.9.2

Steps to reproduce

composer update -W

Expected result

Problem 1
- Root composer.json requires sentry/sentry-symfony ^4.9.2 -> satisfiable by sentry/sentry-symfony[4.9.2].
- sentry/sentry-symfony 4.9.2 requires symfony/psr-http-message-bridge ^1.2||^2.0 -> 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.

Actual result

Now I have installed symfony/psr-http-message-bridge v2.2.0.

@W0rma
Copy link
Contributor

W0rma commented Jul 31, 2023

symfony/symfony#51100 moved symfony/psr-http-message-bridge to the symfony monorepo. Could that be related to this issue?

@cleptric
Copy link
Member

My hunch is that the recent change in Symfony caused this. I opened symfony/symfony#51192 for further clarification.

I assume this will be resolved once 6.4 is tagged, but this has yet to happen.
#750

@derrabus
Copy link
Contributor

This issue seems to be caused by Symfony Flex. As a workaround, you can add "symfony/psr-http-message-bridge": "^2.3" to the require section of your project. This should make the error disappear while we're working on a more permanent solution.

@tacman
Copy link

tacman commented Aug 1, 2023

Thanks, @derrabus add "symfony/psr-http-message-bridge": "^2.3" to require worked perfectly.

I wish json allowed for comments, so I could reference this issue as to why I installed that!

@nostadt
Copy link

nostadt commented Aug 3, 2023

Thanks, @derrabus add "symfony/psr-http-message-bridge": "^2.3" to require worked perfectly.

I wish json allowed for comments, so I could reference this issue as to why I installed that!

I usually use the git commit for that. True, it's a little less convenient but works for me.

@cleptric
Copy link
Member

Released in 4.12.0

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

Successfully merging a pull request may close this issue.

6 participants