[Python-modules-team] Bug#904491: python3-pylama: fails to install with Python 3.7

Ivo De Decker ivodd at debian.org
Sat Sep 22 14:56:24 BST 2018


Control: tags -1 patch

Hi,

On Tue, Jul 24, 2018 at 09:11:50PM +0200, Andreas Beckmann wrote:
> during a test with piuparts I noticed your package failed to install. As
> per definition of the release team this makes the package too buggy for
> a release, thus the severity.
> 
> From the attached log (scroll to the bottom...):
> 
>   Setting up python3-pylama (7.4.3-1) ...
>     File "/usr/lib/python3/dist-packages/pylama/config.py", line 202
>       if options.async and 'pylint' in options.linters:
>                      ^
>   SyntaxError: invalid syntax
>   
>     File "/usr/lib/python3/dist-packages/pylama/main.py", line 10
>       from .async import check_async
>                 ^
>   SyntaxError: invalid syntax
>   
>   dpkg: error processing package python3-pylama (--configure):
>    installed python3-pylama package post-installation script subprocess returned error exit status 1
> 
> 
> "async" has become a reserved keyword in Python 3.7

This patch should fix the issue:

https://github.com/fmv1992/pylama/pull/2/commits/f835653e21e78c9c2577189956601089d8809f6b

Cheers,

Ivo



More information about the Python-modules-team mailing list