You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So the fix seems easy enough, but really our builds should have caught this, so maybe what is also needed is for .travis.yml to install the minimum version of everything to check that our requirements still work. I'm not sure if this is a whole new build or not (minimal doesn't have Cython, so it wouldn't have been caught).
Attempting to autodetect OpenMP support... Compiler supports OpenMP
Compiling MDAnalysis/lib/c_distances.pyx because it changed.
Compiling MDAnalysis/lib/c_distances_openmp.pyx because it changed.
Compiling MDAnalysis/lib/qcprot.pyx because it changed.
Cythonizing MDAnalysis/lib/c_distances.pyx
Error compiling Cython file:
------------------------------------------------------------
...
cdef int rows = len(coord)
cdef double cutoff2 = cutoff ** 2
cdef float[:, ::1] coord_view = coord
cdef int i, j
cdef double[3] rr;
^
------------------------------------------------------------
MDAnalysis/lib/c_distances.pyx:271:21: Syntax error in C variable declaration
Traceback (most recent call last):
File "setup.py", line 351, in <module>
ext_modules=extensions(config),
File "setup.py", line 312, in extensions
extensions = cythonize(extensions)
File "/usr/lib/python2.7/dist-packages/Cython/Build/Dependencies.py", line 798, in cythonize
cythonize_one(*args[1:])
File "/usr/lib/python2.7/dist-packages/Cython/Build/Dependencies.py", line 915, in cythonize_one
raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: MDAnalysis/lib/c_distances.pyx
The text was updated successfully, but these errors were encountered:
we should then always only install the minimal requirements. But I honestly don't know how. Does PyPi save older versions of packages? As far as I can tell you can only always download the most current version on PyPi.
I've just tried to reinstall a newer version of MDA onto an older computer and got the error below. This was using Cython 0.20.2.
It looks like trailing semicolons were fixed in 0.21:
http://trac.cython.org/ticket/832
And apparently our minimum required is 0.16.
So the fix seems easy enough, but really our builds should have caught this, so maybe what is also needed is for .travis.yml to install the minimum version of everything to check that our requirements still work. I'm not sure if this is a whole new build or not (minimal doesn't have Cython, so it wouldn't have been caught).
The text was updated successfully, but these errors were encountered: