meta-virtualization/recipes-extended
Stanley Stanton 1640a4dc81 xen.inc: python 3.12: fix datetime deprecation warning
Parsing xen.inc with a host distro that provides python 3.12 (such as Ubuntu
24.04) generates the following deprecation warning:

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)

This warning comes from the use of datetime.datetime.utcfromtimestamp()
in get_build_time_vars.

datetime.UTC seems to be a getter wrapper for datetime.timezone.utc,
which is already available on older host distro python versions
(I have tested only with python 3.10 provided by Ubuntu 22.04)
so, opt to use that instead to prevent a breaking change.

Signed-off-by: Stanley Stanton <stanley.stanton@taitcommunications.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-11-21 04:28:56 +00:00
..
ceph ceph: fix gcc14 and 19.0.0 packaging issues 2024-07-22 22:14:24 +00:00
cloud-init cloud-init: update to 24.1.1 2024-03-15 17:17:20 +00:00
dev86 dev86: ignore various issues fatal with gcc-14 2024-05-29 13:23:41 +00:00
diod diod: convert WORKDIR references to UNPACKDIR 2024-05-29 13:23:51 +00:00
fuse-overlayfs fuse-overlayfs: Update to v1.9 2022-07-15 17:13:35 -04:00
images xen-image-minimal: allow non-zero return codes 2024-11-15 19:50:00 +00:00
iptables iptables: add kernel-module-xt-nat to RRECOMMENDS 2023-09-15 17:30:40 +00:00
ipxe recipes/classes/scripts: Drop SRCPV usage 2023-08-24 01:38:21 +00:00
irqbalance recipes/classes/scripts: Drop SRCPV usage 2023-08-24 01:38:21 +00:00
kvmtool kvmtool: update -tip 2024-03-15 17:17:20 +00:00
libibverbs global: update licence values to SPDX values 2022-02-18 13:07:10 -05:00
libvirt libvirt: correct direction creation for sysusers.d 2024-10-02 13:32:54 +00:00
libvmi libvmi: update -tip 2024-03-15 17:17:20 +00:00
nagios k3s, kubernetes, nagios-nrpe: fix Upstream-Status formatting 2023-05-08 18:41:38 -04:00
oath treewide: bulk update patches with status field 2023-01-27 10:32:06 -05:00
rootlesskit rootlesskit: introduce linux-native fakeroo using user namespaces 2024-06-04 17:44:50 +00:00
seabios treewide: bulk update patches with status field 2023-01-27 10:32:06 -05:00
upx upx: update to -tip and return to indivdual fetches 2024-11-01 23:59:13 -04:00
uxen uxen: convert WORKDIR references to UNPACKDIR 2024-05-29 13:23:51 +00:00
vgabios treewide: bulk update patches with status field 2023-01-27 10:32:06 -05:00
vhost-device vhost-device-gpio: only enable if meta-clang exists 2023-08-24 01:37:32 +00:00
virt-manager virt-manager: update RDEPENDS for virt-manager-install 2024-09-03 02:09:16 +00:00
virt-viewer recipes/classes/scripts: Drop SRCPV usage 2023-08-24 01:38:21 +00:00
virt-what virt-what: add new recipe 2022-04-07 17:48:39 -04:00
virtiofsd virtiofsd: add seccomp to REQUIRED_DISTRO_FEATURES 2023-09-04 03:05:40 +00:00
xen xen.inc: python 3.12: fix datetime deprecation warning 2024-11-21 04:28:56 +00:00
xvisor recipes/classes/scripts: Drop SRCPV usage 2023-08-24 01:38:21 +00:00