Remotely triggering a celery task (i.e. get_auth_attempts_at_port) that fetches a datetime-Type from the postgres database implicitly introduces a dependency on psycopg2, because a custom tzinfo type has to be serialized and unserialized. Even if it is installed, it may not be a vastly different version. This cannot be the case, especially if the client depends on psycopg2 itself.
Remotely triggering a celery task (i.e.
get_auth_attempts_at_port
) that fetches adatetime
-Type from the postgres database implicitly introduces a dependency onpsycopg2
, because a customtzinfo
type has to be serialized and unserialized. Even if it is installed, it may not be a vastly different version. This cannot be the case, especially if the client depends on psycopg2 itself.