[Python-modules-team] Bug#825727: python-babel: FTBFS: assert 'GMT+00:00' == 'GMT-01:59'

Santiago Vila sanvila at unex.es
Sun Dec 11 23:16:45 UTC 2016


severity 825727 important
tags 825727 + patch
thanks

When I have Etc/UTC as the timezone, as autobuilders do,
the failure does not happen. If I use GMT+1, the failure happens.

I guess this makes the bug not to be RC after all, not because
it simply "does not usually happen" in the official autobuilders
(which, for FTBFS that happen randomly may just be a matter of luck),
but because it may *never* happen.

In either case, I believe the following trivial patch should fix the
problem in every case. Could anybody please try it?

Thanks.

--- a/debian/rules
+++ b/debian/rules
@@ -64,6 +64,6 @@ get-orig-source:
 
 override_dh_auto_test:
 ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
-	LC_ALL=C py.test
-	LC_ALL=C py.test-3
+	LC_ALL=C TZ=Etc/UTC py.test
+	LC_ALL=C TZ=Etc/UTC py.test-3
 endif



More information about the Python-modules-team mailing list