Closed ArthurHoaro closed 4 years ago
You need to upgrade ocramius/package-versions
first. The issue is related to it being locked at v1.9 (as seen in the message).
I can submit a PR to upgrade infection dependency if necessary, however v1.9 seems to be the latest version of that library: https://github.com/Ocramius/PackageVersions/tags
Oh ok. Then maybe you have it listed in your root composer.json and you need to remove it? I don't have the issue so I can only guess.
This issue can be reproduced by:
composer init
composer require --dev infection/infection
composer require symfony/orm-pack
composer --version
Composer version 1.10.8 2020-06-24 21:23:30
I suspect that any library using this lib would produce the same issue, but I don't know how widely it is used directly. Maybe I should report this to infection or package-version repo?
Thanks for the details. Will be fixed by https://github.com/composer/package-versions-deprecated/pull/6
This commit https://github.com/symfony/orm-pack/commit/bf4bf67ca7c7760240650d67bf7b71c459470e8c added a dependency to composer/package-versions-deprecated which conflicts with any installed package using ocramius/package-versions (in my case infection).
I'm not sure what's the best way to handle this, but I can't install
symfony/orm-pack
.