NLeSC / root-conda-recipes

Conda recipes for building ROOT 5 and ROOT 6 binaries, root_numpy, rootpy, root_pandas, with both Python 2 and Python 3 support.
29 stars 18 forks source link

root numpy name conflict #3

Closed tunnell closed 8 years ago

tunnell commented 9 years ago

I see two versions of root numpy on people's machines (one anaconda and one through pip). I think this comes from pip using a dash (root-numpy) and anaconda using an underscore (root_numpy).

remenska commented 9 years ago

Yes I've noticed this too, but I'm not sure how to solve it. The problem is, rootpy in their git repository state the root_numpy as a requirement, so the conda build of rootpy (which is done with python setup.py install in the background) picks it up with pip.

Any idea? I guess we cannot tell rootpy people to change their requirements just because we use conda installs. I can remove root-numpy requirement in the conda recipe of building root, so then it's picked up by pip. But on the other hand, with conda I try to build against the latest master branch of root_numpy, with pip that is not always the case I guess.

tunnell commented 9 years ago

Let's just ask rootpy people why it's that way?

remenska commented 9 years ago

But this is just because they want the ability to grab and compile rootpy outside of anaconda? using just pip?

remenska commented 9 years ago

Oh wait, maybe if I change root_numpy conda package to root-numpy the conda one will be picked up instead. The dependency will be automatically met.

Let me see when I have a clearer head, just back from 8 hours of training.

But this shouldn't be a showstopper at the moment.

tunnell commented 9 years ago

not an issue, just weird. can be thought about next week

remenska commented 8 years ago

Renaming root_numpy to root-numpy solves the issue. The pip version is no longer fetched.