You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2016/04/18 12:25:02 UTC

[03/12] libcloud git commit: Actually spell out using both builtin xml and lxml

Actually spell out using both builtin xml and lxml

Avoids my premature optimisation of assuming it worked for Python 2.x, as I find "FAILED (failures=1, errors=52, skipped=14)" under Python 2.7

Not actually tested against pypy (pypypy? or pypypy3?)

Looks like a design decision about whether lxml should be:
a) officially supported
b) dropped entirely
c) replaced with alternatives like defusedxml
will be required, unless someone can suggest a workaround.

(libcloud) pzrq@Peters-Mac-mini:~/Projects/libcloud$ tox
GLOB sdist-make: /Users/pzrq/Projects/libcloud/setup.py
py2.5 create: /Users/pzrq/Projects/libcloud/.tox/py2.5
ERROR: InterpreterNotFound: python2.5
py2.6 inst-nodeps: /Users/pzrq/Projects/libcloud/.tox/dist/apache-libcloud-1.0.0rc2.zip
py2.6 installed: DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6,apache-libcloud==1.0.0rc2,argparse==1.4.0,backports.ssl-match-hostname==3.5.0.1,ecdsa==0.13,flake8==2.5.4,linecache2==1.0.0,lockfile==0.12.2,mccabe==0.4.0,mock==1.0.1,paramiko==1.16.0,pep8==1.7.0,pycrypto==2.6.1,pyflakes==1.0.0,six==1.10.0,traceback2==1.4.0,unittest2==1.1.0
py2.6 runtests: PYTHONHASHSEED='1836126779'
py2.6 runtests: commands[0] | cp libcloud/test/secrets.py-dist libcloud/test/secrets.py
py2.6 runtests: commands[1] | python setup.py test
...
----------------------------------------------------------------------
Ran 5442 tests in 65.366s

OK
py2.7 runtests: commands[1] | python setup.py test
...
----------------------------------------------------------------------
Ran 5442 tests in 39.533s

OK
pypypy create: /Users/pzrq/Projects/libcloud/.tox/pypypy
ERROR: InterpreterNotFound: pypy
pypypy3 create: /Users/pzrq/Projects/libcloud/.tox/pypypy3
ERROR: InterpreterNotFound: pypy3
py3.2 create: /Users/pzrq/Projects/libcloud/.tox/py3.2
ERROR: InterpreterNotFound: python3.2
py3.3 create: /Users/pzrq/Projects/libcloud/.tox/py3.3
ERROR: InterpreterNotFound: python3.3
...
py3.4 runtests: commands[1] | python setup.py test
...
----------------------------------------------------------------------
Ran 5442 tests in 27.719s

OK (skipped=14)
py3.5 runtests: commands[1] | python setup.py test
...
----------------------------------------------------------------------
Ran 5442 tests in 27.423s

OK (skipped=14)
py2.5-lxml create: /Users/pzrq/Projects/libcloud/.tox/py2.5-lxml
ERROR: InterpreterNotFound: python2.5
...
py2.6-lxml runtests: commands[1] | python setup.py test
/Users/pzrq/Projects/libcloud/.tox/py2.6-lxml/lib/python2.6/site-packages/setuptools/dist.py:285: UserWarning: Normalizing '1.0.0-rc2' to '1.0.0rc2'
  normalized_version,
running test
Python version: 2.6.9 (unknown, Oct 23 2015, 19:19:20)
[GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.59.5)]
Missing "unittest2" library. unittest2 is library is needed to run the tests. You can install it using pip: pip install unittest2
ERROR: InvocationError: '/Users/pzrq/Projects/libcloud/.tox/py2.6-lxml/bin/python setup.py test'
...
py2.7-lxml runtests: commands[1] | python setup.py test
...
----------------------------------------------------------------------
Ran 5424 tests in 27.047s

FAILED (failures=1, errors=52, skipped=14)
ERROR: InvocationError: '/Users/pzrq/Projects/libcloud/.tox/py2.7-lxml/bin/python setup.py test'
pypypy-lxml create: /Users/pzrq/Projects/libcloud/.tox/pypypy-lxml
ERROR: InterpreterNotFound: pypy
pypypy3-lxml create: /Users/pzrq/Projects/libcloud/.tox/pypypy3-lxml
ERROR: InterpreterNotFound: pypy3
py3.2-lxml create: /Users/pzrq/Projects/libcloud/.tox/py3.2-lxml
ERROR: InterpreterNotFound: python3.2
py3.3-lxml create: /Users/pzrq/Projects/libcloud/.tox/py3.3-lxml
ERROR: InterpreterNotFound: python3.3
...
py3.4-lxml runtests: commands[1] | python setup.py test
...
----------------------------------------------------------------------
Ran 5424 tests in 23.300s

