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

Incompatible dependencies when installing with pip 10 #4005

Closed
jesuxgslp opened this issue Apr 23, 2018 · 12 comments
Closed

Incompatible dependencies when installing with pip 10 #4005

jesuxgslp opened this issue Apr 23, 2018 · 12 comments
Labels
Bug A bug

Comments

@jesuxgslp
Copy link

jesuxgslp commented Apr 23, 2018

Details

Just try a clean local installation following the guide installing-read-the-docs

Expected Result

clean installation

Actual Result

django-haystack 2.8.1 has requirement Django>=1.11, but you'll have django 1.9.13 which is incompatible.

recommonmark 0.4.0 has requirement commonmark<=0.5.4, but you'll have commonmark 0.5.5 which is incompatible.

@stsewd
Copy link
Member

stsewd commented Apr 23, 2018

Please provide your project and build url

@stsewd stsewd added Support Support question Needed: more information A reply from issue author is required labels Apr 23, 2018
@jesuxgslp
Copy link
Author

Actually is just a fresh readthedocs install (local install) following the oficial guide installing-read-the-docs

@stsewd
Copy link
Member

stsewd commented Apr 23, 2018

Are you using virtual env or similar?

@jesuxgslp
Copy link
Author

Sure, as the guide describe

virtualenv rtd
cd rtd
source bin/activate

@stsewd stsewd added Bug A bug and removed Needed: more information A reply from issue author is required Support Support question labels Apr 23, 2018
@stsewd
Copy link
Member

stsewd commented Apr 23, 2018

Looks like the latest update of haystack drop support for the Django version that rtd uses django-haystack/django-haystack@514023e#diff-2eeaed663bd0d25b7e608891384b7298L15

@jesuxgslp
Copy link
Author

jesuxgslp commented Apr 23, 2018

Thanks meanwhile I will try django-haystack==2.7.0

Just keep an eye also in:

recommonmark 0.4.0 has requirement commonmark<=0.5.4, but you'll have commonmark 0.5.5 which is incompatible.

I assume is the same scenario

@stsewd
Copy link
Member

stsewd commented Apr 24, 2018

@jesuxgslp mmm, yeah, I see. This is weird, recommonmark and commonmark were upgraded a long time ago 64ee6f6 cb219e8

Can you tell me what pip version are you using?

@stsewd
Copy link
Member

stsewd commented Apr 24, 2018

OK, I just tested it myself, I suspected, this is because pip 10, looks like is more strict about dependencies

@stsewd stsewd changed the title pip requirements cause incompatible state Incompatible dependencies when installing with pip 10 Apr 24, 2018
@stsewd
Copy link
Member

stsewd commented Apr 24, 2018

I'm changing the title to be more explicit about the issue.

@TelDragon
Copy link

Hello, are you successful in your local deployment?

I have successfully deployed the local environment here, but I failed to import the project successfully.

@safwanrahman
Copy link
Member

Seems like this issue has been resolved!

@dinolinjob
Copy link

pip install CommonMark==0.5.4 will solve this problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A bug
Projects
None yet
Development

No branches or pull requests

5 participants