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

Conflicts between Daily-Reddit-Wallpaper and update-checker #45

Open
NeolithEra opened this issue Aug 15, 2019 · 5 comments
Open

Conflicts between Daily-Reddit-Wallpaper and update-checker #45

NeolithEra opened this issue Aug 15, 2019 · 5 comments

Comments

@NeolithEra
Copy link

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

@NeolithEra
Copy link
Author

Solution

  1. Fix your direct dependency to be update-checker>=0.16 .
    I have checked this revision will not affect your downstream projects now.
  2. 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.

@Justinzobel
Copy link

Any update on this?

@Justinzobel
Copy link

I take it this repository is abandoned, will look for a fork or alternate option.

@Justinzobel
Copy link

This version works https://github.com/markubiak/wallpaper-reddit

@SmartPycg
Copy link

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

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

3 participants