[PKG-Openstack-devel] Bug#920537: python3-q-text-as-data: SyntaxError: invalid syntax
Axel Beckert
abe at debian.org
Sat Jan 26 19:02:05 GMT 2019
Control: retitle -1 python3-q-text-as-data: SyntaxError: invalid syntax (ships Python 2 script as Python 3 script)
Hi,
Axel Beckert wrote:
> Package: python3-q-text-as-data
> Version: 1.4.0-2
> Severity: grave
>
> q, if installed via its python3-q-text-as-data package, bails out with a
> syntax error:
>
> → python3-q-text-as-data
> File "/usr/bin/python3-q-text-as-data", line 201
> print sql, " params: " + str(params)
> ^
> SyntaxError: invalid syntax
JFTR: This is a regression in 1.4.0-2 and likely the result for the
fix for #867463. 1.4.0-1 did not only ship the binaries at the same
place, it also shipped a #!/usr/bin/python (i.e. Pyhton 2.x) script in
a python3-* package.
This is probably also the reason why python3-q-text-as-data 1.4.0-1
works in Stretch despite upstream states on
https://harelba.github.io/q/requirements.html clearly: "Python 3.x is
not supported yet."
Accordingly this suspicion of mine seems to be right:
> On a first glance this looks like Python 2.x syntax in a Python 3.x
> package.
Regards, Axel
--
,''`. | Axel Beckert <abe at debian.org>, https://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5
`- | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE
More information about the Openstack-devel
mailing list