Skip to content

Conversation

@pp-mo
Copy link
Member

@pp-mo pp-mo commented Aug 13, 2018

Pin dask + fix minor dask usage glitch, to get tests passing again ( 🤞 ) .

Changes are basically cherrypicked from #3127

NASTY PROBLEM :
Recent numpy (1.15 ?) uses different formatting for printing arrays in Python 2 + Python 3.
Alternative print solutions make the sample code very messy (as discussed offline with @lbdreyer).

I've fixed this for now by adopting the Python 3 output, and disabling the doctests on Python 2
However that is pretty wasteful, as a whole row of the Travis test matrix now does almost nothing.
I expect there is some way of controlling that, but for now I don't care enough.

@pp-mo pp-mo force-pushed the temporary_dask_fix branch from 117a258 to c89f43e Compare August 13, 2018 11:37
@pp-mo pp-mo force-pushed the temporary_dask_fix branch from 5ca1611 to 6e32e14 Compare August 13, 2018 15:47
@pp-mo
Copy link
Member Author

pp-mo commented Aug 13, 2018

Hi @lbdreyer this is finally passing again.
Can you check this out + maybe merge in 🙏 ?

I will then replace #3127 with a version rebased onto this ...

@pp-mo pp-mo mentioned this pull request Aug 13, 2018
@lbdreyer
Copy link
Member

I like the simplicity of this fix so I'm going to merge this.

@lbdreyer lbdreyer merged commit efdf0ae into SciTools:master Aug 14, 2018
@lbdreyer
Copy link
Member

I should have squashed the commits! Sorry!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants