Source: python3-freezegun Version: 1.5.1-1.2 Severity: wishlist Tags: ftbfs patch User: reproducible-bui...@lists.alioth.debian.org Usertags: timestamps ftbfs
Dear Maintainer, I'm an occasional volunteer contributor to the Reproducible Builds[1] project, and noticed recently that the freezegun package is failing to build during automated reproducibility variance testing[2]. >From investigating the failures, I believe that the problem is due to problems in the upstream test suite when run for timezones with a positive non-zero offset from UTC (e.g. West of the Prime Meridian). This can be demonstrated by attempting to run affected test cases in one of those timezones: $ TZ='UTC+1' pytest tests/test_datetimes.py -k hello .. $ TZ='UTC+00:01' pytest tests/test_datetimes.py -k hello .. $ TZ='America/New_York' pytest tests/test_datetimes.py -k hello .. Any of these fail with: "AssertionError: assert '2013-04-08' == '2013-04-09'" As a workaround: I believe that exporting 'TZ=UTC' during the autopkgtest part of the package build would allow the Reproducible Build variance testing to proceed. It's not clear to me whether there is an individual bugreport upstream to track to know when the upstream testsuite problem is resolved; however one that seems fairly close is: https://github.com/spulec/freezegun/issues/513 Regards, James [1] - https://reproducible-builds.org/ [2] - https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/freezegun.html