← Back to team overview

touch-packages team mailing list archive

[Bug 1327325] Re: phablet-test-run will fail if the python3 import prints something to std

 

** Changed in: address-book-app (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to address-book-app in
Ubuntu.
https://bugs.launchpad.net/bugs/1327325

Title:
  phablet-test-run will fail if the python3 import prints something to
  std

Status in address-book-app package in Ubuntu:
  Fix Released
Status in phablet-tools package in Ubuntu:
  Fix Released
Status in ubuntu-system-settings package in Ubuntu:
  Fix Released

Bug description:
  Currently, phablet-test-run tries to import the tests using python3
  and if it fails, it falls back to py2.

  The problem is that the check for py3 checks any output returned by
  the command. So even if it's not an import error, it will think that
  py3 failed.

  This is affecting the address-book-app, which started logging a
  deprecation warning. The warning comes from the toolkit, so this might
  affect many other apps soon.

  It would be better if instead of just checking the output, phablet-
  test-run checks if "ImportError" appears on the output.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/address-book-app/+bug/1327325/+subscriptions