From 9125838501f8ee22b1fca399965666d6fc65ae4e Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Mon, 11 Nov 2024 11:50:14 +0100 Subject: [PATCH] Core: fix deprecation warning in for utcnow() --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index afbe17726df4..501341ef8387 100644 --- a/setup.py +++ b/setup.py @@ -321,7 +321,7 @@ def run(self) -> None: f"{ex}\nPlease close all AP instances and delete manually.") # regular cx build - self.buildtime = datetime.datetime.utcnow() + self.buildtime = datetime.datetime.now(datetime.UTC) super().run() # manually copy built modules to lib folder. cx_Freeze does not know they exist.