Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #11866

dh-python does not stop if there is error during the byte-compiling

From PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr>
Newsgroups linux.debian.maint.python
Subject dh-python does not stop if there is error during the byte-compiling
Date 2019-10-06 11:00 +0200
Message-ID <yOayt-3GJ-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hello, in one of my package (pymca), there is a syntax error like this.

byte-compiling /builds/science-team/pymca/debian/output/pymca-5.5.2+dfsg/debian/python-pymca5/usr/lib/python2.7/dist-packages/PyMca5/Object3D/Object3DPlugins/ChimeraStack.py to ChimeraStack.pyc
  File "/usr/lib/python2.7/dist-packages/PyMca5/Object3D/Object3DPlugins/ChimeraStack.py", line 72
    with h5py.File(filename, mode='r') as f
                                          ^
SyntaxError: invalid syntax

byte-compiling /builds/science-team/pymca

(missing ':' at the end of the line) but this does not stop the build process.

Is it normal ?

Cheers

Frederic

Back to linux.debian.maint.python | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

dh-python does not stop if there is error during the byte-compiling PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2019-10-06 11:00 +0200
  Re: dh-python does not stop if there is error during the  byte-compiling Michael Kesper <mkesper@schokokeks.org> - 2019-10-07 21:50 +0200

csiph-web