- Issue created by @mortona2k
- πΊπΈUnited States kerasai
Hi there,
I think there is a conflict with some of the dependencies, likely
laminas/laminas-servicemanager
orlaminas/laminas-validator
.Can you verify what your environment? Looks like PHP 8.3. What version of Drupal core, and any other notable modules/dependencies?
- πΊπΈUnited States mortona2k Seattle
PHP 8.3, Drupal 10.3.6.
Looks like the required laminas package versions don't support PHP 8.3.
mmucklo/email-parse 2.2 requires laminas/laminas-validator: ^2.13.
https://root.packagist.org/packages/mmucklo/email-parse#2.2.1Looks like PHP support was added to laminals/laminas-validator in 2.39.
https://root.packagist.org/packages/laminas/laminas-validator#2.39.02.39 requires laminas-servicemanager 3.21.0, but that does not yet support php 8.3.
So the blocker is mmucklo/email-parse because it's pinned to an outdated release. The laminas packages look like they are fixed, but are not allowed to update.
- πΊπΈUnited States mortona2k Seattle
Some further analysis.
laminas-validator 2.39 requires servicemanager ^3.21.0, but that allows updating to 3.22.0, which supports php 8.3.
servicemanager 3.22.0 - 3.23.x require psr/container:^1, which has these conflicts in my project:
drupal/core-recommended 10.3.6 requires psr/container (~2.0.2)
illuminate/contracts v10.48.22 requires psr/container (^1.1.1|^2.0.1)
league/container 4.2.2 requires psr/container (^1.1 || ^2.0)
pimple/pimple v3.5.0 requires psr/container (^1.1 || ^2.0)
symfony/dependency-injection v6.4.12 requires psr/container (^1.1|^2.0)
symfony/service-contracts v3.5.0 requires psr/container (^1.1|^2.0)
symfony/type-info v7.1.5 requires psr/container (^1.1|^2.0)(Core being the big blocker there).
servicemanager 4.x adds support for ^1.1 || ^2.0.
So the problem is still the dependency chain on mmucklo/email-parse.
- πΊπΈUnited States mortona2k Seattle
Created a new issue to request bumping laminas-validator dependency in email-parse to ^3.
3.0 was released yesterday: https://github.com/laminas/laminas-validator/releases/tag/3.0.0
https://github.com/mmucklo/email-parse/issues/33
They will need to create a new version to split the dependency requirements.
I'm not familiar with email-parse. Maybe there's a better package out there, or you could try bumping the version manually to test if it still works.
Looks like there are a few breaking changes to review.
https://github.com/laminas/laminas-servicemanager/releases/tag/4.0.0
https://github.com/laminas/laminas-validator/releases/tag/3.0.0