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

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
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 Sun, 06 Oct 2019 11:00:02 +0200
Message-ID <yOayt-3GJ-3@gated-at.bofh.it> (permalink)
X-Original-To "debian-python@lists.debian.org" <debian-python@lists.debian.org>
X-Mailbox-Line From debian-python-request@lists.debian.org Sun Oct 6 08:54:08 2019
Old-Return-Path <frederic-emmanuel.picca@synchrotron-soleil.fr>
X-Amavis-Spam-Status No, score=0.8 tagged_above=-10000 required=5.3 tests=[BAYES_20=-1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, THREADTOPIC=2] autolearn=no autolearn_force=no
X-Policyd-Weight using cached result; rate:hard: -4.6
Dkim-Filter OpenDKIM Filter v2.11.0 poussette.synchrotron-soleil.fr 266D8600BD
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=synchrotron-soleil.fr; s=email; t=1570351050; bh=c/BmpcOJ13u9QM3Ki3E5cXLHIDIbivUiJB6qk9qJK4c=; h=From:To:Subject:Date:From; b=VPdCrijpwzwjhXBTNufmLreCmtt3JLnA5B89tWn/sURvEiZH81crBBUthUWUo4t5G 8hEoqk1c1YoghhRJ++hR2gjF/KqeVFqcZ6LpHn4d+1ZZQ/ZEClpnLwWIGUnY9Pw0Im YhfEHQfq9XWpc80Hjo0xtuyxytIUoDXjxqRuFIxQ=
Dkim-Filter OpenDKIM Filter v2.11.0 poussette.synchrotron-soleil.fr 73EC06007C
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=synchrotron-soleil.fr; s=email; t=1570351049; bh=c/BmpcOJ13u9QM3Ki3E5cXLHIDIbivUiJB6qk9qJK4c=; h=From:To:Subject:Date:From; b=D+IWJY8d4uSEQtilTlODMx2NLgBFCsVEkKeLbnZMey1F7qJof4if09/6as95Wpghw EhH4zvaG+VO9ZOSoXx15zfb2uQZD1GDpSIE9IG3wIr+ZqV07UJpvE1oIWwbLKtO1AK mrapk2JZA8VJolH8d61mSkUTlngeLM/Sjh8KTY2k=
Thread-Topic dh-python does not stop if there is error during the byte-compiling
Thread-Index AdV8IUlCpuh/hT5ZT5mUN7vZ/OfLmA==
Accept-Language fr-FR, en-US
Content-Language fr-FR
X-Originating-IP [195.221.0.171]
Content-Type text/plain; charset="us-ascii"
Content-Transfer-Encoding quoted-printable
MIME-Version 1.0
X-Mailing-List <debian-python@lists.debian.org> archive/latest/17407
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/A2A20EC3B8560D408356CAC2FC148E53017D80B7A4@SUN-DAG3.synchrotron-soleil.fr
Approved robomod@news.nic.it
Lines 21
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Sun, 6 Oct 2019 08:37:28 +0000
X-Original-Message-ID <A2A20EC3B8560D408356CAC2FC148E53017D80B7A4@SUN-DAG3.synchrotron-soleil.fr>
Xref csiph.com linux.debian.maint.python:11866

Show key headers only | 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