Use Python 3.6 in Circle CI build
stellarspot opened this issue · comments
Circle CI build uses Python 3.5.
OpenPsiCythonTest requires Python 3.6 where issue PyGILState_Ensure on non-Python thread causes fatal error is fixed.
See discussion in #3517
OpenCog docker uses Ubuntu:16.04
https://github.com/opencog/docker/blob/master/opencog/base/Dockerfile
It may require to upgrade the Ubuntu version in docker to 18.04.
I agree that we should upgrade, but we we will run into issues with the default cython version (0.26.1) for Ubuntu 18.04 as explored here: opencog/atomspace#2213 - basically, as I understand it, we are doing stuff cpython and cython don't actually support by repeatedly reinitializing the python interpreter.
(The issue exists for any cython version after 0.23 which works by luck).
closing - comment above suggests this is fixed.