Package: installation-birthday
Version: 16
Severity: normal
Not sure what caused this warning to appear (new version of Python in
unstable?), but right now the cronjob spews out the following every time it
runs:
/usr/bin/installation-birthday:34: SyntaxWarning: invalid escape sequence
'\/'
TEMPLATE = """
/usr/bin/installation-birthday:67: 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).
now = datetime.datetime.utcnow()
/usr/bin/installation-birthday:216: DeprecationWarning:
datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in
a future version. Use timezone-aware objects to represent datetimes in UTC:
datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
dt = datetime.datetime.utcfromtimestamp(os.stat(x).st_mtime)
Francois
-- System Information:
Debian Release: trixie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.8.12-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages installation-birthday depends on:
ii e2fsprogs 1.47.1-1
ii python3 3.12.2-1
ii python3-distro 1.9.0-1
installation-birthday recommends no packages.
installation-birthday suggests no packages.
-- no debconf information