[Python-modules-team] Bug#802122: python-tzlocal: FTBFS with multiple system timezones(?)

Chris West (Faux) solo-debianbugs at goeswhere.com
Sat Oct 17 16:18:25 UTC 2015


Source: python-tzlocal
Version: 1.2-1
Severity: serious
Justification: fails to build from source
Tags: sid stretch
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-CC: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

The package fails to build for me, or for reproducible jenkins.

My machine is set to UTC (like all sensible machines), and its failure
log is below.  reproducible jenkins tries GMT+12 first:

https://reproducible.debian.net/rb-pkg/unstable/amd64/python-tzlocal.html

In both cases, the package fails almost alll of its tests.

My build:

running build_ext
test_env (tzlocal.tests.TzLocalTests) ... ok
test_only_localtime (tzlocal.tests.TzLocalTests) ... FAIL
test_symlink_localtime (tzlocal.tests.TzLocalTests) ... FAIL
test_timezone (tzlocal.tests.TzLocalTests) ... FAIL
test_timezone_setting (tzlocal.tests.TzLocalTests) ... FAIL
test_zone_setting (tzlocal.tests.TzLocalTests) ... FAIL

======================================================================
FAIL: test_only_localtime (tzlocal.tests.TzLocalTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/python-tzlocal-1.2/tzlocal/tests.py", line 57, in test_only_localtime
    self.assertEqual(tz.zone, 'local')
AssertionError: 'UTC' != 'local'

======================================================================
FAIL: test_symlink_localtime (tzlocal.tests.TzLocalTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/python-tzlocal-1.2/tzlocal/tests.py", line 52, in test_symlink_localtime
    self.assertEqual(tz.zone, 'Africa/Harare')
AssertionError: 'UTC' != 'Africa/Harare'

======================================================================
FAIL: test_timezone (tzlocal.tests.TzLocalTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/python-tzlocal-1.2/tzlocal/tests.py", line 34, in test_timezone
    self.assertEqual(tz.zone, 'Africa/Harare')
AssertionError: 'UTC' != 'Africa/Harare'

======================================================================
FAIL: test_timezone_setting (tzlocal.tests.TzLocalTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/python-tzlocal-1.2/tzlocal/tests.py", line 46, in test_timezone_setting
    self.assertEqual(tz.zone, 'Africa/Harare')
AssertionError: 'UTC' != 'Africa/Harare'

======================================================================
FAIL: test_zone_setting (tzlocal.tests.TzLocalTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/python-tzlocal-1.2/tzlocal/tests.py", line 40, in test_zone_setting
    self.assertEqual(tz.zone, 'Africa/Harare')
AssertionError: 'UTC' != 'Africa/Harare'

----------------------------------------------------------------------
Ran 6 tests in 0.001s

FAILED (failures=5)

-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)



More information about the Python-modules-team mailing list