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

symfony/console require mismatch with Magento 2.4.4-p6 #177

Closed
Seppo-Konttinen-Solteq opened this issue Dec 27, 2023 · 8 comments
Closed

Comments

@Seppo-Konttinen-Solteq
Copy link

Problem 1

  • Root composer.json requires contentful/contentful-management ^4.1 -> satisfiable by contentful/contentful-management[4.1.0].
  • contentful/contentful-management 4.1.0 requires symfony/console ^5.0|^6.0 -> found symfony/console[v5.0.0-BETA1, ..., v5.4.32, v6.0.0-BETA1, ..., v6.4.1] but these were not loaded, likely because it conflicts with another require.

magento/composer module requires "symfony/console": "~4.4.0". Also "contentful/contentful" acceptes ~4.0 ("symfony/console": "~2.7|~3.0|~4.0|^5.0|^6.0") so could this module also accept it?

@Seppo-Konttinen-Solteq
Copy link
Author

Hi @Sebb767 .

Are you able to comment on this :)

Thanks.

@Sebb767
Copy link
Collaborator

Sebb767 commented Feb 16, 2024

Hi @Seppo-Konttinen-Solteq ,

Symfony 4.4 is end-of-life: https://symfony.com/releases/4.4 and will also be dropped by contentful/contentful.php in the next release. Is it possible for you to use v4.0.0 of contentful/contentful-management.php which still supports older Symfony versions?

@Seppo-Konttinen-Solteq
Copy link
Author

Hi @Sebb767 .

I'm afraid that contentful/contentful-management.php is incompatible with contentful/core 4.0.0 which is needed by contentful/contentful 7.0.1 which seems to be first that is really compatible with PHP8.x.

So it seems that I am in a bit problem here now between Contentful and Magento requires :)

Problem 1
- Root composer.json requires contentful/contentful-management 4.0.0 -> satisfiable by contentful/contentful-management[4.0.0].
- contentful/contentful-management 4.0.0 requires contentful/core ^3.0 -> found contentful/core[3.0.0, ..., 3.2.0] but the package is fixed to 4.0.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.

@Sebb767
Copy link
Collaborator

Sebb767 commented Feb 28, 2024

It seems you're right. I'll push a minor fix to allow Symfony 4.4 again.

@Seppo-Konttinen-Solteq
Copy link
Author

Hi @Sebb767.

Thank you. When I could expect the fix to be done?

@Seppo-Konttinen-Solteq
Copy link
Author

Hi @Sebb767 .

Any info when the minor fix would be added?

Thanks.

@Sebb767
Copy link
Collaborator

Sebb767 commented May 30, 2024

I've released v4.1.2, which should fix this issue

@Seppo-Konttinen-Solteq
Copy link
Author

Works. Thanks.

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

2 participants