Skip to content

[MRG] Fix numpy-dev build - #10132

Merged
lesteve merged 1 commit into
scikit-learn:masterfrom
lesteve:fix-numpy-dev
Nov 14, 2017
Merged

lesteve merged 1 commit into
scikit-learn:masterfrom
lesteve:fix-numpy-dev

Conversation

@lesteve

@lesteve lesteve commented Nov 14, 2017 •

Copy link
Copy Markdown
Member

https://github.com/numpy/numpy/pull/9332/files change sign='legacy' to legacy=True in the np.set_printoptions arguments.

I have a Cron build that will run on my fork to double-check that the numpy-dev build pass:
https://travis-ci.org/lesteve/scikit-learn/builds/301861240.

Closes #10074.

@lesteve

lesteve commented Nov 14, 2017 •

Copy link
Copy Markdown
Member Author

@lesteve

lesteve commented Nov 14, 2017

Copy link
Copy Markdown
Member Author

I think this PR should be merged anyway, since legacy=True is the right thing to do.

@qinhanmin2014

Copy link
Copy Markdown
Member

I compare the log in this PR and the log of the cron job yesterday, seems that this PR does not solve any failure(if we consider today's cron job as an accident?). Also, I don't have too much time to investigate but seems that this PR is related to your issue #8959?

@lesteve

lesteve commented Nov 14, 2017

Copy link
Copy Markdown
Member Author

I compare the log in this PR and the log of the cron job yesterday, seems that this PR does not solve any failure(if we consider today's cron job as an accident?)

Today's cron job is not an accident and is due to sign='legacy' -> legacy=True in the np.set_printoptions arguments. Basically as of now, the tests are not even run because of this.

With this PR, at least the tests are run. I agree it does not solve any failure and we will need to discuss with numpy to better understand how to deal with the failures.

Despite the failures in the Cron job I would be in favour of merging this PR.

@qinhanmin2014 qinhanmin2014 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, today's cron build is not an accident and this PR makes cron build able to run. Please kindly forgive me for the naive comment above.

@lesteve

lesteve commented Nov 14, 2017

Copy link
Copy Markdown
Member Author

Indeed, today's cron build is not an accident and this PR makes cron build able to run. Please kindly forgive me for the naive comment above.

No worries ! Naive comments are good sometimes, in this case it show that I probably did not explain myself well enough.

@lesteve

lesteve commented Nov 14, 2017

Copy link
Copy Markdown
Member Author

Going to merge this one.

@lesteve
lesteve merged commit 3f96eee into scikit-learn:master Nov 14, 2017
@lesteve
lesteve deleted the fix-numpy-dev branch November 14, 2017 12:34
@qinhanmin2014

Copy link
Copy Markdown
Member

@lesteve
Seems that #10074 is not fixed by the PR? Should we reopen it or do we need another issue for the 9 numpy-dev failures?

@lesteve

lesteve commented Nov 14, 2017

Copy link
Copy Markdown
Member Author

Seems that #10074 is not fixed by the PR? Should we reopen it or do we need another issue for the 9 numpy-dev failures?

Good catch I reopened it.

maskani-moh pushed a commit to maskani-moh/scikit-learn that referenced this pull request Nov 15, 2017
@eric-wieser

Copy link
Copy Markdown

For anyone following, the argument was changed to legacy='1.13'

@lesteve

lesteve commented Nov 22, 2017 •

Copy link
Copy Markdown
Member Author

Thanks for following up. Yes we are using legacy='1.13' in our numpy-dev build (which passed this morning https://travis-ci.org/scikit-learn/scikit-learn/builds/305675956). We will be able to reenable doctests in our documentation when numpy/numpy#10059 is merged.

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.

3 participants