Skip to content

Package is not getting installed with PHP version 8.1.5 #30

Closed

Description

@ARY112

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
}
}
}

Activity

  1. ARY112 commented on May 12, 2022

    @ARY112
    Author

    Symfony version is 5.4

  2. self-assigned this
    on May 12, 2022
  3. ARY112 commented on May 16, 2022

    @ARY112
    Author

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

  4. nadsella commented on May 16, 2022

    @nadsella

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

  5. ARY112 commented on May 16, 2022

    @ARY112
    Author

    @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

  6. ARY112 commented on May 18, 2022

    @ARY112
    Author

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

  7. nadsella commented on May 18, 2022

    @nadsella

    @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.

  8. IVGraze commented on May 18, 2022

    @IVGraze

    @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. 🤞

  9. ARY112 commented on May 27, 2022

    @ARY112
    Author

    @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.

  10. ARY112 commented on Jun 1, 2022

    @ARY112
    Author

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

    Can you please take a look.

  11. rick-lam commented on May 28, 2026

    @rick-lam
    Contributor

    Resolved by v1.0.0: https://github.com/graze/parallel-process/releases/tag/v1.0.0

    The library now supports PHP 7.4 through 8.5 (constraint: ^7.4 || ^8.0) on Symfony 5. The Composer error in this issue should no longer occur on 8.1.5.

    graze/console-diff-renderer (the other dep you mentioned) was also republished — ^1.0 adds PHP 8 support and stops capping symfony/console.

    Suggested composer.json snippet:

    "require": {
        "graze/parallel-process": "^1.0",
        "graze/console-diff-renderer": "^1.0"
    }

    Thanks for the patience — closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions