Conflicts between Daily-Reddit-Wallpaper and update-checker
Opened this issue · 5 comments
Hi, users are unable to run Daily-Reddit-Wallpaper due to dependency conflict with update-checker package.
As shown in the following full dependency graph of Daily-Reddit-Wallpaper, it directly requires update-checker==0.11,while praw==5.4.0 requires update-checker>=0.16.
According to pip’s “first found wins” installation strategy, update-checker==0.11 is the actually installed version.
However, update-checker==0.11 does not satisfy update-checker>=0.16.
Dependency tree
daily-reddit-wallpaper-master
| +-decorator(version range:==4.0.10)
| +-future(version range:==0.15.2)
| | +-argparse(version range:*)
| | +-importlib(version range:*)
| | +-unittest2(version range:*)
| +-praw(version range:==5.4.0)
| | +-prawcore(version range:<0.15,>=0.14.0)
| | | +-requests(version range:<3.0,>=2.6.0)
| | +-update-checker(version range:>=0.16)
| | | +-requests(version range:>=2.3.0)
| +-requests(version range:==2.10.0)
| +-six(version range:==1.10.0)
| +-update-checker(version range:==0.11)
| | +-requests(version range:>=2.3.0)
Thanks for your help.
Best,
Neolith
Solution
- Fix your direct dependency to be update-checker>=0.16 .
I have checked this revision will not affect your downstream projects now. - Remove your direct dependency update-checker, and use update-checker transitively introduced by praw.
Which solution do you prefer, 1 or 2?
@ssimunic Please let me know your choice. I can submit a PR to solve this issue.
Any update on this?
I take it this repository is abandoned, will look for a fork or alternate option.
This version works https://github.com/markubiak/wallpaper-reddit
ISSUES
Hi, users are unable to run Daily-Reddit-Wallpaper *due to dependency conflict with update-checker package.
As shown in the following full dependency graph of *Daily-Reddit-Wallpaper*, it directly requires update-checker==0.11,while *praw==5.4.0* requires update-checker>=0.16.
daily-reddit-wallpaper-master
| +-decorator(version range:==4.0.10)
| +-future(version range:==0.15.2)
| | +-argparse(version range:*)
| | +-importlib(version range:*)
| | +-unittest2(version range:*)
| +-praw(version range:==5.4.0)
| | +-prawcore(version range:<0.15,>=0.14.0)
| | | +-requests(version range:<3.0,>=2.6.0)
| | +-update-checker(version range:>=0.16)
| | | +-requests(version range:>=2.3.0)
| +-requests(version range:==2.10.0)
| +-six(version range:==1.10.0)
| +-update-checker(version range:==0.11)
| | +-requests(version range:>=2.3.0)
Error
ERROR: Cannot install -r requirements.txt (line 3) and update-checker==0.11 because these package versions have conflicting dependencies.
The conflict is caused by:
The user requested update-checker==0.11
praw 5.4.0 depends on update-checker>=0.16
Solution
We analyze your project according to the call graph, and now give you the following suggestion, loosen your direct dependency to be update-checker==* .
I have checked that this version will not affect the normal operation of your program
Thanks for your help.
Best,
SmartPycg