← Back to team overview

cloud-init-dev team mailing list archive

[Merge] ~smoser/cloud-init:fix/tox-xenial-3.5 into cloud-init:master

 

The proposal to merge ~smoser/cloud-init:fix/tox-xenial-3.5 into cloud-init:master has been updated.

Commit Message changed to:

tox: set xenial environment to be python 3.5.

The pinned versions of python packages in xenial do not work with
python3.6.  Currently, the failure can be seen with:
 $ tox -e xenial tests/unittests/test_merging.py
which ends up failing with in /usr/lib/python3.6/inspect.py with:
  ValueError: Function has keyword-only parameters or annotations, use
  getfullargspec() API which can support them

The fact is that we have the 'xenial' tox environment to be able to mimic
what would happen in a Ubuntu 16.04 build environment.  So it makes sense
to use the python version that is in 16.04 as well.  It is just
unfortunate that now to run that env you would need both python3.5 and
python3.6 installed.

For more details, see:
https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/329926
-- 
Your team cloud-init commiters is requested to review the proposed merge of ~smoser/cloud-init:fix/tox-xenial-3.5 into cloud-init:master.


References