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

Endless Loop in composer update call #211

Closed
brosenberger opened this issue Feb 9, 2023 · 7 comments
Closed

Endless Loop in composer update call #211

brosenberger opened this issue Feb 9, 2023 · 7 comments

Comments

@brosenberger
Copy link

brosenberger commented Feb 9, 2023

PHP version: 7.4, 8.1

Description
Calling composer update in a magento2 project (v2.4.3-p1, v2.4.5-p1) with the enabled module leads to an endless lookup loop

How to reproduce

Possible Solution

Additional context
example trace:

ddev composer update
Loading composer repositories with package information
In Laminas\DependencyPlugin\DependencyRewriterV2::onPrePoolCreate
Updating dependencies
Nothing to modify in lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
Package fgrosse/phpasn1 is abandoned, you should avoid using it. No replacement was suggested.
Package symfony/debug is abandoned, you should avoid using it. Use symfony/error-handler instead.
Package php-cs-fixer/diff is abandoned, you should avoid using it. No replacement was suggested.
Generating autoload files
133 packages you are using are looking for funding.
Use the composer fund command to find out more!
Loading composer repositories with package information
In Laminas\DependencyPlugin\DependencyRewriterV2::onPrePoolCreate
Updating dependencies
Nothing to modify in lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
Package fgrosse/phpasn1 is abandoned, you should avoid using it. No replacement was suggested.
Package symfony/debug is abandoned, you should avoid using it. Use symfony/error-handler instead.
Package php-cs-fixer/diff is abandoned, you should avoid using it. No replacement was suggested.
Generating autoload files
133 packages you are using are looking for funding.
Use the composer fund command to find out more!

@PabloKowalczyk
Copy link

PabloKowalczyk commented Feb 9, 2023

Same here.

Possible, temporary, workaround is to modify composer.json:

"conflict": {
    "php-http/discovery": "1.15.0"
},

@Cluster2a
Copy link

I just disabled the plugin:

"allow-plugins": {
    "php-http/discovery": false
}

@brosenberger
Copy link
Author

I just disabled the plugin:

"allow-plugins": {
    "php-http/discovery": false
}

that was my solution for now too

@pleaz
Copy link

pleaz commented Feb 9, 2023

if you use Docker container or need to enable it, that's working with previous version [1.14.3]

@claudiu-cristea
Copy link

Same here (PHP 8.1) when running composer update -W

@pl38
Copy link

pl38 commented Feb 9, 2023

Same php@8.1 cu -Wo

@steffenf14
Copy link

steffenf14 commented Feb 9, 2023

same with all of our projects. php7.3 7.4 and 8.0

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

8 participants