ionelmc / cookiecutter-pylibrary

Enhanced cookiecutter template for Python libraries.
BSD 2-Clause "Simplified" License
1.25k stars 207 forks source link

If _cffi_backend 1.5.2 is installed, upgrade to 1.14. #202

Closed dHannasch closed 4 years ago

dHannasch commented 4 years ago

Fixes

    Exception: Version mismatch: this is the 'cffi' package version 1.14.1, located in '/tmp/pip-build-env-IrZ1TX/overlay/lib/python2.7/site-packages/cffi/api.pyc'.  When we import the top-level '_cffi_backend' extension module, we get version 1.5.2, located in '/usr/lib/python2.7/dist-packages/_cffi_backend.x86_64-linux-gnu.so'.  The two versions should be equal; check your installation.

on Travis and thus resolves https://github.com/ionelmc/cookiecutter-pylibrary/issues/203.

(Of course the build still fails due to https://github.com/ionelmc/cookiecutter-pylibrary/issues/206, but this fixes the version mismatch crash.)