[MacPorts] #62243: py36-numpy @1.20.1: RuntimeError: Python version >= 3.7 required.

MacPorts noreply at macports.org
Tue Feb 9 01:40:29 UTC 2021


#62243: py36-numpy @1.20.1: RuntimeError: Python version >= 3.7 required.
-------------------------+-----------------------
  Reporter:  ryandesign  |      Owner:  michaelld
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.6.4
Resolution:              |   Keywords:
      Port:  py-numpy    |
-------------------------+-----------------------

Comment (by mascguy):

 While this might be moot if we downgrade the version, it's still worth a
 mention: I'm now seeing build failures for multiple `py-numpy` subports
 (including both 3.7 and 3.8), with the following:

 {{{
 .../py37-numpy/work/numpy-numpy-
 8d9d768/numpy/distutils/checks/cpu_avx512_clx.c:6:17: error: implicit
 declaration of function '_mm512_dpbusd_epi32' is invalid in C99 [-Werror
 ,-Wimplicit-function-declaration]
     __m512i a = _mm512_dpbusd_epi32(_mm512_setzero_si512(),
 _mm512_setzero_si512(), _mm512_setzero_si512());
                 ^
 .../py37-numpy/work/numpy-numpy-
 8d9d768/numpy/distutils/checks/cpu_avx512_clx.c:6:17: note: did you mean
 '_mm512_abs_epi32'?
 /Library/Developer/CommandLineTools/usr/lib/clang/9.0.0/include/avx512fintrin.h:1881:1:
 note: '_mm512_abs_epi32' declared here
 _mm512_abs_epi32(__m512i __A)
 ^
 .../py37-numpy/work/numpy-numpy-
 8d9d768/numpy/distutils/checks/cpu_avx512_clx.c:6:13: error: initializing
 '__m512i' (vector of 8 'long long' values) with an expression of
 incompatible type 'int'
     __m512i a = _mm512_dpbusd_epi32(_mm512_setzero_si512(),
 _mm512_setzero_si512(), _mm512_setzero_si512());
             ^
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 2 errors generated.
 CCompilerOpt.feature_test[1458] : testing failed
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/62243#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list