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

Package is not getting installed with PHP version 8.1.5 #30

Open
ARY112 opened this issue May 12, 2022 · 9 comments
Open

Package is not getting installed with PHP version 8.1.5 #30

ARY112 opened this issue May 12, 2022 · 9 comments
Assignees

Comments

@ARY112
Copy link

ARY112 commented May 12, 2022

We are facing issue using graze/parallel-process.It was working fine till php version 7.2.After upgrading PHP to 8.1.5 it is not getting installed.
Request you to provide some help.This package is very crucial for our project.

This is the error during composer install

graze/parallel-process[0.1, ..., 0.8.1] require php ^5.6 | ^7.0 -> your php version (8.1.5) does not satisfy that requirement.
graze/parallel-process 0.8.1 requires php ^5.5 | ^7.0 -> your php version (8.1.5) does not satisfy that requirement.
Root composer.json requires graze/parallel-process * -> satisfiable by graze/console-diff-renderer[0.1, ..., 0.8.1].

Below is the composer.json
{
"name": "pimcore/skeleton",
"type": "project",
"license": "GPL-3.0-or-later",
"config": {
"optimize-autoloader": true,
"sort-packages": true,
"allow-plugins": {
"wikimedia/composer-merge-plugin": true
}
},
"require": {
"php": "8.1.5",
"aws/aws-sdk-php": "^3.108",
"elasticsearch/elasticsearch": "^8.2",
"graze/console-diff-renderer": "^0.6.2",
"graze/parallel-process": "^0.8.1",
"guzzlehttp/ringphp": "~1.1.1",
"guzzlehttp/streams": "~3.0.0",
"intervention/image": "^2.5",
"league/csv": "^9.2",
"ongr/elasticsearch-dsl": ">= 7.0",
"phpoffice/phpspreadsheet": "",
"pimcore/pimcore": "^10.4",
"react/promise": "~2.7.1",
"simplesamlphp/saml2": "~3.4.1",
"wikimedia/composer-merge-plugin": "",
"box/spout": "~3.0",
"symfony/monolog-bundle": "3.5.0"
},
"conflict": {
"monolog/monolog": ">=2"
},
"require-dev": {
"ext-mysqli": "*",
"cache/integration-tests": "^0.16.0",
"codeception/codeception": "~2.4.5"
},
"autoload": {
"psr-4": {
"App": "src/",
"Pimcore\Model\DataObject": "var/classes/DataObject",
"Pimcore\Model\Object": "var/classes/Object",
"Website": "legacy/website/lib"
}
},
"scripts": {
"post-create-project-cmd": "Pimcore\Composer::postCreateProject",
"post-install-cmd": [
"Pimcore\Composer::postInstall",
"@pimcore-scripts"
],
"post-update-cmd": [
"Pimcore\Composer::postUpdate",
"@pimcore-scripts",
"Pimcore\Composer::executeMigrationsUp",
"@pimcore-scripts",
"AppBundle\EventListener\Migration::executeMigrationsUp"
],
"pimcore-scripts": [
"Pimcore\Composer::clearCache",
"Pimcore\Composer::installAssets"
]
},
"extra": {
"symfony-app-dir": "app",
"symfony-bin-dir": "bin",
"symfony-var-dir": "var",
"symfony-web-dir": "public",
"symfony-tests-dir": "tests",
"symfony-assets-install": "relative",
"merge-plugin": {
"include": [
"composer.local.json"
],
"recurse": true,
"replace": true,
"merge-dev": true,
"merge-extra": false,
"merge-extra-deep": false,
"merge-scripts": false
}
}
}

@ARY112
Copy link
Author

ARY112 commented May 12, 2022

Symfony version is 5.4

@nadsella nadsella self-assigned this May 12, 2022
@ARY112
Copy link
Author

ARY112 commented May 16, 2022

@nadsella , R u looking into this...Also same issue i have updated for diff-renderer..Both are dependent packages

@nadsella
Copy link

@ARY112 what happens if you update the PHP requirement to be ^8.1.5?

@ARY112
Copy link
Author

ARY112 commented May 16, 2022

@nadsella As suggested i tried with PHP requirement ^8.1.5.Below is the composer error