FAILED (failures=4, errors=595, skipped=14)
ERROR: InvocationError: '/Users/pzrq/Projects/libcloud/.tox/py3.4-lxml/bin/python setup.py test'
...
py3.5-lxml runtests: commands[1] | python setup.py test
...
----------------------------------------------------------------------
Ran 5424 tests in 23.433s

FAILED (failures=4, errors=595, skipped=14)
ERROR: InvocationError: '/Users/pzrq/Projects/libcloud/.tox/py3.5-lxml/bin/python setup.py test'
...
___________________________________ summary ____________________________________
ERROR:   py2.5: InterpreterNotFound: python2.5
  py2.6: commands succeeded
  py2.7: commands succeeded
ERROR:   pypypy: InterpreterNotFound: pypy
ERROR:   pypypy3: InterpreterNotFound: pypy3
ERROR:   py3.2: InterpreterNotFound: python3.2
ERROR:   py3.3: InterpreterNotFound: python3.3
  py3.4: commands succeeded
  py3.5: commands succeeded
ERROR:   py2.5-lxml: InterpreterNotFound: python2.5
ERROR:   py2.6-lxml: commands failed
ERROR:   py2.7-lxml: commands failed
ERROR:   pypypy-lxml: InterpreterNotFound: pypy
ERROR:   pypypy3-lxml: InterpreterNotFound: pypy3
ERROR:   py3.2-lxml: InterpreterNotFound: python3.2
ERROR:   py3.3-lxml: InterpreterNotFound: python3.3
ERROR:   py3.4-lxml: commands failed
ERROR:   py3.5-lxml: commands failed
  lint: commands succeeded
(libcloud) pzrq@Peters-Mac-mini:~/Projects/libcloud$


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/81c7035a
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/81c7035a
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/81c7035a

Branch: refs/heads/trunk
Commit: 81c7035a7af969221b42579971b4d87de4626a12
Parents: 8143e79
Author: Peter Schmidt <pe...@peterjs.com>
Authored: Mon Apr 18 17:00:53 2016 +1000
Committer: Peter Schmidt <pe...@peterjs.com>
Committed: Mon Apr 18 17:26:43 2016 +1000

----------------------------------------------------------------------
 tox.ini | 29 ++++++++++++++++++++++++++++-
 1 file changed, 28 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/81c7035a/tox.ini
----------------------------------------------------------------------
diff --git a/tox.ini b/tox.ini
index 12de851..fa48127 100644
--- a/tox.ini
+++ b/tox.ini
@@ -21,7 +21,34 @@ basepython =
     py3.5: python3.5
 whitelist_externals = cp
 
-[testenv:py{2.5,2.6,2.7,pypy,pypy3,3.2,3.3,3.4,3.5}-lxml]
+# Explicitly spell out all environments to test with builtin xml and lxml,
+# as it seems I can't use the following:
+# [testenv:py{2.5,2.6,2.7,pypy,pypy3,3.2,3.3,3.4,3.5}-lxml]
+[testenv:py2.5-lxml]
+deps = -r{toxinidir}/requirements-tests.txt
+       lxml
+[testenv:py2.6-lxml]
+deps = -r{toxinidir}/requirements-tests.txt
+       lxml
+[testenv:py2.7-lxml]
+deps = -r{toxinidir}/requirements-tests.txt
+       lxml
+[testenv:pypypy-lxml]
+deps = -r{toxinidir}/requirements-tests.txt
+       lxml
+[testenv:pypypy3-lxml]
+deps = -r{toxinidir}/requirements-tests.txt
+       lxml
+[testenv:py3.2-lxml]
+deps = -r{toxinidir}/requirements-tests.txt
+       lxml
+[testenv:py3.3-lxml]
+deps = -r{toxinidir}/requirements-tests.txt
+       lxml
+[testenv:py3.4-lxml]
+deps = -r{toxinidir}/requirements-tests.txt
+       lxml
+[testenv:py3.5-lxml]
 deps = -r{toxinidir}/requirements-tests.txt
        lxml