Re: [Numpy-discussion] Fwd: Windows wheels for testing

At 03:45 PM 2/12/2016, you wrote:
C:\Python34\Scripts>pip install "D:\Python distros\numpy-1.10.4-cp34-none-win_amd64.whl" Unpacking d:\python distros\numpy-1.10.4-cp34-none-win_amd64.whl Installing collected packages: numpy Successfully installed numpy Cleaning up... C:\Python34\Scripts>..\python Python 3.4.2 (v3.4.2:ab2c023a9432, Oct 6 2014, 22:16:31) [MSC v.1600 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. py:162: DeprecationWarning: using a non-integer number instead of an integer will result in an error in the future callable_obj(*args, **kwargs) ........C:\Python34\lib\unittest\case.py:162: DeprecationWarning: using a non-integer number instead of an integer will result in an error in the future callable_obj(*args, **kwargs) C:\Python34\lib\unittest\case.py:162: DeprecationWarning: using a non-integer number instead of an integer will result i n an error in the future callable_obj(*args, **kwargs) .......................................................................................S................................ ........................................................................................................................ ..........................................................................C:\Python34\lib\unittest\case.py:162: Deprecat ionWarning: using a non-integer number instead of an integer will result in an error in the future callable_obj(*args, **kwargs) ..C:\Python34\lib\unittest\case.py:162: DeprecationWarning: using a non-integer number instead of an integer will result in an error in the future callable_obj(*args, **kwargs) C:\Python34\lib\unittest\case.py:162: DeprecationWarning: using a non-integer number instead of an integer will result i n an error in the future callable_obj(*args, **kwargs) C:\Python34\lib\unittest\case.py:162: DeprecationWarning: using a non-integer number instead of an integer will result i n an error in the future callable_obj(*args, **kwargs) C:\Python34\lib\unittest\case.py:162: DeprecationWarning: using a non-integer number instead of an integer will result i n an error in the future callable_obj(*args, **kwargs) ........................................................................................................................ ........................................................................................................................ ........................................................................................................................ ........................................................................................................................ ........................................................................................................................ ........................................................................................................................ ........................................................................................................................ ........................................................................................................................ ........................................................................................................................ ........................................................................................................................ ........................................................................................................................ ...............................................K.........................................................C:\Python34\lib \site-packages\numpy\ma\core.py:989: RuntimeWarning: invalid value encountered in multiply masked_da = umath.multiply(m, da) C:\Python34\lib\site-packages\numpy\ma\core.py:989: RuntimeWarning: invalid value encountered in multiply masked_da = umath.multiply(m, da) ........................................................................................................................ ..................C:\Python34\lib\site-packages\numpy\core\tests\test_numerictypes.py:372: DeprecationWarning: using a n on-integer number instead of an integer will result in an error in the future return self.ary['f0', 'f1'] ........................................................................................................................ .............................................................................................K.......................... ........................................................................................................................ ........................................................................................................................ ........................................................................................................................ ....K..K................................K...SK.S.......S................................................................ ..................ES..SS................................................................................................ ........................................................................................................................ ........................................................................................................................ ........................................................................................................................ ........................................................................................................................ ................................................................................S....................................... ........................................................................................................................ ........................................................................................................................ ...........................................K.................K.......................................................... ........................................................................................................................ ........................................................................................................................ ........................................................................................................................ ...........................................S............................................................................ ..........................................S............................................................C:\Python34\lib\s ite-packages\numpy\ma\core.py:4089: UserWarning: Warning: converting a masked element to nan. warnings.warn("Warning: converting a masked element to nan.") ..............................................................................................................C:\Python3 4\lib\site-packages\numpy\ma\core.py:5116: RuntimeWarning: invalid value encountered in power np.power(out, 0.5, out=out, casting='unsafe') ........................................................................................................................ ........................................................................................................................ ........................................................................................................................ ........................................................................................................................ ........................................................................................................................ ........................................................................................................................ ........................................................................................................................ .......................... ====================================================================== ERROR: test_compile1 (test_system_info.TestSystemInfoReading) ---------------------------------------------------------------------- Traceback (most recent call last): File "C:\Python34\lib\site-packages\numpy\distutils\tests\test_system_info.py", line 182, in test_compile1 c.compile([os.path.basename(self._src1)], output_dir=self._dir1) File "C:\Python34\lib\distutils\msvc9compiler.py", line 460, in compile self.initialize() File "C:\Python34\lib\site-packages\numpy\distutils\msvccompiler.py", line 17, in initialize distutils.msvccompiler.MSVCCompiler.initialize(self, plat_name) File "C:\Python34\lib\distutils\msvc9compiler.py", line 371, in initialize vc_env = query_vcvarsall(VERSION, plat_spec) File "C:\Python34\lib\distutils\msvc9compiler.py", line 259, in query_vcvarsall raise DistutilsPlatformError("Unable to find vcvarsall.bat") distutils.errors.DistutilsPlatformError: Unable to find vcvarsall.bat ====================================================================== FAIL: test_blasdot.test_blasdot_used ---------------------------------------------------------------------- Traceback (most recent call last): File "C:\Python34\lib\site-packages\nose\case.py", line 198, in runTest self.test(*self.arg) File "C:\Python34\lib\site-packages\numpy\testing\decorators.py", line 146, in skipper_func return f(*args, **kwargs) File "C:\Python34\lib\site-packages\numpy\core\tests\test_blasdot.py", line 31, in test_blasdot_used assert_(dot is _dotblas.dot) File "C:\Python34\lib\site-packages\numpy\testing\utils.py", line 53, in assert_ raise AssertionError(smsg) AssertionError ---------------------------------------------------------------------- Ran 5575 tests in 32.042s FAILED (KNOWNFAIL=8, SKIP=12, errors=1, failures=1) <nose.result.TextTestResult run=5575 errors=1 failures=1>

AFAIK the vcvarsall.bat error occurs when your MSVC directories aren't properly linked in your system registry, so Python cannot find the file. This is not a numpy-specific issue, so I certainly would agree that that failure is not blocking. Other than that, this build contains the mingw32.lib bug that I fixed here <https://github.com/numpy/numpy/pull/7119>, but other than that, everything else passes on relevant Python versions for 32-bit! On Sat, Feb 13, 2016 at 4:23 AM, Matthew Brett <matthew.brett@gmail.com> wrote:

On 2/12/16 10:23 PM, Matthew Brett wrote:
The wheels seem to work fine in the Python provided by Continuum on 32-bit Windows. Tested in Python 2.7, 3.3 and 3.4. The only test errors/failures was the the vcvarsall.bat error on all three versions. Full tests logs at https://gist.github.com/jjhelmus/de2b34779e83eb37a70f. Cheers, - Jonathan Helmus

AFAIK the vcvarsall.bat error occurs when your MSVC directories aren't properly linked in your system registry, so Python cannot find the file. This is not a numpy-specific issue, so I certainly would agree that that failure is not blocking. Other than that, this build contains the mingw32.lib bug that I fixed here <https://github.com/numpy/numpy/pull/7119>, but other than that, everything else passes on relevant Python versions for 32-bit! On Sat, Feb 13, 2016 at 4:23 AM, Matthew Brett <matthew.brett@gmail.com> wrote:

On 2/12/16 10:23 PM, Matthew Brett wrote:
The wheels seem to work fine in the Python provided by Continuum on 32-bit Windows. Tested in Python 2.7, 3.3 and 3.4. The only test errors/failures was the the vcvarsall.bat error on all three versions. Full tests logs at https://gist.github.com/jjhelmus/de2b34779e83eb37a70f. Cheers, - Jonathan Helmus
participants (4)
-
G Young
-
Jonathan Helmus
-
Matthew Brett
-
R Schumacher