php-article-extractor icon indicating copy to clipboard operation
php-article-extractor copied to clipboard

Unable to install with fivefilters/readability.php

Open DReffects opened this issue 3 years ago • 1 comments

I've added php-article-extractor via

"crscheid/php-article-extractor": "2.5.1"

and also have

"fivefilters/readability.php": "dev-master",

in my composer.json

I am getting

  • Root composer.json requires crscheid/php-article-extractor 2.5.1 -> satisfiable by crscheid/php-article-extractor[2.5.1].
  • crscheid/php-article-extractor 2.5.1 requires fivefilters/readability.php 2.1.0 -> found fivefilters/readability.php[v2.1.0] but it conflicts with your root composer.json require (dev-master)

Can this be fixed? :)

DReffects avatar May 29 '22 16:05 DReffects

You'd get this error when your project dependencies are calling for "fivefilters/readability.php": "dev-master" while this library is using "fivefilters/readability.php": "2.1.0"

It looks like readability has been updated since I locked the dependency to 2.1.0. To make this library compatible with dev-master, we'd have to see what changed in readability and see if it is compatible. Though I hesitate to do that if the codebase is still being updated and not tagged as a release. Doing so could cause other future breaks if the codebase changes over time.

Do you know what from your project dependencies is looking for "fivefilters/readability.php": "dev-master"? If you are unsure, try setting your dependency to "fivefilters/readability.php": "2.1.0", instead.

crscheid avatar May 31 '22 12:05 crscheid