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

conflict with sebastian/comparator >=5 #423

Closed
nics-le opened this issue Mar 8, 2024 · 3 comments · Fixed by #433
Closed

conflict with sebastian/comparator >=5 #423

nics-le opened this issue Mar 8, 2024 · 3 comments · Fixed by #433

Comments

@nics-le
Copy link

nics-le commented Mar 8, 2024

API Platform version(s) affected: dev-main

Description
Hi there,

in our company we make heavy use of schema generator in our symfony projects and wanted to upgrade them to symfony 7.
Since Symfony 7 is not supported by recent schema-generator versions we switched to main branch which supports it.

Sadly the incompatibility with sebastian/comparator leads us to unsolvable version conflicts. For example you can't use api-plattform/schema generator with a not outdated version of phpunit.

E.g. the last version of phpunit you can use with your main branch is phpunit 9.x which reached its end of bugfix support in February 2024.

So my final question:
Are there any plans to remove this conflict with not outdated versions of sebastian/comparator?

Thanks in advance :)

Possible Solution
remove conflict with sebastian/comparator: >=5

@toby-griffiths
Copy link
Contributor

toby-griffiths commented Jan 29, 2025

I've just hit this when trying to install Pest in a new API Platform as it requires sebastian/comparator, and so conflicts.

Can anyone share why the conflict is in place, to help identify a possible resolution?

I looked at the git blame that added the conflict but it looks to me like just a dependencies update, so can't tell what the cause for the conflict is from the commit message.

@toby-griffiths
Copy link
Contributor

@nics-le I've tried asking on the API Platform disussion boards on when Symfony 7 might be officially supported.

@toby-griffiths
Copy link
Contributor

@dunglas you are a ⭐️!

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

Successfully merging a pull request may close this issue.

2 participants