kumquat-buildroot/support
Yann E. MORIN 4983f9e73e support/scripts/pkg-stats: fix running on older python versions
Commit f71d9f49e5 (support/scripts/pkg-stats: fix datetime deprecation
warning) forgot to consider that the datetime.UTC suggested by python
3.12, was only introduced with python 3.11.

However, we are still generating the daily report on a python 3.8
version, which fails at runtime:
    AttributeError: module 'datetime' has no attribute 'UTC'

It turns out that datetime.UTC is just an alias for datetime.timezone.utc,
which seems to have existed since before python3...

Use datetime.timezone.utc instead of its alias.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-02-29 17:04:29 +01:00
..
config-fragments
dependencies support/dependencies/dependencies.sh: libopenssl needs perl Math::BigInt on s390 2024-01-10 21:22:57 +01:00
docker
download Revert "support/download: generate even more reproducible tarballs" 2024-01-11 12:00:25 +01:00
gnuconfig
kconfig
legal-info
libtool
misc package/meson: bump version to 1.3.1 2024-02-07 16:19:35 +01:00
scripts support/scripts/pkg-stats: fix running on older python versions 2024-02-29 17:04:29 +01:00
testing support/testing: add sox runtime test 2024-02-25 08:44:22 +01:00