#1148190 cherrypy-foundation: FTBFS: E AssertionError: 'HE' != 'heure : Canada (Toronto)'

#1148190#5
Date:
2026-09-17 23:43:53 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202609/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:cherrypy-foundation, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
             self.assertEqual('ET', i18n.get_timezone_name('America/Toronto', width='short'))
             self.assertEqual('Eastern Time', i18n.get_timezone_name('America/Toronto', width='long'))
         with i18n.preferred_lang('fr'):
             self.assertEqual('heure de l’Est nord-américain', i18n.get_timezone_name('America/Toronto'))
cherrypy_foundation/tools/tests/test_i18n.py:200: AssertionError
=============================== warnings summary ===============================
../../../../../../usr/lib/python3/dist-packages/ldap3/utils/asn1.py:50
   /usr/lib/python3/dist-packages/ldap3/utils/asn1.py:50: DeprecationWarning: tagMap is deprecated. Please use TAG_MAP instead.
     from pyasn1.codec.ber.encoder import tagMap, typeMap, AbstractItemEncoder

../../../../../../usr/lib/python3/dist-packages/ldap3/utils/asn1.py:50
   /usr/lib/python3/dist-packages/ldap3/utils/asn1.py:50: DeprecationWarning: typeMap is deprecated. Please use TYPE_MAP instead.
     from pyasn1.codec.ber.encoder import tagMap, typeMap, AbstractItemEncoder

#1148190#10
Date:
2026-09-18 16:06:56 UTC
From:
To:
Hello Santiago,

This look like an issue with python-babel-localedata and CLDR which no
longer provide "short" name for time zone in French, but only for French
Canada.

I will update the unit test and release a new version.

Is that correct for you ?
-- 
Patrik Dufresne
IKUS Software
https://www.ikus-soft.com/
514-971-6442
St-Colomban, QC J5K 1T9

#1148190#15
Date:
2026-10-01 14:57:12 UTC
From:
To:
user debian-python@lists.debian.org
usertags 1148190 python3.15
thanks

Hi!

While rebuilding the python related packages against the Python 3.15
version we ran into this FTBFS:
https://debusine.debian.net/debian/r-python-python3.15/artifact/4856099/

The proposed solution makes sense to me, if the short name was dropped
it makes sense to stop testing for it.

Please consider making the upload soon to avoid having a package that
fails to build in the archive.

#1148190#20
Date:
2026-10-01 15:49:43 UTC
From:
To:
A fix is on it's way.

The change is available upstream.

Thanks
-- 
Patrik Dufresne
IKUS Software
https://www.ikus-soft.com/
514-971-6442
St-Colomban, QC J5K 1T9