Source: python-tz Version: 2016.7-0.2 Severity: serious Justification: fails to build from source User: reproducible-bui...@lists.alioth.debian.org Usertags: ftbfs X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
Dear Maintainer, python-tz fails to build from source in unstable/amd64: […] tzname, str(utc_dt), dt.tzname() E AssertionError: Expected WSDT as tzname for 2011-12-30 11:00:00+00:00. Got +14 _____________ SamoaInternationalDateLineChange.testTwoHoursBefore ______________ self = <test_tzinfo.SamoaInternationalDateLineChange testMethod=testTwoHoursBefore> def testTwoHoursBefore(self): self._test_all( > self.transition_time - timedelta(hours=2), self.before ) pytz/tests/test_tzinfo.py:302: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pytz/tests/test_tzinfo.py:292: in _test_all self._test_tzname(utc_dt, wanted) pytz/tests/test_tzinfo.py:241: in _test_tzname tzname, str(utc_dt), dt.tzname() E AssertionError: Expected SDT as tzname for 2011-12-30 08:00:00+00:00. Got -10 __________________________ LocalTestCase.testLocalize __________________________ self = <test_tzinfo.LocalTestCase testMethod=testLocalize> def testLocalize(self): loc_tz = pytz.timezone('Europe/Amsterdam') loc_time = loc_tz.localize(datetime(1930, 5, 10, 0, 0, 0)) # Actually +00:19:32, but Python datetime rounds this self.assertEqual(loc_time.strftime('%Z%z'), 'AMT+0020') loc_time = loc_tz.localize(datetime(1930, 5, 20, 0, 0, 0)) # Actually +00:19:32, but Python datetime rounds this self.assertEqual(loc_time.strftime('%Z%z'), 'NST+0120') loc_time = loc_tz.localize(datetime(1940, 5, 10, 0, 0, 0)) > self.assertEqual(loc_time.strftime('%Z%z'), 'NET+0020') E AssertionError: '+0020+0020' != 'NET+0020' pytz/tests/test_tzinfo.py:614: AssertionError ==================== 38 failed, 196 passed in 2.54 seconds ===================== E: pybuild pybuild:283: test: plugin distutils failed with: exit code=1: cd «BUILDDIR»/.pybuild/pythonX.Y_2.7/build; python2.7 -m pytest dh_auto_test: pybuild --test --test-pytest -i python{version} -p 2.7 --before-test= cp «BUILDDIR»/README.txt {build_dir}; cp -r /home/lamby/temp/cdt.20170318181551.yfmWAMyfvQ.db.python-tz/python-tz-2016.7/pytz/tests {build_dir}/pytz/ --after-test=rm -rf {build_dir}/README.txt {build_dir}/pytz/tests returned exit code 13 debian/rules:9: recipe for target 'override_dh_auto_test' failed make[1]: *** [override_dh_auto_test] Error 25 make[1]: Leaving directory '«BUILDDIR»' debian/rules:6: recipe for target 'build' failed make: *** [build] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 […] The full build log is attached. Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
python-tz.2016.7-0.2.unstable.amd64.log.txt.gz
Description: Binary data