🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #2483

Bug#1152361: python3-dateutil depends on tzdata in python package metadata

#2483
From: Oliver Smith
Date: Wed, 28 Oct 2026 14:50
43 lines
4091 bytes
Package: python-dateutil
Version: 3.0.0-2

The debian package python3-dateutil recently was changed to depend on
the debian package tzdata, and not on the python tzdata anymore. This
makes sense to avoid duplication (python-dateutil will use the system
tzdata if the python tzdata is not available).

However when trying to install debian's python-dateutil inside a venv,
the dependency on python tzdata is still in the metadata and it leads to
tzdata getting downloaded and used instead of the system variant. This
is inconsistent and can lead to problems when attempting to install into
the venv without network access.

Reproducer:
> $ podman run --rm -it debian:unstable bash
> # apt update
> # apt install python3-pip python3-dateutil python3-venv
> # python3 -m venv --system-site-packages venv
> # source venv/bin/activate
> (venv) root@ac45f3a664a3:/# pip install python-dateutil
> Requirement already satisfied: python-dateutil in ./usr/lib/python3/dist-packages (3.0.0)
> Collecting tzdata (from python-dateutil)
>   Downloading tzdata-2026.6-py2.py3-none-any.whl.metadata (1.4 kB)
> Downloading tzdata-2026.6-py2.py3-none-any.whl (348 kB)
> Installing collected packages: tzdata
> Successfully installed tzdata-2026.6

Could somebody make it so that it doesn't attempt to download tzdata in
that scenario by removing the python tzdata dependency from the python
metadata?

Best regards,
Oliver

-- 
- Oliver Smith <osmith@sysmocom.de>            https://www.sysmocom.de/
=======================================================================
* sysmocom - systems for mobile communications GmbH
* Siemensstr. 26a
* 10551 Berlin, Germany
* Sitz / Registered office: Berlin, HRB 134158 B
* Geschaeftsfuehrer / Managing Director: Harald Welte
Technical Details
Message-ID: <NTd8u-8rm7-5@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod
From: Oliver Smith <osmith@sysmocom.de>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1152361: python3-dateutil depends on tzdata in python package metadata
Date: Wed, 28 Oct 2026 15:50:02 +0100
Message-ID: <NTd8u-8rm7-5@gated-at.bofh.it>
X-Original-To: submit@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Wed Oct 28 14:43:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.65
Reply-To: Oliver Smith <osmith@sysmocom.de>, 1152361@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: team+python@tracker.debian.org
X-Debian-Pr-Message: report 1152361
X-Debian-Pr-Package: python-dateutil
X-Debian-Pr-Source: python-dateutil
MIME-Version: 1.0
Content-Language: en-US
Autocrypt: addr=osmith@sysmocom.de; keydata=
 xjMEXqaMvBYJKwYBBAHaRw8BAQdAKlLfpb/UKvlUjGFwzzkDBT1fXdlqg+MaEG2+hTXDYUrN
 IU9saXZlciBTbWl0aCA8b3NtaXRoQHN5c21vY29tLmRlPsKWBBMWCAA+AhsDBQsJCAcCBhUK
 CQgLAgQWAgMBAh4BAheAFiEECfuANpg5IsWyQFcH6+DRJFm2BMUFAmDG9VIFCRTsa5YACgkQ
 6+DRJFm2BMUJ0wD+L0gpHABtBfkNQ7i0/qtMs5thoqt2yldxao6q31BBLAAA/iXUDIEYjQ0L
 wsZRtiSdXNjbBfdT9boLdh4CY+TKwuYPzjgEXqaMvBIKKwYBBAGXVQEFAQEHQPGmG2/uQrDy
 xalQoBnT1zdIbeg/xWLjl1AnOYGITnpEAwEIB8J4BBgWCAAgFiEECfuANpg5IsWyQFcH6+DR
 JFm2BMUFAl6mjLwCGwwACgkQ6+DRJFm2BMXSRgD/f8twzpyQfpE+viVjtlOxsq0HCavXZqbW
 VvIuvbyfSWQBAJhEIFF/fxmksu9r3FzixNQMOLc3EJgSwqvEYA28Db8O
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Greylist: delayed 354 seconds by postgrey-1.37 at buxtehude; Wed, 28 Oct 2026 14:40:13 UTC
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1999374
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 43
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Wed, 28 Oct 2026 15:34:10 +0100
X-Original-Message-ID: <c1f23a11-682e-4c3f-a55c-60b54fb675df@sysmocom.de>