[Pkg-mailman-hackers] Bug#1122111: django-mailman3: please drop the unused build- & runtime- dependency on python3-tz

Alexandre Detiste alexandre.detiste at gmail.com
Sun Dec 7 14:11:25 GMT 2025


Source: django-mailman3
Version: 1.3.15-2
Severity: normal

Dear maintainers,

django-mailman3 has moved away from "pytz" and is now using the built-in "zoneinfo" module.

Please drop the old extraneous python3-tz build & runtime dependency from d/control.

Greetings

Alexandre




/tmp/django-mailman3$ grep pytz -r

/tmp/django-mailman3$ grep zoneinfo -r
django_mailman3/models.py:import zoneinfo
django_mailman3/models.py:TIMEZONES = sorted([(tz, tz) for tz in zoneinfo.available_timezones()])
django_mailman3/migrations/0001_initial.py:import zoneinfo
django_mailman3/migrations/0001_initial.py:TIMEZONES = sorted([(tz, tz) for tz in zoneinfo.available_timezones()])

/tmp/django-mailman3$ grep tz -r debian/
debian/control:               python3-tz,
debian/control:         python3-tz,
debian/changelog:    + Add a patch to handle timezone quirks due to tzdata changes
debian/changelog:    - Build-depend on python-tz, required for build-time tests
/tmp/django-mailman3$



More information about the Pkg-mailman-hackers mailing list