Bug#903218:
In code search I found another package affected by this problem. Which seems to embed pyOpenGL. https://codesearch.debian.net/search?q=OpenGL.raw.GL.SGIX.async=1 Cheers
Bug#903218: python3-opengl: fails to install with python3.7 installed
looking at the fedora project they renames async -> async_ https://koji.fedoraproject.org/koji/buildinfo?buildID=1097515
Bug#903218:
looking at the fedora project they renames async -> async_ https://koji.fedoraproject.org/koji/buildinfo?buildID=1097515
Bug#903218: Fails to install due to SyntaxError
async is now a keyword. The module has to be renamed. Upstream seems to be a little bit dead, looking at the ML... so maybe coordinate with other distro how to rename it?
Bug#903218: python3-opengl: fails to install with python3.7 installed
On Wed, 11 Jul 2018 at 11:37:37 -0300, eamanu15 wrote: > This bug maybe have a relationship with #902788 python3-minimal needs > Breaks for software/modules broken by 3.7, isn't? Yes. First someone needs to fix this bug in python3-opengl, and then the maintainer of python3.7 needs to add Breaks: python3-opengl (<< the fixed version). smcv
Bug#903218: python3-opengl: fails to install with python3.7 installed
>Mail to a bug doesn't automatically go to the bug submitter: you have >to Cc them (either by their own address or the N-submitter@ alias) >if you want to contact them. Ok Thanks! This bug maybe have a relationship with #902788 python3-minimal needs Breaks for software/modules broken by 3.7, isn't? Regards! -- Arias Emmanuel https://www.linkedin.com/in/emmanuel-arias-437a6a8a http://eamanu.com
Bug#903218: python3-opengl: Fails to install due to SyntaxError
On Sun, 08 Jul 2018 at 13:18:00 -0300, eamanu15 wrote: > Hello Paul, Mail to a bug doesn't automatically go to the bug submitter: you have to Cc them (either by their own address or the N-submitter@ alias) if you want to contact them. > I build the package 3.1.0+dfsg version using sbuild -A -s and I don't have > any problem. > > How do you install it? I haven't tested them, but these steps should reproduce the bug: * Install python3-minimal (>= 3.6.5-4) and python3.7 * Install or reinstall python3-opengl Regards, smcv
Bug#903218: Fails to install due to SyntaxError
Hello Paul, Thanks for send the bug. I build the package 3.1.0+dfsg version using sbuild -A -s and I don't have any problem. How do you install it? Regards! -- Arias Emmanuel https://www.linkedin.com/in/emmanuel-arias-437a6a8a http://eamanu.com
Bug#903218: Presents itself with Python 3.7
With Python 2.6: ``` paultag@nyx:~/dev/local$ python3.6 Python 3.6.6 (default, Jun 27 2018, 14:44:17) [GCC 8.1.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import foo.async Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'foo' >>> ``` With Python 3.7: ``` paultag@nyx:~/dev/local$ python3.7 Python 3.7.0 (default, Jun 27 2018, 14:40:03) [GCC 8.1.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import foo.async File "", line 1 import foo.async ^ SyntaxError: invalid syntax >>> ``` Paul -- :wq
Bug#903218: Fails to install due to SyntaxError
Package: python3-opengl Severity: serious thanks ``` Setting up python3-opengl (3.1.0+dfsg-1) ... File "/usr/lib/python3/dist-packages/OpenGL/GL/SGIX/async.py", line 58 from OpenGL.raw.GL.SGIX.async import * ^ SyntaxError: invalid syntax ``` This is serious because it's preventing install: ``` $ sudo apt install -f Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. sh: 0: getcwd() failed: No such file or directory sh: 0: getcwd() failed: No such file or directory sh: 0: getcwd() failed: No such file or directory Setting up python3-opengl (3.1.0+dfsg-1) ... File "/usr/lib/python3/dist-packages/OpenGL/GL/SGIX/async.py", line 58 from OpenGL.raw.GL.SGIX.async import * ^ SyntaxError: invalid syntax dpkg: error processing package python3-opengl (--configure): installed python3-opengl package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: python3-opengl E: Sub-process /usr/bin/dpkg returned an error code (1) ``` I think new Python 3 (3.6.6) is trying to parse that as the `async` keyword. I have no idea why, since I can't seem to make Python trivially emit the syntax error rather than a module import error. Paul -- :wq