Files
freeipa/ipatests/test_ipalib
Alexander Bokovoy 09497d2df0 python 3.12: utcnow function is deprecated
The following warning is displayed on a system running with Python 3.12:
-------------------
/usr/lib/python3.12/site-packages/ipalib/rpc.py:925: DeprecationWarning:
datetime.utcnow() is deprecated and scheduled for removal in a future
version. Use timezone-aware objects to represent datetimes in UTC:
datetime.now(datetime.UTC).

  timestamp=datetime.datetime.utcnow())
-------------------

Fixes: https://pagure.io/freeipa/issue/9425
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
2023-08-09 18:31:03 +02:00
..
2013-06-17 19:22:50 +02:00
2018-06-20 08:38:03 +02:00
2022-03-11 13:37:08 -05:00
2016-09-27 13:35:58 +02:00
2022-03-11 13:37:08 -05:00
2020-04-28 15:33:57 +02:00