[issue28897] Python 3.6.0rc1 breaks NumPy tests.

2016-12-08 Thread STINNER Victor
STINNER Victor added the comment: Charles: "OK, you fixed what broke us before. If I revert our fixes the problem goes away. So, thanks I guess ;) You can close this." Cool, happy to read that the issue was fixed :-) If you missed it, the whole mess were backward compatibility when I extended

[issue28897] Python 3.6.0rc1 breaks NumPy tests.

2016-12-07 Thread Ned Deily
Ned Deily added the comment: Yes, thanks, Charles, and thanks everyone else. Sorry about the confusion with the changes in rc1. -- priority: release blocker -> ___ Python tracker

[issue28897] Python 3.6.0rc1 breaks NumPy tests.

2016-12-07 Thread Nick Coghlan
Nick Coghlan added the comment: Closing as not a bug as Charles suggested, since the problem was due to a workaround NumPy introduced for a regression in the beta releases that was fixed for rc1. -- nosy: +ncoghlan resolution: -> not a bug stage: -> resolved status: open -> closed

[issue28897] Python 3.6.0rc1 breaks NumPy tests.

2016-12-07 Thread Charles Harris
Charles Harris added the comment: OK, you fixed what broke us before. If I revert our fixes the problem goes away. So, thanks I guess ;) You can close this. -- ___ Python tracker

[issue28897] Python 3.6.0rc1 breaks NumPy tests.

2016-12-07 Thread Ned Deily
Ned Deily added the comment: Charles, these are the two changes that went into Lib/warnings.py between b4 and rc1: changeset: 105490:aaee06743c61 branch: 3.6 parent: 105488:c0f59410ccfc user:Ned Deily date:Tue Dec 06 17:12:47 2016 -0500 files:

[issue28897] Python 3.6.0rc1 breaks NumPy tests.

2016-12-07 Thread Charles Harris
Charles Harris added the comment: I ran with Python 3.6.0rc1 (default, Dec 7 2016, 14:00:51) and get the same errors in both NumPy 1.13.0-dev and 1.12. But I gave you a wrong suggestion, we disable some test errors for releases, which is what is on PyPI, and that is doubtless why you don't

[issue28897] Python 3.6.0rc1 breaks NumPy tests.

2016-12-07 Thread Julien Palard
Julien Palard added the comment: Tried to run the test_nanfunctions.py on tip and Python 3.6.0b4+, on numpy 1.11 and 1.12.0b1, can't make it fail. Installed numpy 1.12.0b1 using: ./python -m pip install --user numpy==1.12.0b1 I suspect Charles tested using Python 3.6.0b3 (can you confirm?),

[issue28897] Python 3.6.0rc1 breaks NumPy tests.

2016-12-07 Thread Charles Harris
Charles Harris added the comment: The NumPy 1.12.0b1 tarball is available on PyPI if you want to download it. -- ___ Python tracker ___

[issue28897] Python 3.6.0rc1 breaks NumPy tests.

2016-12-07 Thread Charles Harris
Charles Harris added the comment: You probably need to run NumPy 1.12 to see the problem. Tt looks like the new suppress_warnings context manager is what has been broken. Note that is was broken by 3.6 before, fixed, and now seems to be broken again. --

[issue28897] Python 3.6.0rc1 breaks NumPy tests.

2016-12-07 Thread Charles Harris
Charles Harris added the comment: I downloaded the tarball and installed the release here and got the same errors. We setup the tests in developement mode by turning some warnings into errors, in particular DeprecationWarnings and RuntimeWarnings, and suppressing others. The tests that are

[issue28897] Python 3.6.0rc1 breaks NumPy tests.

2016-12-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I have installed NumPy 1.11.2 and ran tests. Tests are passes successfully. -- ___ Python tracker ___

[issue28897] Python 3.6.0rc1 breaks NumPy tests.

2016-12-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: What is Numpy doing that is breaking it? -- ___ Python tracker ___ ___

[issue28897] Python 3.6.0rc1 breaks NumPy tests.

2016-12-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It works in usual circumstances. >>> import warnings >>> with warnings.catch_warnings(record=True) as w: ... warnings.simplefilter('always') ... warnings.warn('a test warning', DeprecationWarning) ... print(w) ... [] --

[issue28897] Python 3.6.0rc1 breaks NumPy tests.

2016-12-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: So `warnings.catch_warnings` doesn't work anymore in 3.6? -- nosy: +pitrou ___ Python tracker ___

[issue28897] Python 3.6.0rc1 breaks NumPy tests.

2016-12-07 Thread Ned Deily
Changes by Ned Deily : -- keywords: +3.6regression ___ Python tracker ___ ___

[issue28897] Python 3.6.0rc1 breaks NumPy tests.

2016-12-07 Thread Charles Harris
Charles Harris added the comment: The failing tests don't use the context manager mentioned in msg278976 and which was fixed. In any case, the failures are new an appeared today. A failing test may be viewed at:

[issue28897] Python 3.6.0rc1 breaks NumPy tests.

2016-12-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See also msg278976. -- ___ Python tracker ___ ___ Python-bugs-list

[issue28897] Python 3.6.0rc1 breaks NumPy tests.

2016-12-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Could you please show an example of failing test? -- ___ Python tracker ___

[issue28897] Python 3.6.0rc1 breaks NumPy tests.

2016-12-07 Thread Charles Harris
Charles Harris added the comment: Probably this commit: https://hg.python.org/cpython/rev/aaee06743c61 . -- ___ Python tracker ___

[issue28897] Python 3.6.0rc1 breaks NumPy tests.

2016-12-07 Thread Ned Deily
Ned Deily added the comment: Serhiy, Victor, can you look at this please? -- nosy: +haypo, ned.deily, serhiy.storchaka priority: normal -> release blocker ___ Python tracker

[issue28897] Python 3.6.0rc1 breaks NumPy tests.

2016-12-07 Thread Charles Harris
New submission from Charles Harris: The lastest Python 3.6 pre-release broke a number of NumPy tests. The failing tests are of the sort with warnings.catch_warnings(record=True) as w: warnings.simplefilter('always') ... And the failure seems to be that nothing is recorded