Re: [SciPy-dev] Re: Plan for releasing Scipy 0.3.2
Berthold Höllmann wrote:
Pearu Peterson <pearu@scipy.org> writes:
Hi,
I think we are ready to make the release: with the recent Scipy from CVS all tests pass ok on Debian (sid) P4 and AMD MP boxes, Gentoo Opteron box, and a WinNT box.
If you think that there are some important bugs to be fixed, you still got about 12 hours. I plan to tag Scipy CVS tree tomorrow morning (Estonian time), create tar-balls, etc. See
http://www.scipy.org/development/releasescipy.txt
for relevant tasks.
Please, let me know if there is any reason that I should hold on for tagging CVS tree.
I can also make binaries for Linux system but it would be create if someone could create RPMs (Joe?) and Win32 installers (Travis?) after tar-balls are available.
Testing the actual CVS on a SuSE 9.0 with gcc 3.4.2 I get
python -c "import scipy ; scipy.test()"/usr/local/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning) !! No test file 'test_Mplot.py' found for <module 'scipy.xplt.Mplot' from '...-packages/scipy/xplt/Mplot.pyc'> (lots of "!! No test..." and test output) .Testing weibull_min ......... ====================================================================== FAIL: check_basic (scipy.stats.morestats.test_morestats.test_shapiro) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/lib/python2.4/site-packages/scipy/stats/tests/test_morestats.py", line 40, in check_basic assert_almost_equal(pw,0.52459925413131714,3) File "/usr/local/lib/python2.4/site-packages/scipy_test/testing.py", line 606, in a ssert_almost_equal assert round(abs(desired - actual),decimal) == 0, msg AssertionError: Items are not equal: DESIRED: 0.52459925413131714 ACTUAL: 1.0
---------------------------------------------------------------------- Ran 972 tests in 9.784s
Do you get this error consistently or just once in a while? -Travis
Travis Oliphant <oliphant@ee.byu.edu> writes:
Berthold Höllmann wrote:
Pearu Peterson <pearu@scipy.org> writes:
Testing the actual CVS on a SuSE 9.0 with gcc 3.4.2 I get
python -c "import scipy ; scipy.test()"/usr/local/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning) !! No test file 'test_Mplot.py' found for <module 'scipy.xplt.Mplot' from '...-packages/scipy/xplt/Mplot.pyc'> (lots of "!! No test..." and test output) .Testing weibull_min ......... ====================================================================== FAIL: check_basic (scipy.stats.morestats.test_morestats.test_shapiro) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/lib/python2.4/site-packages/scipy/stats/tests/test_morestats.py", line 40, in check_basic assert_almost_equal(pw,0.52459925413131714,3) File "/usr/local/lib/python2.4/site-packages/scipy_test/testing.py", line 606, in a ssert_almost_equal assert round(abs(desired - actual),decimal) == 0, msg AssertionError: Items are not equal: DESIRED: 0.52459925413131714 ACTUAL: 1.0
---------------------------------------------------------------------- Ran 972 tests in 9.784s
Do you get this error consistently or just once in a while?
I get it twice for two tries. Is this consistently enough? Also the /usr/local/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module comes everytime I run the tests;-) Regards Berthold -- bhoel@web.de / http://starship.python.net/crew/bhoel/
DeprecationWarning) !! No test file 'test_Mplot.py' found for <module 'scipy.xplt.Mplot' from '...-packages/scipy/xplt/Mplot.pyc'> (lots of "!! No test..." and test output) .Testing weibull_min ......... ====================================================================== FAIL: check_basic (scipy.stats.morestats.test_morestats.test_shapiro) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/lib/python2.4/site-packages/scipy/stats/tests/test_morestats.py", line 40, in check_basic assert_almost_equal(pw,0.52459925413131714,3) File "/usr/local/lib/python2.4/site-packages/scipy_test/testing.py", line 606, in a ssert_almost_equal assert round(abs(desired - actual),decimal) == 0, msg AssertionError: Items are not equal: DESIRED: 0.52459925413131714 ACTUAL: 1.0
---------------------------------------------------------------------- Ran 972 tests in 9.784s
Do you get this error consistently or just once in a while?
I get it twice for two tries. Is this consistently enough? Also the
/usr/local/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
Thanks for the information. This looks like a genuine bug. You should not be getting this much of a difference. Is the problem related to gcc 3.4.2? Is anybody using that particular compiler? The problem is the statlib.swilk function. Apparently, It is not returning the correct value on your system. This function is in Fortran and so either gcc 3.4.2 is compiling it differently or the f2py-generated interface is not functioning correctly. Could you manually run the test that is failing and give the output of stats.shapiro(x2) using the x2 in the test_morestats.py file near line 40? Thanks, -Travis O.
Travis Oliphant <oliphant@ee.byu.edu> writes: ...
Thanks for the information. This looks like a genuine bug. You should not be getting this much of a difference. Is the problem related to gcc 3.4.2? Is anybody using that particular compiler? The problem is the statlib.swilk function. Apparently, It is not returning the correct value on your system. This function is in Fortran and so either gcc 3.4.2 is compiling it differently or the f2py-generated interface is not functioning correctly.
OK, the problem seems to be related to the gcc version. When I compile scipy CVS with gcc 3.3.1 "python -c 'import scipy ; scipy.test()'" finishes without error, even with
python Python 2.4a3 (#1, Sep 9 2004, 20:49:30) [GCC 3.4.2] on linux2
Could you manually run the test that is failing and give the output of stats.shapiro(x2) using the x2 in the test_morestats.py file near line 40?
I get 0.959027051926 1.0 from print w,pw Regards Berthold -- bhoel@web.de / http://starship.python.net/crew/bhoel/
On Wed, 6 Oct 2004, [iso-8859-15] Berthold Höllmann wrote:
Also the
/usr/local/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
comes everytime I run the tests;-)
Well, you are using Python 2.4 that warns depreciated modules since 2.1. Since we support Python 2.1 and up in scipy, we should be able to fix this warning.. Pearu
participants (3)
-
bhoel@web.de -
Pearu Peterson -
Travis Oliphant