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

Numpy version >= 1.10 dependency issue. #4691

Closed
Erotemic opened this issue Jul 14, 2015 · 9 comments
Closed

Numpy version >= 1.10 dependency issue. #4691

Erotemic opened this issue Jul 14, 2015 · 9 comments

Comments

@Erotemic
Copy link

I'm working with a development version of numpy version 1.10.0.dev0-30d755d.

When trying to install matplotlib I get an error saying
error: numpy 1.10.0.dev0-30d755d is installed but numpy>=1.6 is required by set(['matplotlib'])

This is because 1.10 is registering as less than 1.6.

I'm not sure if this is fixed in the head repository, but this causes an issue when using current release on pip. Should be an easy fix. I just wanted to ensure people were aware of it.

@jenshnielsen jenshnielsen added this to the next point release milestone Jul 14, 2015
@jenshnielsen jenshnielsen added the Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions. label Jul 14, 2015
@tacaswell
Copy link
Member

I feel this should be a bug against setuptools or pip?

@WeatherGod
Copy link
Member

It might be that your setuptools install needs to be updated to properly
handle the new version numbering system.

On Tue, Jul 14, 2015 at 11:54 AM, Thomas A Caswell <notifications@github.com

wrote:

I feel this should be a bug against setuptools or pip?


Reply to this email directly or view it on GitHub
#4691 (comment)
.

@jenshnielsen
Copy link
Member

Normally this kind of thing happens when one uses string comparison to compare versions. However we are using LooseVersion in setupext.py which should work correctly.

@jenshnielsen
Copy link
Member

I cannot reproduce this with numpy 1.10.0.dev0+49617ac and matplotlib master
Python 3.4.3 setuptools 18.0.1 pip 7.1.0

looseVersion is from distutils so it should be independent of setuptools/pip version unless setuptools does something funny

@tacaswell tacaswell added status: needs confirmation and removed Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions. labels Jul 15, 2015
@tacaswell tacaswell modified the milestones: unassigned, next point release Jul 15, 2015
@mdboom
Copy link
Member

mdboom commented Jul 15, 2015

And additionally, I don't think this error message even comes from matplotlib -- it's coming from pip.

@tacaswell
Copy link
Member

I am now getting this too, but I think I have 1.9.2 installed via conda.

Because I am feeling cranky, I assume this is fallout from merging #4668

@tacaswell
Copy link
Member

although, both python setup.py develop and python setup.py install work for me, python setup.py test does not

@tacaswell
Copy link
Member

I had a rouge install of numpy which 'pip remove numpy` fixed.

@tacaswell
Copy link
Member

Closing as it is either a) a local configuration issue or b) bug in upstream tooling.

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

No branches or pull requests

5 participants