Docker image build failed with Python 3
Image fails to build if PYTHON_VERSION set to 3. All other parameters have default values.
Here is log output
#11 131.7 Unable to find pgen, not compiling formal grammar.
#11 132.4 Unable to find pgen, not compiling formal grammar.
#11 132.4 warning: no files found matching 'Doc/*'
#11 132.4 warning: no files found matching '*.pyx' under directory 'Cython/Debugger/Tests'
#11 132.4 warning: no files found matching '*.pxd' under directory 'Cython/Debugger/Tests'
#11 132.4 warning: no files found matching '*.pxd' under directory 'Cython/Utility'
#11 132.5 warning: no files found matching 'pyximport/README'
#11 165.1 Traceback (most recent call last):
#11 165.1 File "setup.py", line 34, in <module>
#11 165.1 raise RuntimeError("Python version >= 3.7 required.")
#11 165.1 RuntimeError: Python version >= 3.7 required.
#11 165.1 CMake Error at /home/pv-user/pvsb/build/superbuild/sb-numpy-build.cmake:47 (message):
#11 165.1 Failed with exit code 1
#11 165.1
#11 165.1
#11 165.1 make[2]: *** [superbuild/numpy/stamp/numpy-build] Error 1
#11 165.1 make[1]: *** [superbuild/CMakeFiles/numpy.dir/all] Error 2
#11 165.1 make: *** [all] Error 2
Edited by CapLek