Error
Problem 1

  • Root composer.json requires graze/console-diff-renderer ^0.6.2 -> satisfiable by graze/console-diff-renderer[0.6.2].
  • graze/console-diff-renderer 0.6.2 requires php ^5.6 | ^7.0 -> your php version (8.1.5) does not satisfy that requirement.
    Problem 2
  • Root composer.json requires graze/parallel-process ^0.8.1 -> satisfiable by graze/parallel-process[0.8.1].
  • graze/parallel-process 0.8.1 requires php ^5.5 | ^7.0 -> your php version (8.1.5) does not satisfy that requirement.

Composer.json below:
{
"name": "pimcore/skeleton",
"type": "project",
"license": "GPL-3.0-or-later",
"config": {
"optimize-autoloader": true,
"sort-packages": true,
"allow-plugins": {
"wikimedia/composer-merge-plugin": true
}
},
"require": {
"php": "^8.1.5",
"aws/aws-sdk-php": "~3.2.6",
"box/spout": "~3.0",
"elasticsearch/elasticsearch": "^7.2",
"graze/console-diff-renderer": "^0.6.2",
"graze/parallel-process": "^0.8.1",
"guzzlehttp/ringphp": "~1.1.1",
"guzzlehttp/streams": "~3.0.0",
"intervention/image": "2.6",
"league/csv": "^9.2",
"ongr/elasticsearch-dsl": "^7.2",
"phpoffice/phpspreadsheet": "^1.23",
"pimcore/pimcore": "^10.4",
"react/promise": "~2.7.1",
"simplesamlphp/saml2": "~3.4.1",
"symfony/doctrine-messenger": "^5.3.0",
"symfony/monolog-bundle": "^3.5",
"wikimedia/composer-merge-plugin": ""
},
"conflict": {
"monolog/monolog": "^2.6.0"
},
"require-dev": {
"cache/integration-tests": "
",
"codeception/codeception": "^4.1.12"
},
"autoload": {
"psr-4": {
"App\": ["src/"],
"Pimcore\Model\DataObject\": "var/classes/DataObject",
"Pimcore\Model\Object\": "var/classes/Object",
"Website\": "legacy/website/lib"
}
},
"scripts": {
"post-create-project-cmd": "Pimcore\Composer::postCreateProject",
"post-install-cmd": [
"Pimcore\Composer::postInstall",
"@pimcore-scripts"
],
"post-update-cmd": [
"Pimcore\Composer::postUpdate",
"@pimcore-scripts",
"Pimcore\Composer::executeMigrationsUp",
"@pimcore-scripts"
],
"pimcore-scripts": [
"Pimcore\Composer::clearCache",
"Pimcore\Composer::installAssets"
]
},
"extra": {
"symfony-app-dir": "src",
"symfony-bin-dir": "bin",
"symfony-var-dir": "var",
"symfony-web-dir": "public",
"symfony-tests-dir": "tests",
"symfony-assets-install": "relative",
"merge-plugin": {
"include": [
"composer.local.json"
],
"recurse": true,
"replace": true,
"merge-dev": true,
"merge-extra": false,
"merge-extra-deep": false,
"merge-scripts": false
}
}
}

Kindly suggest

@ARY112
Copy link
Author

ARY112 commented May 18, 2022

@nadsella , Did you get a chance to look into this. This package is very critical for our project

@nadsella
Copy link

@ARY112 unfortunately our team size means that we can't prioritise this change currently. I'd suggest if you need an urgent solution, fork this repository and do the PHP upgrade for your own projects use. I can't foresee the team getting time to upgrade this repo over the next few days. Apologies for the inconvenience.

@IVGraze
Copy link

IVGraze commented May 18, 2022

@ARY112 I'm definitely wanting to give it a go at the version upgrade with rector, but like @nadsella says, it's unlikely to be this week. If you do fork and do it, feel free to do a pull request so we can incorporate your upgrades. Otherwise I might manage it next week. 🤞

@ARY112
Copy link
Author

ARY112 commented May 27, 2022

@IVGraze , Did you get a chance to look into this. Also graze/console-diff-renderer needs to be modified as well because it is the dependent package for parallel-process.

@ARY112
Copy link
Author

ARY112 commented Jun 1, 2022

@nadsella @IVGraze , I have created below pull request:
#31

Can you please take a look.

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

3 participants