Problem/Motivation
Just tried upgrading my server to PHP 8.1 and (possibly) this is the only module causing an issue:
$ composer install
Gathering patches for root package.
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Your lock file does not contain a compatible set of packages. Please run composer update.
Problem 1
- ocramius/proxy-manager is locked to version 2.12.0 and an update of this package was not requested.
- ocramius/proxy-manager 2.12.0 requires php ~7.4.1 || ~8.0.0 -> your php version (8.1.13) does not satisfy that requirement.
Problem 2
- softcreatr/jsonpath is locked to version 0.7.6 and an update of this package was not requested.
- softcreatr/jsonpath 0.7.6 requires php >=7.1,<8.0 -> your php version (8.1.13) does not satisfy that requirement.
Problem 3
- softcreatr/jsonpath 0.7.6 requires php >=7.1,<8.0 -> your php version (8.1.13) does not satisfy that requirement.
- drupal/feeds_ex 1.0.0-beta3 requires softcreatr/jsonpath ^0.5 || ^0.7 || ^0.8 -> satisfiable by softcreatr/jsonpath[0.7.6].
- drupal/feeds_ex is locked to version 1.0.0-beta3 and an update of this package was not requested.
my guess is this is not a real compatibility issue, more likely just a file somewhere stating it needs 8.0 when they likely mean 8+
Comments
Comment #2
megachrizI can say that I have Feeds Extensible Parsers running on PHP 8.1 - and it is installed with Composer.
I see you ran
composer install. Can it be that after upgrading your server, you need to runcomposer updateinstead? And that softcreatr/jsonpath v0.7.6 is in your composer.lock file?Comment #3
liquidcms commentedThanks yes, that was it. I had manually updated the other 2 libs that are required for this but missed that one. Since i had removed the module (and therefore removed it and dependencies from .lock) and now, this morning, re-added it, I see it has added latest of dependencies including:
softcreatr/jsonpath (0.8.2)
Comment #4
amarshkhl09 commentedHi @liquidcms
Unrelated but may I ask how did you fix your error with the following dependency
ocramius/proxy-manager
From my research, I have found that it doesn't support 8.1 yet.
Comment #5
liquidcms commentedThat was almost a year ago.. so don't recall. But, i checked the couple projects i have on the go from back then and i don't specifically require that package and it isnt in my vendor folder - so perhaps the way i got around it was to remove it.