Package: apt-transport-s3
Version: 2.2.1-1
Severity: normal
Dear Maintainer,
when running "apt-get update" after installing apt-transport-s3 and
configuring an S3 based repository, I see the following warning:
/usr/lib/apt/methods/s3:317: DeprecationWarning: datetime.datetime.utcnow() is
deprecated and scheduled for removal in a future version. Use timezone-aware
objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
amzdate = datetime.datetime.utcnow().strftime('%Y%m%dT%H%M%SZ')
In order to avoid breaking the package when Python is updated, this should be
fixed.
Best regards,
Dirk Heinrichs
-- System Information:
Debian Release: 13.6
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.95+deb13-cloud-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to de_DE.UTF-8), LANGUAGE=de
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages apt-transport-s3 depends on:
ii apt 3.0.3
ii python3 3.13.5-1
ii python3-configobj 5.0.9-1
apt-transport-s3 recommends no packages.
apt-transport-s3 suggests no packages.
-- no debconf information