Files
freeipa/ipapython
Alexander Bokovoy 305912e467 Use datetime.timezone.utc instead of newer datetime.UTC alias
datetime.UTC alias was added in Python 3.11:
https://docs.python.org/3/library/datetime.html#datetime.UTC

datetime.timezone.utc was present since Python 3.2.

Since RHEL 9 is using Python 3.9, use more compatible variant.

Fixes: https://pagure.io/freeipa/issue/9454

Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Rafael Guterres Jeffman <rjeffman@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
2023-10-02 17:39:50 -04:00
..
2022-03-11 13:37:08 -05:00
2022-10-06 10:22:26 +02:00
2019-09-27 09:38:32 +02:00
2023-03-02 10:06:04 -05:00
2022-03-11 13:37:08 -05:00
2015-09-30 10:51:36 +02:00
2020-10-26 17:11:19 +11:00
2018-09-27 11:49:04 +02:00
2016-10-20 18:43:37 +02:00
2022-03-11 13:37:08 -05:00

This is a set of libraries common to IPA clients and servers though mostly
geared currently towards command-line tools.

A brief overview:

config.py - identify the IPA server domain and realm. It uses python-dns to
            try to detect this information first and will fall back to
            /etc/ipa/default.conf if that fails.

ipautil.py - helper functions

entity.py - entity is the main data type. User and Group extend this class
            (but don't add anything currently).

ipavalidate.py - basic data validation routines