[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Question about reproducibility tests timezone format



I maintain pyinstaller-hooks-contrib, which includes a test (run during build 
and in autopkgtests) that parses the system timezone.  This test currently 
fails Salsa CI reprotest and other reproducibility tests because they modify 
the timezone in the build environment using syntax like GMT+12 instead of the 
Continent/City syntax.

zoneinfo._common.ZoneInfoNotFoundError: 'tzlocal() does not support non-
zoneinfo timezones like GMT+12. \nPlease use a timezone in the form of 
Continent/City’

https://salsa.debian.org/python-team/packages/pyinstaller-hooks-contrib/-/
jobs/8382666#L6097

I can see the wisdom in having reproducibility tests check to make sure that 
packages build correctly in different timezones.  My question is:  do we gain 
anything by using the GMT+12 syntax, or could we achieve the same results by 
varying the timezone using the Continent/City format?

-- 
Soren Stoutner
soren@debian.org

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: