Hi, here is MR to fix this issue: https://salsa.debian.org/debian/python-pygitlab/-/merge_requests/2
and corresponding MR is already merged upstream: https://github.com/python-gitlab/python-gitlab/pull/2322 This change is included in the next version 3.11. Please consider upgrading to the next upstream version or at least backporting this change. -- Best regards, Andrey Skvortsov