[OpenIndiana-discuss] python/nose build errors

Gabriele Bulfon gbulfon at sonicle.com
Wed Apr 27 15:53:27 UTC 2022


Hi, building the python/nose component (1.3.7) I get syntax errors while "byte-compiling" some py source, only when working on 3.7 and 3.9.
Errors like:
 
  File "/usr/lib/python3.9/vendor-packages/nose/ext/dtcompat.py", line 344
    raise TypeError, 'Expected a module: %r' % module
                   ^
SyntaxError: invalid syntax
 
As if the byte compiler is not 3.7 or 3.9, but the running build is:

/usr/bin/python3.9 ./setup.py install  --root /data/sources/sonicle/xstream-userland-gate/components/python/nose/build/prototype/i386  --install-lib=/usr/lib/python3.9/vendor-packages --install-purelib=/usr/lib/python3.9/vendor-packages --install-platlib=/usr/lib/python3.9/vendor-packages --install-data=/usr/lib/python3.9/vendor-packages --force
 
so it is run through 3.9...
 
Any idea?
Gabriele
 
 
Sonicle S.r.l. : http://www.sonicle.com
Music: http://www.gabrielebulfon.com
eXoplanets : https://gabrielebulfon.bandcamp.com/album/exoplanets
 



More information about the openindiana-discuss mailing list