#62243 closed defect (fixed)
py36-numpy @1.20.1: RuntimeError: Python version >= 3.7 required.
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | michaelld (Michael Dickens) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.4 |
Keywords: | Cc: | mascguy (Christopher Nielsen) | |
Port: | py-numpy |
Description
DEBUG: system: cd "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_python_py-numpy/py36-numpy/work/numpy-1.20.1" && /opt/local/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6 setup.py --no-user-cfg build -j4 Traceback (most recent call last): File "setup.py", line 30, in <module> raise RuntimeError("Python version >= 3.7 required.") RuntimeError: Python version >= 3.7 required.
Change History (10)
comment:1 Changed 4 years ago by michaelld (Michael Dickens)
comment:2 Changed 4 years ago by michaelld (Michael Dickens)
Just noticed that it was a major release upgrade ... I had just forgotten to push the prior 1.20 release ... oops! :)
comment:3 Changed 4 years ago by mascguy (Christopher Nielsen)
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
This is occurring on macOS 10.12. Based on a quick look at the port build history, the same failure is also occurring on our builder:
comment:4 Changed 4 years ago by mascguy (Christopher Nielsen)
Cc: | mascguy added |
---|
comment:5 Changed 4 years ago by scrallen
Cc: | scrallen added |
---|
comment:6 Changed 4 years ago by scrallen
Cc: | scrallen removed |
---|
comment:7 Changed 4 years ago by scrallen
Cc: | scrallen added |
---|
comment:8 Changed 4 years ago by michaelld (Michael Dickens)
Cc: | scrallen removed |
---|
Thanks for that update @macsguy ... I'm working to fix the immediate issue; then I can look into the next issue.
comment:9 Changed 4 years ago by michaelld (Michael Dickens)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:10 Changed 4 years ago by michaelld (Michael Dickens)
@macsguy : I doubt my changes will fix the issue you're noting. If it persists, can you please open a new ticket here with updated info? I can boot one of my OSX build systems into 10.12 for testing / evaluation / debugging. Thx!
well drat. I had hoped they would deprecate older Python versions with a major release (e.g., 1.20 -> 1.21) not a minor one such as this. I'll fix it up shortly.