Skip to content

Commit

Permalink
Core: fix deprecation warning for utcnow() in setup.py (#4170)
Browse files Browse the repository at this point in the history
  • Loading branch information
Berserker66 authored Nov 29, 2024
1 parent faeb542 commit b972e8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.timezone.utc)
super().run()

# manually copy built modules to lib folder. cx_Freeze does not know they exist.
Expand Down

0 comments on commit b972e8c

Please sign in to comment.