Hello, in one of my package (pymca), there is a syntax error like this.
with h5py.File(filename, mode='r') as f
SyntaxError: invalid syntax
(missing ':' at the end of the line) but this does not stop the build
Is it normal ?
The error got through both dh_auto_install and pybuild --install. I'm
pretty sure dh_auto_install will halt on error (or more correctly
debian/rules will halt when dh_auto_install returns an error). I would
have thought pybuild would also catch the error and pass it on to
dh_auto_install. Could it be that upstream setup.py returns 0 when the
SyntaxError happens or something similar, i.e. ignores the error? The
problem must be either there or in pybuild.