rinvex / laravel-attributes

⚠️ [ABANDONED] Rinvex Attributable is a robust, intelligent, and integrated Entity-Attribute-Value model (EAV) implementation for Laravel Eloquent, with powerful underlying for managing entity attributes implicitly as relations with ease. It utilizes the power of Laravel Eloquent, with smooth and seamless integration.
MIT License
433 stars 104 forks source link

Composer Hanging on 4.0+ Update -- Something's changed, looking at all rules again #135

Closed dhildreth closed 3 years ago

dhildreth commented 3 years ago

I'm attempting to upgrade Laravel from 6.0 to 7.0. It appears I need a newer version of laravel-attributes, so I'm modifying my composer.json file from "rinvex/laravel-attributes": "^3.0" to "rinvex/laravel-attributes": "^4.0". Then, I run composer update -vvv and it gets hung up at:

Generating rules
Resolving dependencies through SAT
Looking at all rules.
Something's changed, looking at all rules again (pass #2324)

It'll just sit here for a long time (> 10 minutes).

Changing it back to "rinvex/laravel-attributes": "^3.0" works, but I'm back at square one. I've also tried "^4.0" and it has the same issue.

Any ideas?

Composer version 2.0.6 2020-11-07 11:21:17

dhildreth commented 3 years ago

Clearing cache using composer clear-cache does not help either.

Not sure what this is telling me...

composer why-not rinvex/laravel-attributes
laravel/laravel  dev-master  requires  rinvex/laravel-attributes (^4.0)  
dhildreth commented 3 years ago

Also, not sure if this is helpful, but the lines before the Generating rules looks like:

Downloading https://repo.packagist.org/p2/felixfbecker/language-server-protocol~dev.json if modified
Downloading https://repo.packagist.org/p2/netresearch/jsonmapper~dev.json if modified
Downloading https://repo.packagist.org/p2/openlss/lib-array2xml~dev.json if modified
Downloading https://repo.packagist.org/p2/webmozart/glob~dev.json if modified
Downloading https://repo.packagist.org/p2/webmozart/path-util~dev.json if modified
Downloading https://repo.packagist.org/p2/ocramius/package-versions~dev.json if modified
[304] https://repo.packagist.org/p2/felixfbecker/language-server-protocol~dev.json
[304] https://repo.packagist.org/p2/netresearch/jsonmapper~dev.json
[304] https://repo.packagist.org/p2/openlss/lib-array2xml~dev.json
[304] https://repo.packagist.org/p2/webmozart/glob~dev.json
[304] https://repo.packagist.org/p2/webmozart/path-util~dev.json
[304] https://repo.packagist.org/p2/ocramius/package-versions~dev.json
Reading /home/vagrant/.cache/composer/repo/https---repo.packagist.org/provider-amphp~amp.json from cache
Reading /home/vagrant/.cache/composer/repo/https---repo.packagist.org/provider-webmozart~path-util.json from cache
Reading /home/vagrant/.cache/composer/repo/https---repo.packagist.org/provider-amphp~amp~dev.json from cache
Reading /home/vagrant/.cache/composer/repo/https---repo.packagist.org/provider-webmozart~path-util~dev.json from cache
Generating rules
Resolving dependencies through SAT
Looking at all rules.
Something's changed, looking at all rules again (pass #1433)
dhildreth commented 3 years ago

More debug info:

vagrant@homestead:~/www.embeddedarm.com.test$ composer diagnose
Checking composer.json: OK
Checking platform settings: OK
Checking git settings: OK
Checking http connectivity to packagist: OK
Checking https connectivity to packagist: OK
Checking github.com rate limit: OK
Checking disk free space: OK
Checking pubkeys: 
Tags Public Key Fingerprint: 57815BA2 7E54DC31 7ECC7CC5 573090D0  87719BA6 8F3BB723 4E5D42D0 84A14642
Dev Public Key Fingerprint: 4AC45767 E5EC2265 2F0C1167 CBBB8A2B  0C708369 153E328C AD90147D AFE50952
OK
Checking composer version: OK
Composer version: 2.0.7
PHP version: 7.4.1
PHP binary path: /usr/bin/php7.4
OpenSSL version: OpenSSL 1.1.1d  10 Sep 2019
cURL version: 7.58.0 libz 1.2.11 ssl OpenSSL/1.1.1g
zip extension: OK
dhildreth commented 3 years ago

Okay, in all fairness, it did finally complete but it took about 30 minutes. Now I have a massive list of problems to go through.

Updating dependencies
Generating rules
Resolving dependencies through SAT
Looking at all rules.
Something's changed, looking at all rules again (pass #10280)
Dependency resolution completed in 2043.527 seconds
dhildreth commented 3 years ago

So, I decided to start from a clean composer.json file from a new project using composer create-project --prefer-dist laravel/laravel:^7.0 blog. I slowly started adding packages, including laravel-attributes, and now it seems to be working. Sorry for the false alarm.