-
-
Notifications
You must be signed in to change notification settings - Fork 138
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
More robust version checking #318
Conversation
👍 |
@larrybradley - The travis failure is totally unrelated and due to a conda issue I'm fixing in |
@bsipocz Thanks, I was just trying to figure out what was going on with that test (it's failing on my other PR too). I thought it was a transient failure, but I quickly discovered that it wasn't. |
@larrybradley - Hmm, it wasn't the silly install WARNING that got picked up. The only remaining warning is the matplolib one https://travis-ci.org/astropy/photutils/jobs/101686421#L521 but those usually don't trigger sphinx fails. |
I have no idea why that is triggering the failure either. I suspect the |
What about trying to fix the version number to 1.5.0 for now? |
Thanks, I'll try that. |
Had the same issue in Glue, need to fix Matplotlib to 1.5.0 - see glue-viz/glue#821 (comment) |
But it's not a long term solution :( |
Thanks, @astrofrog. Hopefully they fix this issue in the next |
@bsipocz Why is the |
@larrybradley - I don't find any trace of a reason for it, most probably it was as overlook. |
|
Is there a way to specify a maximum version in |
cd2a9cf
to
75c2fc1
Compare
@larrybradley - Let's see how much slower the pip solution is. If significant, then I suggest to fix the version number only for the sphinx builds (as those are the only affected builds) and use the latest from conda for the rest. |
I tried It appears |
Sorry, what I meant was to have this:
|
Ah, yes that's probably what I should have done at the start instead of changing the global |
75c2fc1
to
e1b0512
Compare
@bsipocz I tried fixing |
e1b0512
to
f73e906
Compare
The fix is now upstream in |
I'm going to merge this. The test failure is due to an errant warning being issued by |
More robust version checking
More robust version checking
This PR uses
LooseVersion
for more robust and simpler version checking.