I think it is related to changes in the optimize module across different scipy versions.

See travis-ci.