opencog / opencog

A framework for integrated Artificial Intelligence & Artificial General Intelligence (AGI)

Home Page:http://wiki.opencog.org/w/Development

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

commented

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).

commented

The CI docker image has been updated to 3.6 thanks to @amebel - 🎉

opencog/ocpkg#134

closing - comment above suggests this is fixed.