----- Original Message -----
> From: "aconway" <acon...@redhat.com>
> To: "proton" <proton@qpid.apache.org>
> Sent: Friday, July 10, 2015 10:01:14 AM
> Subject: New python tox tests failing on fedora 22, Python 2.7.10/3.4.2
> 
> Anyone seeing errors like this? I think the ERROR: InterpreterNotFound
> should be a warning, it seems to be testing both 2.7 and 3.4 so not
> finding 2.6 and 3.3 doesn't seem like an ERROR.
> 


InterpreterNotFound should be a warning.  The ctest parser will ignore those, 
so they don't show up as an error.  I'm not sure if tox gives us a way to 
suppress those (will check).


> The "missing attribute" is defined as a @staticmethod so I don't
> understand that.
>

Yeah me either - I'm not hitting that on latest trunk under python3.4.

 
> The 3 argument raise is definitely gone in python 3 so I don't
> understand why its still there or what is the portable way to replace
> it.


There isn't a alternative in py3.  I've written a "raise_" method that 
simulates the same behavior in both py2 and py3 - take a look in 
proton-c/bindings/python/proton/_compat.py



> 
> Cheers,
> Alan.
> 
> 1/1 Test #3: python-tox-test ..................***Failed  Error regular
> expression found in output. Regex=[ERROR:[ ]+py[0-9]*: commands failed]
> 28.49 sec
> GLOB sdist-make: /home/aconway/proton/proton-c/bindings/python/setup.py
> py26 create: /home/aconway/proton/proton-c/bindings/python/.tox/py26
> ERROR: InterpreterNotFound: python2.6
> py27 inst-nodeps: /home/aconway/proton/proton
> -c/bindings/python/.tox/dist/python-qpid-proton-0.10.0.zip
> py27 runtests: PYTHONHASHSEED='147840795'
> py27 runtests: commands[0] | /home/aconway/proton/proton
> -c/bindings/python/../../../tests/python/proton-test
> Traceback (most recent call last):
>   File "/home/aconway/proton/proton
> -c/bindings/python/../../../tests/python/proton-test", line 620, in
> <module>
>     m = __import__(name, None, None, ["dummy"])
>   File "/home/aconway/proton/tests/python/proton_tests/__init__.py",
> line 20, in <module>
>     import proton_tests.codec
>   File "/home/aconway/proton/tests/python/proton_tests/codec.py", line
> 21, in <module>
>     from . import common
>   File "/home/aconway/proton/tests/python/proton_tests/common.py", line
> 133, in <module>
>     if SASL.extended():
> AttributeError: type object 'SASL' has no attribute 'extended'
> ERROR: InvocationError: '/home/aconway/proton/proton
> -c/bindings/python/../../../tests/python/proton-test'
> py33 create: /home/aconway/proton/proton-c/bindings/python/.tox/py33
> ERROR: InterpreterNotFound: python3.3
> py34 inst-nodeps: /home/aconway/proton/proton
> -c/bindings/python/.tox/dist/python-qpid-proton-0.10.0.zip
> py34 runtests: PYTHONHASHSEED='147840795'
> py34 runtests: commands[0] | /home/aconway/proton/proton
> -c/bindings/python/../../../tests/python/proton-test
> Traceback (most recent call last):
>   File "/home/aconway/proton/proton
> -c/bindings/python/../../../tests/python/proton-test", line 620, in
> <module>
>     m = __import__(name, None, None, ["dummy"])
>   File "/home/aconway/proton/tests/python/proton_tests/__init__.py",
> line 20, in <module>
>     import proton_tests.codec
>   File "/home/aconway/proton/tests/python/proton_tests/codec.py", line
> 21, in <module>
>     from . import common
>   File "/home/aconway/proton/tests/python/proton_tests/common.py", line
> 26, in <module>
>     from proton import Connection, Transport, SASL, Endpoint, Delivery,
> SSL
>   File "/usr/local/lib64/proton/bindings/python/proton/__init__.py",
> line 3733
>     raise exc, val, tb
>              ^
> SyntaxError: invalid syntax
> ERROR: InvocationError: '/home/aconway/proton/proton
> -c/bindings/python/../../../tests/python/proton-test'
> _______________________________________________ summary
> _______________________________________________
> ERROR:   py26: InterpreterNotFound: python2.6
> ERROR:   py27: commands failed
> ERROR:   py33: InterpreterNotFound: python3.3
> ERROR:   py34: commands failed
> 

-- 
-K

Reply via email to