On Thu, 23 Jul 2020 18:32:35 +0200 Diego Roversi <die...@tiscali.it> wrote:> Package: black
> Version: 18.9b0-1-6
> Severity: important
>
> Hello,
>
> during installation it gives me this error:
>
> Setting up black (18.9b0-1-6) ...
> -V is ignored in pypycompile
> Failed to byte-compile /usr/lib/python3/dist-packages/black.py: File
> "/usr/lib/python3/dist-packages/black.py", line 128
> ) -> "FileMode":
> ^
> SyntaxError: invalid syntax
>
>
> -- System Information:
> Debian Release: 10.4
> APT prefers stable-updates
> APT policy: (500, 'stable-updates'), (500, 'stable')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386, arm64
>
> Kernel: Linux 5.6.14+ (SMP w/4 CPU cores)
> Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8), LANGUAGE=en_IE:en (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
> LSM: AppArmor: enabled
>
> Versions of packages black depends on:
> ii python3 3.7.3-1
> ii python3-appdirs 1.4.3-1
> ii python3-attr 18.2.0-1
> ii python3-click 7.0-1
> ii python3-pkg-resources 40.8.0-1
> ii python3-toml 0.10.0-1
>
> black recommends no packages.
>
> Versions of packages black suggests:
> pn python-black-doc <none>
>
> -- debconf-show failed
>
>
>
>


I can also confirm this bug but as it can be seen it is related to pypy3 and not CPython (default implementation of Python).


Cheers,

Salman

Reply via email to