[Bug 1272381] Re: test failures with python 3.4

Launchpad Bug Tracker 1272381 at bugs.launchpad.net
Thu Feb 6 00:07:43 UTC 2014


** Branch linked: lp:~brian-murray/unattended-upgrades/lp1272381

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to unattended-upgrades in Ubuntu.
https://bugs.launchpad.net/bugs/1272381

Title:
  test failures with python 3.4

Status in “unattended-upgrades” package in Ubuntu:
  In Progress

Bug description:
  With python3.4 as the default, unattended-upgrades has several test
  failures:

    http://people.canonical.com/~pitti/tmp/autopkgtest-py34/fail/py34
  -unattended-upgrades/results/

   ======================================================================
  ERROR: test_mail_quoted_printable (__main__.SendmailAndMailxTestCase)
  Regression test for debian bug #700178
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "./test_mail.py", line 151, in test_mail_quoted_printable
      send_summary_mail(*self._return_mock_data())
    File "/tmp/adt-run.KYI3Ji/dsc0-build/unattended-upgrades-0.81/test/unattended_upgrade.py", line 740, in send_summary_mail
      ret = _send_mail_using_sendmail(to_email, subject, body)
    File "/tmp/adt-run.KYI3Ji/dsc0-build/unattended-upgrades-0.81/test/unattended_upgrade.py", line 674, in _send_mail_using_sendmail
      msg.set_payload(body)
    File "/usr/lib/python3.4/email/message.py", line 311, in set_payload
      " payload") from None
  TypeError: charset argument must be specified when non-ASCII characters are used in the payload

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1272381/+subscriptions



More information about the foundations-bugs mailing list