Package: python3-pytest-benchmark
Version: 4.0.0-3
Severity: normal
Control: forwarded -1 https://github.com/ionelmc/pytest-benchmark/issues/240
pytest_benchmark emits a warning to stderr
/usr/lib/python3/dist-packages/pytest_benchmark/utils.py:201:
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).
return datetime.utcnow().strftime("%Y%m%d_%H%M%S")
Since the error goes to stderr, it causes other packages to fail
autopkgtest (debci), unless they reconfigure with "allow-stderr".
It's better to not need to set that.
The problem was reported and fixed upstream by MR#253
https://github.com/ionelmc/pytest-benchmark/pull/253
(and updated further in later commits)
-- System Information:
Debian Release: trixie/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.11.2-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8),
LANGUAGE=en_AU:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages python3-pytest-benchmark depends on:
ii python3 3.12.6-1
ii python3-cpuinfo 9.0.0+git20221119-2
ii python3-pytest 8.3.3-1
Versions of packages python3-pytest-benchmark recommends:
ii python3-elasticsearch 7.17.6-1
ii python3-freezegun 1.5.1-1.1
ii python3-pygal 3.0.0-1
python3-pytest-benchmark suggests no packages.
-- no debconf information