Readthedocs.org: Incompatible dependencies when installing with pip 10

Created on 23 Apr 2018  路  12Comments  路  Source: readthedocs/readthedocs.org

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.

Bug

All 12 comments

Please provide your project and build url

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

Are you using virtual env or similar?

Sure, as the guide describe

virtualenv rtd
cd rtd
source bin/activate

Looks like the latest update of haystack drop support for the Django version that rtd uses https://github.com/django-haystack/django-haystack/commit/514023e01136e9393112252fec7eb3b101932d0b#diff-2eeaed663bd0d25b7e608891384b7298L15

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

@jesuxgslp mmm, yeah, I see. This is weird, recommonmark and commonmark were upgraded a long time ago https://github.com/rtfd/readthedocs.org/commit/64ee6f68472091895d0ad83ed0b072caaa5d5a77 https://github.com/rtfd/readthedocs.org/commit/cb219e890e969410178811485b0d2d43b8828a95

Can you tell me what pip version are you using?

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

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

Hello, are you successful in your local deployment?

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

Seems like this issue has been resolved!

pip install CommonMark==0.5.4 will solve this problem

Was this page helpful?
0 / 5 - 0 ratings