[Numpy-discussion] Fwd: Windows wheels for testing

Jonathan Helmus jjhelmus at gmail.com
Sat Feb 13 12:55:04 EST 2016



On 2/12/16 10:23 PM, Matthew Brett wrote:
> On Fri, Feb 12, 2016 at 8:18 PM, R Schumacher <rays at blue-cove.com> wrote:
>> At 03:45 PM 2/12/2016, you wrote:
>>> PS C:\tmp> c:\Python35\python -m venv np-testing
>>> PS C:\tmp> .\np-testing\Scripts\Activate.ps1
>>> (np-testing) PS C:\tmp> pip install -f
>>> https://nipy.bic.berkeley.edu/scipy_installers/atlas_builds numpy nose
>>
>> 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.
>>>>> import numpy
>>>>> numpy.test()
>> Running unit tests for numpy
>> NumPy version 1.10.4
>> NumPy relaxed strides checking option: False
>> NumPy is installed in C:\Python34\lib\site-packages\numpy
>> Python version 3.4.2 (v3.4.2:ab2c023a9432, Oct  6 2014, 22:16:31) [MSC
>> v.1600 64 bit (AMD64)]
>> nose version 1.3.7
>> .......................F....S...........................................................................................
>> .....................................................................................................S..................
>> ..........................................................................................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 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>
> Great - thanks - I got the same couple of failures - I believe they
> are benign...
>
> Matthew
Matthew,

     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





More information about the NumPy-Discussion mailing list