You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Laravel 10 requires symfony/mime ^6.2, which conflicts with most symfony/serializer versions below 5.4.0.
This leads to a conflict between symfony/serializer versions needed by both packages.
Is there a known compatibility issue between ongr/elasticsearch-dsl v7.2.2, Laravel 10, and symfony/mime ^6.2?
Are there recommended workarounds or alternative versions to address this conflict?
Is there a roadmap for updating ongr/elasticsearch-dsl's dependencies to resolve this compatibility issue?
Additional Information:
composer require "ongr/elasticsearch-dsl 7.2.2"
./composer.json has been updated
Running composer update ongr/elasticsearch-dsl
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- symfony/serializer[v5.0.0, ..., v5.0.8] require php ^7.2.5 -> your php version (8.2.8) does not satisfy that requirement.
- symfony/serializer[v5.3.0, ..., v5.3.14] require symfony/deprecation-contracts ^2.1 -> found symfony/deprecation-contracts[v2.1.0, ..., v2.5.2] but the package is fixed to v3.4.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.
- laravel/framework is locked to version v10.40.0 and an update of this package was not requested.
- ongr/elasticsearch-dsl v7.2.2 requires symfony/serializer ^5.0 -> satisfiable by symfony/serializer[v5.0.0, ..., v5.4.34].
- symfony/mime v6.4.0 conflicts with symfony/serializer v5.4.34.
- symfony/mime v6.4.0 conflicts with symfony/serializer v5.4.25.
- symfony/mime v6.4.0 conflicts with symfony/serializer v5.4.21.
- symfony/mime v6.4.0 conflicts with symfony/serializer v5.4.2.
- symfony/mime v6.4.0 conflicts with symfony/serializer v5.4.0.
- symfony/mime v6.4.0 conflicts with symfony/serializer v5.2.12.
- symfony/mime v6.4.0 conflicts with symfony/serializer v5.2.11.
- symfony/mime v6.4.0 conflicts with symfony/serializer v5.2.1.
- symfony/mime v6.4.0 conflicts with symfony/serializer v5.0.11.
- laravel/framework v10.40.0 requires symfony/mime ^6.2 -> satisfiable by symfony/mime[v6.4.0].
- Root composer.json requires ongr/elasticsearch-dsl 7.2.2 -> satisfiable by ongr/elasticsearch-dsl[v7.2.2].
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
Hi,
I'm encountering a version conflict issue while trying to use ongr/elasticsearch-dsl v7.2.2 with Laravel 10 and PHP 8.2.8.
Symptoms:
When running composer require ongr/elasticsearch-dsl, I receive errors about conflicting dependencies:
Is there a known compatibility issue between ongr/elasticsearch-dsl v7.2.2, Laravel 10, and symfony/mime ^6.2?
Are there recommended workarounds or alternative versions to address this conflict?
Is there a roadmap for updating ongr/elasticsearch-dsl's dependencies to resolve this compatibility issue?
Additional Information:
Laravel version: 10 (latest)
PHP version: 8.2.8
Composer output:
composer.json
The text was updated successfully, but these errors were encountered: