Skip to content

aexpect is not compatible with python2 #72

@xiaodwan

Description

@xiaodwan

This cause travis CI failure or warning in python2.7.

Some features (e.g. v2v) depend on latest aexpect, if aexpect is less than 1.6.1, the pylink may reports errors like,

$ inspekt checkall --disable-lint W,R,C,E1002,E1101,E1103,E1120,F0401,I0011,E1003,W605 --disable-style W605,W606,E501,E265,W601,E402,E722,E741 --exclude avocado-libs,scripts/github --no-license-check

PEP8 disabled: W605,W606,E501,E265,W601,E402,E722,E741

Pylint disabled: W,R,C,E1002,E1101,E1103,E1120,F0401,I0011,E1003,W605

Pylint enabled : W0611

License check: disabled

************* Module avocado-vt.virttest.remote

E1123:132,11: wait_for_ssh_login_to_migrate: Unexpected keyword argument 'preferred_authenticaton' in function call

If bump to latest 1.6.1, the travis ci will report SyntaxError, like,
avocado-framework/avocado-vt#2811 (comment)

so it's better to fix aexpect to compatible with python2.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions