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

2019-10-07 Thread Michael Kesper
Hi Frederic,

On 06.10.19 10:37, PICCA Frederic-Emmanuel wrote:
> 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.

As far as I understand the sourcecode from glancing at it, that is not intended 
(except for pypy3compile due to its freshness).
So maybe it would be helpful to look at the options with which you called the 
whole process.

Best wishes
Michael



signature.asc
Description: OpenPGP digital signature


Re: Request to join the Debian Python Modules Team

2019-10-07 Thread Scott Kitterman
On Wednesday, October 2, 2019 11:37:59 AM EDT Santiago Ruano Rincón wrote:
> Hi there,
> 
> I would like to request to be included in the Debian Python Modules
> Team.
> 
> * Why you want to join the team: I would like to maintain altair (See
>   #941599) within the team, as any other future python module that I
>   would be interested in.
> * Your Salsa login: santiago
> * I state I have read
> https://salsa.debian.org/python-team/tools/python-modules/blob/master/polic
> y.rst and I accept it.

Added.  Welcome to the team.

Scott K




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

2019-10-07 Thread Drew Parsons

Frederik wrote:


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

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


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.


Drew



Re: Joining DPMT

2019-10-07 Thread Scott Kitterman
On Monday, October 7, 2019 1:56:18 AM EDT Stuart Prescott wrote:
> Hi folks
> 
> Could you please add me to DPMT.
> 
> I've been looking at upgrading plastex (which is team maintained but with no
> active maintainer) to a newer upstream version; upgrading it to a newer
> upstream version gets rid of another Python 2-only package.
> 
> My salsa login is 'stuart'.
> 
> I've read the DPMT policy and agree to it.

Welcome to the team,

Scott K




Joining DPMT

2019-10-07 Thread Stuart Prescott
Hi folks

Could you please add me to DPMT.

I've been looking at upgrading plastex (which is team maintained but with no 
active maintainer) to a newer upstream version; upgrading it to a newer 
upstream version gets rid of another Python 2-only package.

My salsa login is 'stuart'.

I've read the DPMT policy and agree to it.

regards
Stuart

-- 
Stuart Prescotthttp://www.nanonanonano.net/   stu...@nanonanonano.net
Debian Developer   http://www.debian.org/ stu...@debian.org
GPG fingerprint90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7