SciRuby/nmatrix

rdoc and json are incompatible

isuruf opened this issue · 8 comments

rdoc needs json ~> 1.4 (>=1.4, < 2.0) and nmatrix requires >= 2.0.1.

I believe I just put in ~> 2.0.1 because that's the one I got working at the time. Do you want to see what happens in your PR if you change it to 1.4?

I just did, and it fails to install json 1.8.3. json needs to be updated to 2.0.1 to build with the latest ruby version. So, I guess this is an issue with rdoc

Problem is that with ruby 2.4.0-dev, this is checked strictly. Earlier when ruby 2.0.1 was installed it was okay even if rdoc needed < 2.0. Now it is enforced and therefore fails.

Is this the problem?

ruby/json#303

It looks like we can just drop the json requirement altogether, yes?

Yes, it is. Dropping the json requirement won't help, since rdoc has json as a requirement.

Dropping the requirement will help ruby versions < 2.4

Possibly related to #606?